sketchplugins / plugin-requests

A collection of plugins requested to our Twitter account
https://twitter.com/sketch
MIT License
211 stars 64 forks source link

do_objectID / layer.id not unique #26

Closed adontz closed 5 years ago

adontz commented 5 years ago

Hello,

I'm writing a plug-in for my coworker designer and I have faced very strange problem. While do_objectID (as parsed from file) or layer.id (as read by plugin or script) look like UUID, they repeat. Not only between files, but also within file. Can you clarify if this is a bug and what are minimum uniqueness guarantee for layer.id? Global (obviously broken), within document (obviously broken), within artboard, within parent layer?

bomberstudios commented 5 years ago

Hi @adontz, could you please send an email with a sample file to developer@sketch.com so we can take a look? Thanks!

adontz commented 5 years ago

@bomberstudios Can you kindly answer my original question?