In previous CorelDraw user life, I had part of a 'workflow' where I needed to gather information on the height, width, and position of objects from a scaled diagram (think e.g., a technical drawing or log).
I used to do this in CorelDraw by simply exporting as a SVG, setting the units to millimetres and precision as 1:1:
Fig 1: Example screenshot from CorelDraw export for SVG from a while ago...
Then I could take the XML of the SVG, chuck it through a python script to sort out all the other guff in there and up with a nice list of item/shape name, x, y, width, height relative the position that 0,0 mm is set on the document ruler.
As of yet, I can't find a way to replicate this in Illustrator. The SVG export remains always as px and so runs into problems between the DPI scaling (and more etc)
Am I missing somethignin Illustrator to be able to do this? A very simplified example below of example input, and desired ultimate output (doesnt matter if there's a messy output in between, just needs to be tangible/real world dimension numbers!). Of course scaling by DPI value is possible, but is going to change from user to user as far as I understand, and is an extra step and oppurtunity for error.
Fig 2: E.g., some shapes with name
Example ultimate output in DOCUMENT UNITS (millimetres):
Name X Y Height Width
A1 23 00 15 4
S02 23 15 5 4
... etc etc
Also see this post...