Skip to main content
Version: 2026R2

VariableOffsetSelectionRule

class compolyx.VariableOffsetSelectionRule(graph, obj, parent=None)

Attributes

NameDescription
VariableOffsetSelectionRule.activeActive status of object
VariableOffsetSelectionRule.anglesLink to lookup table column with taper angles
VariableOffsetSelectionRule.changedTriggers Observable to dispatch changed message
VariableOffsetSelectionRule.distance_along_edgeWhether to evaluate the distance along the edge or direction of the rule
VariableOffsetSelectionRule.edge_setLink to edge set
VariableOffsetSelectionRule.element_setThe element set on which the rule is applied
VariableOffsetSelectionRule.enabledWhether this object is currently enabled or not
VariableOffsetSelectionRule.extentExtent of the rule
VariableOffsetSelectionRule.idID of object
VariableOffsetSelectionRule.include_rule_typeInclude type
VariableOffsetSelectionRule.inherit_from_lookup_tableWhether to inherit the Look-Up Table object properties
VariableOffsetSelectionRule.is_dict_itemSpecifies whether the object is an item of a dict
VariableOffsetSelectionRule.is_list_itemSpecifies whether the object is an item of a list
VariableOffsetSelectionRule.link_pathRoot path of the current node in the tree for links to this object
VariableOffsetSelectionRule.nameName of object
VariableOffsetSelectionRule.offsetsLink to lookup table column with offsets
VariableOffsetSelectionRule.parentParent object in tree
VariableOffsetSelectionRule.radius_directionDirection for offset value interpolations
VariableOffsetSelectionRule.radius_originOrigin for offset value interpolations
VariableOffsetSelectionRule.relative_rule_typerelative type
VariableOffsetSelectionRule.root_pathRoot path of the current node in the tree
VariableOffsetSelectionRule.statusStatus of the object
VariableOffsetSelectionRule.status_changedBoolean flag which is set to true in C++ when up-to-date status of object changes
VariableOffsetSelectionRule.uidUID of object
VariableOffsetSelectionRule.use_offset_correctionUse offset correction on mesh
VariableOffsetSelectionRule.vertexThis will throw an error if the object has been removed from the graph

Methods

NameDescription
VariableOffsetSelectionRule.find_parent(type)Function steps up the tree and returns the first parent with given type
VariableOffsetSelectionRule.get_short_description()
VariableOffsetSelectionRule.obj_exists()Checks if __obj still references the c++ object (i.e. has not been reset to None by self._delete) AND exists in the graph
VariableOffsetSelectionRule.serialize()Serialize to Python string
VariableOffsetSelectionRule.serialize_name_and_id()Helper function to serialize name and ID
VariableOffsetSelectionRule.serialize_rule_types()
VariableOffsetSelectionRule.update()
VariableOffsetSelectionRule.visit(visitor)Walk through the tree and let the visitor perform action on every descendant node