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

Gets the history information from an element. The history information must have been set with set_element_history.

pytha.get_element_history(element) 
element:get_element_history() 
Parameter Type Description
element element_handle or {...} A single element handle or a table of element handles

Return values

The function returns two values:

Type Description
{...} Table containing the history information
string id supplied to get_element_history or nil if the id is empty

See also:

pytha, set_element_history, Edit Extensions, element handles, set_element_attributes, set_element_name, set_element_material, set_element_layer