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

Retreives the predefined list values for an attribute.

Please refer to the instructions in the Folder of list values function in the Attributes window menue.

pytha.get_attribute_list_values(attribute) 
Parameter Type Description
attribute attribute_ID The Attribute ID

Return values

Type Description
{string1,string2...} A table containing the list values of the attributes.

Remarks:

The list values can contain comments separated by a semicolon ;. These comments are not part of the attribute suggestions, e.g. Attribute Value 1; this is a comment should be trimmed to Attribute Value 1 prior to assignment to an element.

See also:

pytha, Attribute ID, Attribute ID, Element handles, set_element_attribute, get_element_attribute