GiD_AssignData material|condition <name> <over> ?<values>? <entities>

To assign materials or conditions over entities:

  • <name> is the name of the material or condition;
  • <over> must be: points, lines, surfaces, volumes, layers, groups, nodes, elements, body_elements, or face_elements (elements is equivalent to body_elements). Layers and groups is valid for conditions defined over them, but not for materials.
  • <newvalues> is only required for conditions. If it is set to "" then the default values are used;
  • <entities> a list of entities (it is valid to use ranges as a:b ,can use "all" to select everything, "end" to specify the last entity, layer:<layername> to select the entities in this layer) ; if <over> is face_elements then you must specify a list of "entitynumface" instead just "entity".

Example:

GiD_AssignData material Steel Surfaces {2:end}

GiD_AssignData condition Point-Load Nodes {3.5 2.1 8.0} all

GiD_AssignData condition Face-Load face_elements {3.5 2.1 8.0} {15 1 18 1 20 2}