CFD Online Logo CFD Online URL
www.cfd-online.com
[Sponsors]
Home > Forums > ANSYS Meshing & Geometry

[ICEM] Script command for "select all"?

Register Blogs Members List Search Today's Posts Mark Forums Read

Reply
 
LinkBack Thread Tools Display Modes
Old   August 30, 2012, 13:56
Default Script command for "select all"?
  #1
Senior Member
 
François Grégoire
Join Date: Jan 2010
Location: Laval University, Canada
Posts: 312
Rep Power: 7
macfly is on a distinguished road
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.
macfly is offline   Reply With Quote

Old   September 2, 2012, 11:37
Default
  #2
Senior Member
 
Stuart Buckingham
Join Date: May 2010
Location: Melbourne, Australia
Posts: 253
Rep Power: 15
stuart23 will become famous soon enough
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
__________________
http://bc247.eng.monash.edu.au
stuart23 is offline   Reply With Quote

Old   September 2, 2012, 20:29
Default
  #3
Senior Member
 
François Grégoire
Join Date: Jan 2010
Location: Laval University, Canada
Posts: 312
Rep Power: 7
macfly is on a distinguished road
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
macfly is offline   Reply With Quote

Old   September 2, 2012, 20:56
Default
  #4
Senior Member
 
Stuart Buckingham
Join Date: May 2010
Location: Melbourne, Australia
Posts: 253
Rep Power: 15
stuart23 will become famous soon enough
François, you are correct. I had forgotten to add "rename" to the end
__________________
http://bc247.eng.monash.edu.au
stuart23 is offline   Reply With Quote

Reply

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
CentFOAM Python Script Installation: Error socon009 OpenFOAM Installation 2 May 26, 2012 09:36
[ICEM] Script: problems with face names Maweil ANSYS Meshing & Geometry 2 October 25, 2011 21:32
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


All times are GMT -4. The time now is 19:36.