Skip to main content

ACP scripting interface 2025 R2

ParallelSelectionRule

Last update: 16.07.2025

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

Parallel selection rule.

Attributes

Name Description
ParallelSelectionRule.active Active status of object
ParallelSelectionRule.changed Triggers Observable to dispatch changed message
ParallelSelectionRule.direction Direction of the Parallel Selection Rule
ParallelSelectionRule.direction_in_global_coordinates Direction of the rule in global coordinates
ParallelSelectionRule.enabled Whether this object is currently enabled or not
ParallelSelectionRule.extent Extent of the rule
ParallelSelectionRule.id ID of object
ParallelSelectionRule.include_rule_type Include type
ParallelSelectionRule.is_dict_item Specifies whether the object is an item of a dict
ParallelSelectionRule.is_list_item Specifies 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 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 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 object
ParallelSelectionRule.use_global_coordinate_system Use global coordinate system for origin and direction
ParallelSelectionRule.vertex This will throw 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 (i.e. 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() Helper function to serialize 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