Cancel
Showing results for 
Search instead for 
Did you mean: 

API REQUEST: Create groups to help to classify geometry

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

Hello!,
A nice feature to have in FEMAP in models with thousands of solids imported from CAD is to have an API to classify geometry in groups, this way I can change colors, help to local visualization, etc. . A classification of the types of  geometry I see after importing STEP or PARASOLID files could be the following:

  • 1-D curves.
  • 2-D surfaces (sheet solid).
  • 2-D NonManifolds.
  • 3-D Solids.

geometry-classifications.png

Thanks!.
Best regards,
Blas.

Blas Molero Hidalgo, Ingeniero Industrial, Director
IBERISA • 48004 BILBAO (SPAIN)
WEB: http://www.iberisa.com
Blog Femap-NX Nastran: http://iberisa.wordpress.com/
3 REPLIES

Re: API REQUEST: Create groups to help to classify geometry

Siemens Phenom Siemens Phenom
Siemens Phenom

You can already do this from the User Interface during selection or from the API. When selecting solids, simply change the method to "Type" and you have the 4 options you are requesting. From the API, the Set object can use the rule FGD_SOLID_BYTYPE which takes the same 4 options, or the Solid object has IsWire(), IsSheet(), IsSolid and IsGeneral() which can also be used to classify solids.

Re: API REQUEST: Create groups to help to classify geometry

Solution Partner Phenom Solution Partner Phenom
Solution Partner Phenom

Dear George,

Thanks for commenting!!. In this line, a good improvement for commands under RENUMBER menu is the option to automatically renumber entities by type: for instance, in the case RENUMBER > SOLIDS to start renumbering first by 2-D and finally 3-D. Or in the case of RENUMBER > PROPERTIES to start with 0-D, then1-D, then 2-D and finally 3-D types.

Best regards,
Blas.

Blas Molero Hidalgo, Ingeniero Industrial, Director
IBERISA • 48004 BILBAO (SPAIN)
WEB: http://www.iberisa.com
Blog Femap-NX Nastran: http://iberisa.wordpress.com/

Re: API REQUEST: Create groups to help to classify geometry

Siemens Phenom Siemens Phenom
Siemens Phenom

While renumbering solids by type isn't directly available, renumbering properties in type order is. It doesn't strictly do it in 0D,1D,2D,3D order, it certainly does do it by type.