|
[Sponsors] |
August 30, 2012, 13:56 |
Script command for "select all"?
|
#1 |
Senior Member
François Grégoire
Join Date: Jan 2010
Location: Canada
Posts: 392
Rep Power: 17 |
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 Last edited by macfly; August 31, 2012 at 17:17. |
|
September 2, 2012, 11:37 |
|
#2 |
Senior Member
Stuart Buckingham
Join Date: May 2010
Location: United Kingdom
Posts: 267
Rep Power: 25 |
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 |
|
September 2, 2012, 20:29 |
|
#3 |
Senior Member
François Grégoire
Join Date: Jan 2010
Location: Canada
Posts: 392
Rep Power: 17 |
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 |
|
September 2, 2012, 20:56 |
|
#4 |
Senior Member
Stuart Buckingham
Join Date: May 2010
Location: United Kingdom
Posts: 267
Rep Power: 25 |
François, you are correct. I had forgotten to add "rename" to the end
|
|
August 1, 2017, 07:41 |
Select all
|
#5 |
New Member
Sunil
Join Date: Aug 2016
Posts: 7
Rep Power: 9 |
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? |
|
August 1, 2017, 08:06 |
|
#6 |
Senior Member
Sebastian Engel
Join Date: Jun 2011
Location: Germany
Posts: 566
Rep Power: 20 |
Hi Sunil,
a function to select all entites of a defined type is: Code:
ic_geo_get_objects entitytype with regards, Sebastian |
|
|
|
Similar Threads | ||||
Thread | Thread Starter | Forum | Replies | Last Post |
[ICEM] Script: problems with face names | Maweil | ANSYS Meshing & Geometry | 3 | April 16, 2019 09:10 |
CentFOAM Python Script Installation: Error | socon009 | OpenFOAM Installation | 2 | May 26, 2012 09:36 |
how I can write the file script to submite via HPC cluster at my UNI | happy | CFX | 2 | October 17, 2011 02:18 |
CFX mesh script error | Malik77 | CFX | 0 | June 24, 2011 07:42 |
Perl script for intialisation | pratik mehta | CFX | 2 | September 10, 2008 03:09 |