Script command for "select all"?
Dear modelers,
Is there a script command in order to select all entities of a given family? e.g., select all points, select all lines, select all surfaces, etc. Example : I would like to select all visible curves in order to create a new part containing all the curves. I sweep tons of 2D sufaces in order to create my 3D geometry, therefore I lose track of the vertex names, curves names, surfaces names, etc. After my geometry is done, I want to clean my model and automatically create separate parts containing all vertex, all curves, all surfaces, etc. Regards, François |
Hi Françoi,
Try the following: ic_geo_set_family curve partname all You can change "curve" to "surface" if you want to put all the surfaces in a part. Also replace "partname" with the name of the part you want to move things to. Good Luck Stu |
Thanks Stuart, in Icem CFD 14.0 the following commands create 3 separate parts with points, curves and surfaces:
ic_geo_set_family point POINTS all rename ic_geo_set_family curve CURVES all rename ic_geo_set_family surface SURFACES all rename Regards François |
François, you are correct. I had forgotten to add "rename" to the end
|
Select all
Hello all,
In the similar way explained, can you please tell me how can I "select all" to scale them by 5 times for example? |
Hi Sunil,
a function to select all entites of a defined type is: Code:
ic_geo_get_objects entitytype with regards, Sebastian |
All times are GMT -4. The time now is 23:24. |