On Jan 9, 2008 1:49 PM, Kurt Hutchinson wrote:
Also note that this fixed bug: https://bugs.launchpad.net/inkscape/+bug/174701
added a new command line switch to get all four important aspects of an object at once (x, y, width, height), instead of having to query each one separately. By rewriting to use that switch, it should make the script about 4 times as fast. Unfortunately, I don't have a development version to test how to make it work correctly, so I don't have any rewriting tips.
"This patch adds the command line switch --query-all which dumps id,x,y,w,h for all objects with an Id."
I'm thinking this will return a list of every ID's item in the svg file, so I would have to parse out the x,y,height and width of the objects in the selected group from the list of all objects.
-Rob A>