Skip to main content

ACP in-app scripting API 2026 R1

CylindricalSelectionRule

Last update: 16.07.2026

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

Cylindrical selection rule.

Attributes

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

Methods

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

Connect with Ansys