@unknownuser said:
hmm im somewhat confuses here-why did the face appear to have been shifted to the origin of g1 - instead of preserving it's original position?
I think that there is a problem somehow with the transformation of the objects. Following my instructions in the other post:
http://forums.sketchucation.com/viewtopic.php?f=180&t=31443&p=276973&hilit=kwalkerman#p276860
the end result is that in the outliner, a group is added to Sketchup.active_model.entities. The transformation of the group is equal to the transformation of the original face in it's original group.
Then, when you open the original group for editing, the face appears in its original location.
So, there are two major problems:
when passing entities into entities.add_group, entities MUST equal model.active_entities
the entities passed in retain their original transformation, relative to the previous entities collection, with some strange behavior.
--
Karen