> ## Documentation Index
> Fetch the complete documentation index at: https://developer.synopsys.com/llms.txt
> Use this file to discover all available pages before exploring further.

# TubeSelectionRule

### *class* compolyx.TubeSelectionRule(graph, obj, parent=None)

Represents a tube selection rule.

### Attributes

| Name | Description |
| - | - |
| [`TubeSelectionRule.active`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.active) | Active status of the object. |
| [`TubeSelectionRule.changed`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.changed) | Triggers an observable to dispatch a change notification. |
| [`TubeSelectionRule.display_data`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.display_data) | The tube rule mesh plot. |
| [`TubeSelectionRule.edge_set`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.edge_set) | Edge Set for the Tube Selection Rule. |
| [`TubeSelectionRule.enabled`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.enabled) | Indicates whether the object is enabled. |
| [`TubeSelectionRule.extend_endings`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.extend_endings) | Whether to extend the ending of the edge. |
| [`TubeSelectionRule.extent`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.extent) | Extent of the rule. |
| [`TubeSelectionRule.head`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.head) | Defines the head of the tube. |
| [`TubeSelectionRule.head_extension`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.head_extension) | Specifies the length of the extension at the head of the tube. |
| [`TubeSelectionRule.id`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.id) | ID of the object. |
| [`TubeSelectionRule.include_rule_type`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.include_rule_type) | include type. |
| [`TubeSelectionRule.inner_radius`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.inner_radius) | Inner tube-radius. |
| [`TubeSelectionRule.is_closed`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.is_closed) | Returns true if the edge set of this rule is closed. |
| [`TubeSelectionRule.is_dict_item`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.is_dict_item) | Indicates whether the object is an item in a dictionary. |
| [`TubeSelectionRule.is_list_item`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.is_list_item) | Indicates whether the object is an item of a list. |
| [`TubeSelectionRule.link_path`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.link_path) | Root path of the current node in the tree for links to this object. |
| [`TubeSelectionRule.mesh`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.mesh) | The mesh of the tube rule. |
| [`TubeSelectionRule.name`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.name) | Name of the object. |
| [`TubeSelectionRule.nodes`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.nodes) | Returns the nodes of this tube as nx3 array including the extensions. |
| [`TubeSelectionRule.outer_radius`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.outer_radius) | Outer tube-radius. |
| [`TubeSelectionRule.parent`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.parent) | Parent object in the tree. |
| [`TubeSelectionRule.relative_rule_type`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.relative_rule_type) | relative type. |
| [`TubeSelectionRule.root_path`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.root_path) | Root path of the current node in the tree. |
| [`TubeSelectionRule.status`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.status) | Status of the object. |
| [`TubeSelectionRule.status_changed`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.status_changed) | Boolean flag which is set to true in C++ when up-to-date status of object changes. |
| [`TubeSelectionRule.symmetrical_extension`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.symmetrical_extension) | Whether the extensions are equal on both ends or not. |
| [`TubeSelectionRule.tail_extension`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.tail_extension) | Specifies the length of the extension at the tail of the tube. |
| [`TubeSelectionRule.uid`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.uid) | UID of the object. |
| [`TubeSelectionRule.vertex`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.vertex) | Raises an error if the object has been removed from the graph. |

### Methods

| Name | Description |
| - | - |
| [`TubeSelectionRule.find_parent`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.find_parent)(type) | Steps up the tree and returns the first parent with given type. |
| [`TubeSelectionRule.get_nodes`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.get_nodes)() | \* **Return:**   List of nodes that define the central line of the tube. |
| [`TubeSelectionRule.get_short_description`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.get_short_description)() | |
| [`TubeSelectionRule.obj_exists`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.obj_exists)() | Checks if \_\_obj still references the c++ object (has not been reset to None by self.\_delete) and exists in the graph. |
| [`TubeSelectionRule.serialize`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.serialize)() | Serialize to Python string. |
| [`TubeSelectionRule.serialize_name_and_id`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.serialize_name_and_id)() | Serializes the name and ID. |
| [`TubeSelectionRule.serialize_rule_types`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.serialize_rule_types)() | |
| [`TubeSelectionRule.update`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.update)() | |
| [`TubeSelectionRule.visit`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/_autosummary/compolyx.TubeSelectionRule.visit)(visitor) | Walk through the tree and let the visitor perform action on every descendant node. |
