Skip to main content

ACP in-app scripting API 2026 R1

ParallelSelectionRule

Last update: 16.07.2026

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

Parallel selection rule.

Attributes

Name Description
ParallelSelectionRule.active Active status of the object.
ParallelSelectionRule.changed Triggers an observable to dispatch a change notification.
ParallelSelectionRule.direction Direction of the Parallel Selection Rule.
ParallelSelectionRule.direction_in_global_coordinates Direction of the rule in global coordinates.
ParallelSelectionRule.enabled Indicates whether the object is enabled.
ParallelSelectionRule.extent Extent of the rule.
ParallelSelectionRule.id ID of the object.
ParallelSelectionRule.include_rule_type include type.
ParallelSelectionRule.is_dict_item Indicates whether the object is an item in a dictionary.
ParallelSelectionRule.is_list_item Indicates whether the object is an item of a list.
ParallelSelectionRule.link_path Root path of the current node in the tree for links to this object.
ParallelSelectionRule.name Name of the object.
ParallelSelectionRule.neg_distance Negative distance.
ParallelSelectionRule.origin Origin of the Parallel Selection Rule.
ParallelSelectionRule.origin_in_global_coordinates Origin of the rule in global coordinates.
ParallelSelectionRule.parent Parent object in the tree.
ParallelSelectionRule.pos_distance Positive distance.
ParallelSelectionRule.relative_rule_type relative type.
ParallelSelectionRule.root_path Root path of the current node in the tree.
ParallelSelectionRule.rosette Rosette of the used for origin and direction.
ParallelSelectionRule.status Status of the object.
ParallelSelectionRule.status_changed Boolean flag which is set to true in C++ when up-to-date status of object changes.
ParallelSelectionRule.uid UID of the object.
ParallelSelectionRule.use_global_coordinate_system Use global coordinate system for origin and direction.
ParallelSelectionRule.vertex Raises an error if the object has been removed from the graph.

Methods

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

Connect with Ansys