Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

<filter_flags> could be: ?-unrendered? ?-higherentity <num_higher>? ?-material <id_material>? ?-layer <layer_name>? ?-plane {a b c d r}?
-unrendered flag is only valid for surface
-higherentity <num_higher> to filter the selection and list only the entities with the amount of parents equal to <num_higher> (integer >=0)
-material <id_material>to filter the selection and list only the entities with material id equal to <id_material> (integer >=0)
-plane <a b c d r> to list only the entities wigth center that match the plane equation a*x+b*y+c*z+d<=r
-entity_type <types_allowed> to list only the entities of a type contained in <types_allowed>, that must be a list of allowed types ("STLINE | ARCLINE |POLYLINE | NURBLINE | NURBSURFACE PLSURFACE COONSURFACE MESHSURFACE CONTACTSURFACE VOLUME CONTACTVOLUME")
<args>: <num>|<num_min>:<num_max>
<num_max> could be 'end' to mean the last index
if <args> is not provided it is considered as 1:end, and then all ids are returned
Examples:

Creation of a new NURBS surface:

Code Block
GiD_Geometry create surface 1 nurbssurface Layer0 0 {1 4 3 2} {1 1 1 1} \
{1 1 2 2 {0.17799 6.860841 0.0 -8.43042200 6.86084199 0.0 0.17799400 0.938510 0.0 -8.43042 0.938510 0.0} \
 {} {0.0 0.0 1.0 1.0} {0.0 0.0 1.0 1.0}}


Get the list of points of the layer named 'Layer0':

Code Block
GiD_Geometry list -layer Layer0 point


Get the list of surfaces that not belong to any volume:

Code Block
GiD_Geometry list -higherentity 0 surface


Get the list of problematic surfaces that couldn't be rendered:

Code Block
GiD_Geometry list -unrendered surface


Get the list of lines of type nurbline or arcline

Code Block
GiD_Geometry list -entity_type {nurbline arcline} line