> ## 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.

# BooleanSelectionRule

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

Boolean selection rule.

### Attributes

| Name | Description |
| - | - |
| [`BooleanSelectionRule.active`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.BooleanSelectionRule.active) | Active status of object |
| [`BooleanSelectionRule.changed`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.BooleanSelectionRule.changed) | Triggers Observable to dispatch changed message |
| [`BooleanSelectionRule.enabled`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.BooleanSelectionRule.enabled) | Whether this object is currently enabled or not |
| [`BooleanSelectionRule.extent`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.BooleanSelectionRule.extent) | Extent of the rule |
| [`BooleanSelectionRule.id`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.BooleanSelectionRule.id) | ID of object |
| [`BooleanSelectionRule.include_rule_type`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.BooleanSelectionRule.include_rule_type) | Include type |
| [`BooleanSelectionRule.is_dict_item`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.BooleanSelectionRule.is_dict_item) | Specifies whether the object is an item of a dict |
| [`BooleanSelectionRule.is_list_item`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.BooleanSelectionRule.is_list_item) | Specifies whether the object is an item of a list |
| [`BooleanSelectionRule.link_path`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.BooleanSelectionRule.link_path) | Root path of the current node in the tree for links to this object |
| [`BooleanSelectionRule.name`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.BooleanSelectionRule.name) | Name of object |
| [`BooleanSelectionRule.parent`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.BooleanSelectionRule.parent) | Parent object in tree |
| [`BooleanSelectionRule.relative_rule_type`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.BooleanSelectionRule.relative_rule_type) | Relative type |
| [`BooleanSelectionRule.root_path`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.BooleanSelectionRule.root_path) | Root path of the current node in the tree |
| [`BooleanSelectionRule.selection_rules`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.BooleanSelectionRule.selection_rules) | Element Selection Rule of the Boolean Selection Rule. |
| [`BooleanSelectionRule.status`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.BooleanSelectionRule.status) | Status of the object |
| [`BooleanSelectionRule.status_changed`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.BooleanSelectionRule.status_changed) | Boolean flag which is set to true in C++ when up-to-date status of object changes |
| [`BooleanSelectionRule.uid`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.BooleanSelectionRule.uid) | UID of object |
| [`BooleanSelectionRule.vertex`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.BooleanSelectionRule.vertex) | Throws an error if the object has been removed from the graph |

### Methods

| Name | Description |
| - | - |
| [`BooleanSelectionRule.add_rule`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.BooleanSelectionRule.add_rule)(rule\[, ...]) | Add selection rule to boolean selection rule |
| [`BooleanSelectionRule.find_parent`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.BooleanSelectionRule.find_parent)(type) | Steps up the tree and returns the first parent with given type |
| [`BooleanSelectionRule.get_short_description`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.BooleanSelectionRule.get_short_description)() | |
| [`BooleanSelectionRule.obj_exists`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.BooleanSelectionRule.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 |
| [`BooleanSelectionRule.serialize`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.BooleanSelectionRule.serialize)() | Serialize to Python string |
| [`BooleanSelectionRule.serialize_name_and_id`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.BooleanSelectionRule.serialize_name_and_id)() | Helper function to serialize name and ID |
| [`BooleanSelectionRule.serialize_rule_types`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.BooleanSelectionRule.serialize_rule_types)() | |
| [`BooleanSelectionRule.update`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.BooleanSelectionRule.update)() | |
| [`BooleanSelectionRule.visit`](https://developer.synopsys.com/docs/acp/acp-in-app-scripting-api/2025-r2/_autosummary/compolyx.BooleanSelectionRule.visit)(visitor) | Walk through the tree and let the visitor perform an action on every descendant node |
