Skip to main content

ACP in-app scripting API 2026 R1

VariableOffsetSelectionRule

Last update: 16.07.2026

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

Attributes

Name Description
VariableOffsetSelectionRule.active Active status of the object.
VariableOffsetSelectionRule.angles Link to lookup table column with taper angles.
VariableOffsetSelectionRule.changed Triggers an observable to dispatch a change notification.
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 Indicates whether the object is enabled.
VariableOffsetSelectionRule.extent Extent of the rule.
VariableOffsetSelectionRule.id ID of the 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 Indicates whether the object is an item in a dictionary.
VariableOffsetSelectionRule.is_list_item Indicates 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 the object.
VariableOffsetSelectionRule.offsets Link to lookup table column with offsets.
VariableOffsetSelectionRule.parent Parent object in the 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 the object.
VariableOffsetSelectionRule.use_offset_correction Use offset correction on mesh.
VariableOffsetSelectionRule.vertex Raises an error if the object has been removed from the graph.

Methods

Name Description
VariableOffsetSelectionRule.find_parent(type) 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 (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() Serializes the 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