Skip to main content
Version: Next

LookUpTableColumn

class compolyx.LookUpTableColumn(name, parent)

An object to hold a column in a table.

Attributes

NameDescription
LookUpTableColumn.dimension
LookUpTableColumn.enabledWhether this object is currently enabled
LookUpTableColumn.is_dict_itemSpecifies whether the object is an item of a dict
LookUpTableColumn.is_list_itemSpecifies whether the object is an item of a list
LookUpTableColumn.link_pathRoot path of the current node in the tree for links to this object
LookUpTableColumn.name
LookUpTableColumn.parentParent object in tree
LookUpTableColumn.root_pathRoot path of the current node in the tree
LookUpTableColumn.statusColumn status ('UPTODATE', 'NOTUPTODATE', or 'LOCKED')
LookUpTableColumn.typeColumn type (scalar or direction)
LookUpTableColumn.valuesNumpy array containing the column values

Methods

NameDescription
LookUpTableColumn.find_parent(type)Steps up the tree and returns the first parent with given type
LookUpTableColumn.obj_exists()
LookUpTableColumn.visit(visitor)Walk through the tree and let the visitor perform action on every descendant node