Skip to main content

ACP in-app scripting API 2026 R1

SphericalSelectionRule

Last update: 16.07.2026

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

Spherical selection rule.

Attributes

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

Methods

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

Connect with Ansys