Skip to main content

ACP scripting interface 2025 R2

VariableOffsetSelectionRule

Last update: 16.07.2025

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

Attributes

Name Description
VariableOffsetSelectionRule.active Active status of object
VariableOffsetSelectionRule.angles Link to lookup table column with taper angles
VariableOffsetSelectionRule.changed Triggers Observable to dispatch changed message
VariableOffsetSelectionRule.distance_along_edge Whether to evaluate the distance along the edge or direction of the rule
VariableOffsetSelectionRule.edge_set Link to edge set
VariableOffsetSelectionRule.element_set The element set on which the rule is applied
VariableOffsetSelectionRule.enabled Whether this object is currently enabled or not
VariableOffsetSelectionRule.extent Extent of the rule
VariableOffsetSelectionRule.id ID of object
VariableOffsetSelectionRule.include_rule_type Include type
VariableOffsetSelectionRule.inherit_from_lookup_table Whether to inherit the Look-Up Table object properties
VariableOffsetSelectionRule.is_dict_item Specifies whether the object is an item of a dict
VariableOffsetSelectionRule.is_list_item Specifies whether the object is an item of a list
VariableOffsetSelectionRule.link_path Root path of the current node in the tree for links to this object
VariableOffsetSelectionRule.name Name of object
VariableOffsetSelectionRule.offsets Link to lookup table column with offsets
VariableOffsetSelectionRule.parent Parent object in tree
VariableOffsetSelectionRule.radius_direction Direction for offset value interpolations
VariableOffsetSelectionRule.radius_origin Origin for offset value interpolations
VariableOffsetSelectionRule.relative_rule_type relative type
VariableOffsetSelectionRule.root_path Root path of the current node in the tree
VariableOffsetSelectionRule.status Status of the object
VariableOffsetSelectionRule.status_changed Boolean flag which is set to true in C++ when up-to-date status of object changes
VariableOffsetSelectionRule.uid UID of object
VariableOffsetSelectionRule.use_offset_correction Use offset correction on mesh
VariableOffsetSelectionRule.vertex This will throw an error if the object has been removed from the graph

Methods

Name Description
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

Connect with Ansys