Versions Compared

Key

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

...

To create a new layer. <layer> must be the full name (e.g. if a layer B has as parent A then must use as fullname full name A//B)

  • GiD_Layers delete <layer>

...

to_use: in this case <value> must not be providenprovided, and <layer> is the one to be set as current 'layer to use' (where new entities will be created)

  • GiD_Layers get color|opaque|visible|frozen|parent|state|num_entities|num_conditions|id|back|to_use|all_properties|bounding_box <layer> geometry|mesh

To obtain the current value of some property:

...

to_use: in this case <layer> must not be providenprovided, it is returned the current 'layer to use' (where new entities will be created)

all_properties: return a list of property value with the properties of the layer

bounding_box: in this case it is required an extra word geometry|mesh and will return the bounding box "min_x min_y min_z max_x max_y max_z" of the entities of this category belonging to the layer

  • GiD_Layers list ?<parent>? ?descendants?

To get the list of fullnames full names of the current layers.
If a parent is specified, then only relative names of child layers will be listed. Root parent could be specified with an empty string ""
If desdendants descendants is specified return a list of all descendants (childs, childs of childs, ...)

...