GiD_Info list_entities

  • GiD_Info list_entities ?-no_model? Status|PreStatus|PostStatus

If -no_model flag is specified then entities are stored in a special container, it doesn't belong to the model

This command returns a list with general information about the current GiD project.

PreStatus ask for the information of preprocess

PostStatus ask for the information of postprocess

Status return the infomation of pre or postprocess depending of where are now, in pre or post mode.

Example:

in: GiD_Info list_entities PreStatus

out:

Project name: UNNAMED

Problem type: UNKNOWN

Changes to save(0/1): 1

Necessary to mesh again (0/1): 1

Using LAYER: NONE

Interval 1 of 1 intervals

Degree of elements is: Normal

Using now mode(geometry/mesh): geometry

number of points: 6

number of points with 2 higher entities: 6

number of points with 0 conditions: 6

number of lines: 6

number of lines with 1 higher entities: 6

number of lines with 0 conditions: 6

number of surfaces: 1

number of surfaces with 0 higher entities: 1

number of surfaces with 0 conditions: 1

number of volumes: 0

number of nodes: 8

number of nodes with 0 conditions: 8

number of Triangle elements: 6

number of elements with 0 conditions: 6

Total number of elements: 6

Last size used for meshing: 10

Internal information:

Total MeshingData:0 Active: 0 0%

  • GiD_Info list_entities

This command returns information about entities.

It has the following arguments:

  • Points / Lines / Surfaces / Volumes / Dimensions / Nodes / Elements / Results: Type of entity or Results. Note: If the user is postprocessing in GiD, the information returned by Nodes/Elements concerns the nodes and elements in postprocess, including its results information. To access preprocess information about the preprocess mesh, the following entity keywords should be used: PreNodes/PreElements.
  • entity_id: The number of an entity. It is also possible to enter a list of entities (e.g.: 2 3 6 45), a range of entities (e.g.: entities from 3 to 45, would be 3:45) or a layer (e.g.: layer:layer_name).

Using "list_entities Results" you must also specify <analysis_name> <step> <result_name> <indexes>With the option -more, more information is returned about the entity. The -more option used with lines returns the length of the line, its radius (arcs), and the list of surfaces which are higher entities of that line; used with elements it returns the type of element, its number of nodes and its volume.

Example 1:

in: GiD_Info list_entities Points 2 1

out:

POINT

Num: 2 HigherEntity: 1 conditions: 0 material: 0

LAYER: car_lines

Coord: -11.767595 -2.403779 0.000000

END POINT

POINT

Num: 1 HigherEntity: 1 conditions: 0 material: 0

LAYER: car_lines

Coord: -13.514935 2.563781 0.000000

END POINT

Example 2:

in: GiD_Info list_entities lines layer:car_lines

out:

STLINE

Num: 1 HigherEntity: 0 conditions: 0 material: 0

LAYER: car_lines

Points: 1 2

END STLINE

STLINE

Num: 13 HigherEntity: 0 conditions: 0 material: 0

LAYER: car_lines

Points: 13 14

END STLINE

Example 3 (using -more):

in: GiD_Info list_entities -more Lines 2

out:

STLINE

Num: 2 HigherEntity: 2 conditions: 0 material: 0

LAYER: Layer0

Points: 2 3

END STLINE

LINE (more)

Length=3.1848 Radius=100000

Higher entities surfaces: 1 3

END LINE