how to get shape ID when exporting vdx to svg

A

amirbar1

When exporting .vdx to svg, all shapes and groups ID's are in the
format ID="shapeXX-YY".
The XX part is OK but how do I get the YY value? - I can't find it.
Thanks
Amir.
 
V

visiSteve

When exporting .vdx to svg, all shapes and groups ID's are in the
format ID="shapeXX-YY".
The XX part is OK but how do I get the YY value? - I can't find it.
Thanks
Amir.

I did some testing on this, and the YY value appears to be an internal
counter based on how many drawing elements are created for the given
shape. For example, if you define line ends for a 1D shape it will
add marker nodes to hold the line ends, and the YY value of the marker
nodes will be in sequence with the shape nodes. Depending on your
application you can probably just strip off the YY value and ignore it
since the XX value correlates with the shape ID value in the VDX file.

Would be nice to hear from some MS folks on this to see if there's
more significance to this YY value that we should be aware of.
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top