Skip to main content
Version: 2026R1

ParallelSelectionRule

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

Parallel selection rule.

Attributes

NameDescription
ParallelSelectionRule.activeActive status of object
ParallelSelectionRule.changedTriggers Observable to dispatch changed message
ParallelSelectionRule.directionDirection of the Parallel Selection Rule
ParallelSelectionRule.direction_in_global_coordinatesDirection of the rule in global coordinates
ParallelSelectionRule.enabledWhether this object is currently enabled or not
ParallelSelectionRule.extentExtent of the rule
ParallelSelectionRule.idID of object
ParallelSelectionRule.include_rule_typeInclude type
ParallelSelectionRule.is_dict_itemSpecifies whether the object is an item of a dict
ParallelSelectionRule.is_list_itemSpecifies whether the object is an item of a list
ParallelSelectionRule.link_pathRoot path of the current node in the tree for links to this object
ParallelSelectionRule.nameName of object
ParallelSelectionRule.neg_distanceNegative distance
ParallelSelectionRule.originOrigin of the Parallel Selection Rule
ParallelSelectionRule.origin_in_global_coordinatesOrigin of the rule in global coordinates
ParallelSelectionRule.parentParent object in tree
ParallelSelectionRule.pos_distancePositive distance
ParallelSelectionRule.relative_rule_typeRelative type
ParallelSelectionRule.root_pathRoot path of the current node in the tree
ParallelSelectionRule.rosetteRosette of the used for origin and direction
ParallelSelectionRule.statusStatus of the object
ParallelSelectionRule.status_changedBoolean flag which is set to true in C++ when up-to-date status of object changes
ParallelSelectionRule.uidUID of object
ParallelSelectionRule.use_global_coordinate_systemUse global coordinate system for origin and direction
ParallelSelectionRule.vertexThis will throw an error if the object has been removed from the graph

Methods

NameDescription
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