Thank you so much ,Kapi !
I will think about it. :) Quote:
|
Thanks Elketonis
I didn't know about it. I will try for this.:) Quote:
|
Thanks for the reply Kapi!
So, when I import a geometry file and UpdateFromCAD, I have one part with three bodies. What I need is three bodies as separate parts. I can import the three files separately (but I am not sure how to do this) or I can import the geometry file and then form a new part from each body, so that I end up with three parts and three bodies. Do you know how to select body 1 and form a new part and select body 2 and form a new part in JScript? That should give me what I'm after. Quote:
|
you may try this code for exploding part after Regen.
All i could find was this code! Code:
agTreeExplodePart(); |
Selecting the part before exploding
Kapi,
When I try to run a script in DesignModeler with the command Code:
agTreeExplodePart(); If I have the following geometry structure: Part1 _Body1 _Body2 _Body3 How do I select the part that is to be exploded? I tried the select all bodies code Code:
ag.gui.PickFilter(5, true); Also, I cannot use the following code Code:
geometry1.SendCommand(Command="""ag.m.NewSession (1); |
give object as Part1
may be try this then! Code:
agTreeExplodePart(Part1); |
Quote:
|
All times are GMT -4. The time now is 08:10. |