reference objects inside nested groups
Posted: Mon Dec 06, 2010 8:15 pm
I'm sure there is a simple solution, but I can't seem to find it.
I have created a group of objects within another group. Group "xGrid" is inside group "plotGroup". How can I reference the objects inside "xGrid"? The following command gives the error (set: missing 'to'), but clearly I have a 'to' in there. Do I need to add parentheses somewhere? Any suggestions would be appreciated.
set the rectangle of graphic "xGrid"&i of grp "xGrid" of grp "plotGroup" to round(x2+x1)/2 , y1 , round(x2+x1)/2 , y2
I have created a group of objects within another group. Group "xGrid" is inside group "plotGroup". How can I reference the objects inside "xGrid"? The following command gives the error (set: missing 'to'), but clearly I have a 'to' in there. Do I need to add parentheses somewhere? Any suggestions would be appreciated.
set the rectangle of graphic "xGrid"&i of grp "xGrid" of grp "plotGroup" to round(x2+x1)/2 , y1 , round(x2+x1)/2 , y2