FieldDefinition
Last update: 16.07.2026class compolyx.FieldDefinition(graph, obj, parent=None)
Represents a field definition.
Attributes
| Name | Description |
|---|---|
FieldDefinition.active |
Indicates whether the field definition is active. |
FieldDefinition.enabled |
Indicates whether the object is enabled. |
FieldDefinition.field_variable_name |
Name of the field variable. |
FieldDefinition.full_mapping |
Whether the field is interpolated to the shell reference surface or to the actual ply-position by taking into account the shell offset; in solid models the interpolation takes always place at the actual ply position. |
FieldDefinition.id |
ID of the object. |
FieldDefinition.is_dict_item |
Indicates whether the object is an item in a dictionary. |
FieldDefinition.is_list_item |
Indicates whether the object is an item of a list. |
FieldDefinition.link_path |
Root path of the current node in the tree for links to this object. |
FieldDefinition.locked |
Returns the locked status of the Field Definition. |
FieldDefinition.name |
Name of the object. |
FieldDefinition.parent |
Parent object in the tree. |
FieldDefinition.root_path |
Root path of the current node in the tree. |
FieldDefinition.scalar_field |
Lookup‑table column used with this field definition. |
FieldDefinition.scope_entities |
The entities defining the scope of the field definition. |
FieldDefinition.status |
Status of the object. |
FieldDefinition.status_changed |
Boolean flag which is set to true in C++ when up-to-date status of object changes. |
FieldDefinition.uid |
UID of the object. |
FieldDefinition.vertex |
Raises an error if the object has been removed from the graph. |
Methods
| Name | Description |
|---|---|
FieldDefinition.clear_field_definition() |
|
FieldDefinition.clear_scope_entities() |
|
FieldDefinition.find_parent(type) |
Steps up the tree and returns the first parent with given type. |
FieldDefinition.get_short_description() |
|
FieldDefinition.obj_exists() |
Checks if __obj still references the c++ object (has not been reset to None by self._delete) and exists in the graph. |
FieldDefinition.serialize() |
Serialize to Python string. |
FieldDefinition.serialize_name_and_id() |
Serializes the name and ID. |
FieldDefinition.update() |
|
FieldDefinition.visit(visitor) |
Walk through the tree and let the visitor perform action on every descendant node. |