Question
geometricsBounds of all selections
I just wonder if there is a possibility get geometricBounds of all selection without using "app.executeMenuCommand("group")" ?
For example i have two separate rectangle and i want get geometricsBounds as if they were a group.
Now i use this method:
app.executeMenuCommand("group");
var groupBound = doc.selection[0].geometricBounds;
app.executeMenuCommand("ungroup");
Can it be done better than through executeMenuCommand?