DQuick
Aerospace
- Dec 8, 2010
- 8
Is it possible, using a journal, to search for a group by name, ie group_a, group_b, group_c..., then move that group as well as its contents to a given layer?
I have tried recording a journal to do this, but it finds the group and objects all individually using a journal identifier, not by name. From the recored journal placing the objects into an array then moving them should be fairly straight forward, workPart.Layers.MoveDisplayableObjects(destination_layer, objectArray1), but how whould one go about finding the group and its contents?
UG NX 6.0.4.3
I have tried recording a journal to do this, but it finds the group and objects all individually using a journal identifier, not by name. From the recored journal placing the objects into an array then moving them should be fairly straight forward, workPart.Layers.MoveDisplayableObjects(destination_layer, objectArray1), but how whould one go about finding the group and its contents?
UG NX 6.0.4.3