Assign all objects an ID
It's seems a small feature but actually can make huge impact.
And it's easy (relatively to other requests) for Adobe XD team to implement.
Basically, for me, I need to be able to give id for every objects in order for my plugin to automate an export. Many things can be done if we can give id for our objects.
I give you an example. If I can give an id for a rectangle which is place at the top of the artboard (position as header), let say i give id="ion-header", this information is useful for my plugin to automate the rectangle into ion-header component of Ionic Framework.
I do believe others also want this small feature.
As we haven’t seen a response to our question in three months, I’m marking it as inactive. Please do feel free to file it again if you still want this feature!
Thanks,
-Elaine
-
Ari Fuchs commented
Hi Lyas, take a look at the pluginData property on sceneNodes. You can add any metadata you like to individual nodes in the document.
https://adobexdplatform.com/plugin-docs/reference/scenegraph.html#scenenodeplugindata--
Let me know if this addresses the problem you're trying to solve
-
Iyas commented
Not only objects, even groups also should be given id.
-
Iyas commented
If the id need be unique, we can use like id="ion-list1" and id="ion-list2" and the plugin will take care from there.