class compolyx.BooleanSelectionRule(graph, obj, parent=None)
Boolean selection rule.Attributes
| Name | Description |
|---|---|
BooleanSelectionRule.active | Active status of object |
BooleanSelectionRule.changed | Triggers Observable to dispatch changed message |
BooleanSelectionRule.enabled | Whether this object is currently enabled or not |
BooleanSelectionRule.extent | Extent of the rule |
BooleanSelectionRule.id | ID of object |
BooleanSelectionRule.include_rule_type | Include type |
BooleanSelectionRule.is_dict_item | Specifies whether the object is an item of a dict |
BooleanSelectionRule.is_list_item | Specifies whether the object is an item of a list |
BooleanSelectionRule.link_path | Root path of the current node in the tree for links to this object |
BooleanSelectionRule.name | Name of object |
BooleanSelectionRule.parent | Parent object in tree |
BooleanSelectionRule.relative_rule_type | Relative type |
BooleanSelectionRule.root_path | Root path of the current node in the tree |
BooleanSelectionRule.selection_rules | Element Selection Rule of the Boolean Selection Rule. |
BooleanSelectionRule.status | Status of the object |
BooleanSelectionRule.status_changed | Boolean flag which is set to true in C++ when up-to-date status of object changes |
BooleanSelectionRule.uid | UID of object |
BooleanSelectionRule.vertex | Throws an error if the object has been removed from the graph |
Methods
| Name | Description |
|---|---|
BooleanSelectionRule.add_rule(rule[, …]) | Add selection rule to boolean selection rule |
BooleanSelectionRule.find_parent(type) | Steps up the tree and returns the first parent with given type |
BooleanSelectionRule.get_short_description() | |
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() | Serialize to Python string |
BooleanSelectionRule.serialize_name_and_id() | Helper function to serialize name and ID |
BooleanSelectionRule.serialize_rule_types() | |
BooleanSelectionRule.update() | |
BooleanSelectionRule.visit(visitor) | Walk through the tree and let the visitor perform an action on every descendant node |