I have scripts that work correctly creating objects for instance when I am working in Edit in Place, but when I EIP groups the shapes/vias are placed at the outside the group.
What is there a command to test for EIP a group?
How do I find the path to add the objects the group?
I assume you are looking at figGroups and not logical groups as only figGroups use EIP.
The data in a figGroup is flat, in the current design hierarchy. You can programatically access each shape individually through its database ID. You can get the figures in the figGroup by getting the group ID (dbGetFigGroupByName) and accessing the figures:
figGroupId = dbGetFigGroupByName(ccv() "figGroupName")
foreach( fig figGroupId~>figs ...)
In reply to theopaone:
See this post - it tells you all the relevant magic.