pytha.get_element_attribute - pytha-3d-cad/pytha-lua-api GitHub Wiki

Retreives an attribute of an element.

Similar to the Attributes -> Attribute Dialog function in the PYTHA user interface.

pytha.get_element_attribute(element, attribute) 
element:get_element_attribute(attribute) 
Parameter Type Description
element element_handle or {...} A single element handle or a table of element handles
attribute attribute_ID The Attribute ID

Return values

Type Description
string The value of the attribute of element

See also:

pytha, Attribute ID, Element handles, set_element_attributes