LookUpTable1D
Last update: 16.07.2026class compolyx.LookUpTable1D(obj, parent=None)
A LookUpTable to associate arbitrary data to a one-dimensional field of Locations.
Attributes
| Name | Description |
|---|---|
LookUpTable1D.active |
LookUpTable active. |
LookUpTable1D.column_types |
a list of column types ('scalar', or 'direction'). |
LookUpTable1D.columns |
Dictionary with all columns. |
LookUpTable1D.dimensions |
|
LookUpTable1D.direction |
The Direction of the Look Up Table. |
LookUpTable1D.empty |
True if table is empty. |
LookUpTable1D.enabled |
Indicates whether the object is enabled. |
LookUpTable1D.id |
ID of the object. |
LookUpTable1D.is_dict_item |
Indicates whether the object is an item in a dictionary. |
LookUpTable1D.is_list_item |
Indicates whether the object is an item of a list. |
LookUpTable1D.link_path |
Root path of the current node in the tree for links to this object. |
LookUpTable1D.location_column_name |
|
LookUpTable1D.name |
Name of the object. |
LookUpTable1D.num_cols |
Number of rows. |
LookUpTable1D.num_rows |
Number of columns. |
LookUpTable1D.origin |
The Origin of the Look Up Table. |
LookUpTable1D.parent |
Parent object in the tree. |
LookUpTable1D.root_path |
Root path of the current node in the tree. |
LookUpTable1D.status |
Status of the object. |
LookUpTable1D.status_changed |
Boolean flag which is set to true in C++ when up-to-date status of object changes. |
LookUpTable1D.tabular_data |
a tuple containing a list of column labels and a 2d array with floats for all cells. |
LookUpTable1D.uid |
UID of the object. |
LookUpTable1D.vector_column_suffix |
|
LookUpTable1D.vertex |
Raises an error if the object has been removed from the graph. |
Methods
| Name | Description |
|---|---|
LookUpTable1D.clear() |
Clear table data (rows and columns). |
LookUpTable1D.clear_rows() |
Clear table rows (keep columns). |
LookUpTable1D.create_column(name[, type, ...]) |
Create a new column. |
LookUpTable1D.find_parent(type) |
Steps up the tree and returns the first parent with given type. |
LookUpTable1D.load_from_csv_file(path) |
Load the table from .csv file in path. |
LookUpTable1D.obj_exists() |
Checks if __obj still references the c++ object (has not been reset to None by self._delete) and exists in the graph. |
LookUpTable1D.save_to_csv_file(path) |
Save LookUpTable to CSV file. |
LookUpTable1D.serialize() |
|
LookUpTable1D.serialize_name_and_id() |
Serializes the name and ID. |
LookUpTable1D.update() |
|
LookUpTable1D.visit(visitor) |
Walk through the tree and let the visitor perform action on every descendant node. |