Skip to main content
Version: 2026R2

SphericalSelectionRule

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

Spherical selection rule.

Attributes

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

Methods

NameDescription
SphericalSelectionRule.find_parent(type)Function steps up the tree and returns the first parent with given type
SphericalSelectionRule.get_short_description()
SphericalSelectionRule.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
SphericalSelectionRule.serialize()Serialize to Python string
SphericalSelectionRule.serialize_name_and_id()Helper function to serialize name and ID
SphericalSelectionRule.serialize_rule_types()
SphericalSelectionRule.update()
SphericalSelectionRule.visit(visitor)Walk through the tree and let the visitor perform action on every descendant node