GiD_Mesh create|delete|edit|get|list
...
edit: to modify a node or element
GiD_Mesh edit node <num> <x y z>
GiD_Mesh edit element <num> <elemtype> <nnode> <N1 ... Nnnode> <radius> <nx> <ny> <nz> ?<matname>?
Same syntax as create
or
GiD_Mesh edit node|element <num> material|label_on|selected <value>
<num> the entity id
<material> to set the material number (value>=0)
<label_on> to set the label flat (value 0 or 1)
<selected> to set the selection flag (value 0 or 1)
get: to get the information of a node or element
GiD_Mesh get node <num> ?coordinates|material|label_on|selected?
It return the list: <node_layer> <x> <y> <z>
with the extra word
...
GiD_Mesh get element <num>|from_face|from_edge ?face|face_linear|num_faces|edge_linear|num_edges|normal|tangent|center|connectivities|geometry_source|material|label_on|selected
?<face_id>|<edge_id>??
- <num> is the identifier (integer > 0) for the element to be asked
- face optional, instead of the element nodes it returns the nodes of the face, first the linear corner nodes and then the quadratic nodes
- face_linear optional, instead of the element nodes it returns only the linear corner nodes, also is the element is quadratic
- num_faces returns the amount of faces of the element (for surface elements its edges act as faces)
- <face_id> is the local face index from 1 to the number of faces of the element. If <face_id> is missing then a list with all faces is returned
- edge_linear optional, instead of the element nodes it returns only the linear edge nodes, also is the element is quadratic
- num_edges returns the amount of edges of the element
- <edge_id> is the local edge index from 1 to the number of edges of the element. If <edge_id> is missing then a list with all edges is returned
- normal return a 3D vector with the normal direction for surface elements (and for line elements in 2D the normal to the tangent)
- tangent return a 3D vector with the tangent direction for line elements
- center return a 3D vector with the element center
- connectivities return a list of integers with the element's nodes
- geometry_source return a list where the first item is the category: POINT_LT|LINE_LT|SURFACE_LT|VOLUME_LT and then the integer ids of the geometric entity source of the mesh element (usually one entity, but could be more than one meshing with Rjump)
material: the material integer id is returned
label_on: 0 or 1 is returned (label flag)
selected: 0 or 1 is returned (selection flag)
...