element_attribute_exists
Checks if an attribute on a database element exists. If the element is of type IFunction_call then by default arguments are retrieved rather than an attribute. Note that it is not possible to get argument references using this command.
arguments
- "attribute_name" : String
The name of the attribute to check for existence.
- "element_name" : String
The name of the database element to get the attribute from.
- "force_attribute" : Boolean (default: false)
If element is of type IMdl_material_instance or IMdl_function_call then get the actual attribute rather than an argument.
return value
BooleanA flag indicating if the attribute exists or not.