Open onlinelaser opened 4 years ago
Since AI 24.0 a UUID property has been added to the PageItem object, and a related getPageItemFromUuid() method has been added to the document object.
Document.getPageItemFromUuid (uuid: string) : PageItem -- | Adobe Illustrator 24 Type Library | Retrieves the pageitem using Uuid. | uuid: Data Type: string | Uuid of pageitem.
PageItem.uuid (Read Only) -- | Data Type: string | Adobe Illustrator 24 Type Library | The item's unique identifier.
I've tested this in AU 24.1.3 and works as described, see https://community.adobe.com/t5/illustrator/what-s-new-in-illustrator-scripting-cc2020/td-p/10772375?page=1
Open a PR!
Since AI 24.0 a UUID property has been added to the PageItem object, and a related getPageItemFromUuid() method has been added to the document object.
I've tested this in AU 24.1.3 and works as described, see https://community.adobe.com/t5/illustrator/what-s-new-in-illustrator-scripting-cc2020/td-p/10772375?page=1