/
get_attribute

GiD - The personal pre and post processor

get_attribute

<handle> get_attribute ?-type string? ?-default <def_value>? <obj_name> ?<att_name>?


Returns the values of one attribute. If att_name is not given, it returns a dictionary of all name value attributes that the object contains.


if option -default is given, when attribute does not exist, the default_value is returned. Otherwise, an error is returned
-type is by default set to string

Related content

Element type 
Element type 
More like this
News
News
More like this
List entities
List entities
More like this
type
More like this
AccessValue
More like this
Definitions
More like this

COPYRIGHT © 2022 · GID · CIMNE