class compolyx.GeometricalSelectionRule(graph, obj, parent=None)
Geometrical selection rule.Attributes
| Name | Description |
|---|---|
GeometricalSelectionRule.active | Active status of the object. |
GeometricalSelectionRule.changed | Triggers an observable to dispatch a change notification. |
GeometricalSelectionRule.element_sets | Element sets for the geometrical selection rule. |
GeometricalSelectionRule.enabled | Indicates whether the object is enabled. |
GeometricalSelectionRule.extent | Extent of the rule. |
GeometricalSelectionRule.geometrical_rule_type | Geometrical rule type, valid values geometry,element_sets. |
GeometricalSelectionRule.geometry | Virtual Geometry for the geometrical selection rule. |
GeometricalSelectionRule.id | ID of the object. |
GeometricalSelectionRule.in_plane_capture_tolerance | In-plane capture tolerance. |
GeometricalSelectionRule.include_rule_type | include type. |
GeometricalSelectionRule.is_dict_item | Indicates whether the object is an item in a dictionary. |
GeometricalSelectionRule.is_list_item | Indicates whether the object is an item of a list. |
GeometricalSelectionRule.link_path | Root path of the current node in the tree for links to this object. |
GeometricalSelectionRule.name | Name of the object. |
GeometricalSelectionRule.neg_capture_tolerance | Capture tolerance in the negative direction of the CAD surface. |
GeometricalSelectionRule.parent | Parent object in the tree. |
GeometricalSelectionRule.pos_capture_tolerance | Capture tolerance in the positive direction of the CAD surface. |
GeometricalSelectionRule.projection_normal | Projection direction used to map curves onto the shell mesh. |
GeometricalSelectionRule.relative_rule_type | relative type. |
GeometricalSelectionRule.root_path | Root path of the current node in the tree. |
GeometricalSelectionRule.status | Status of the object. |
GeometricalSelectionRule.status_changed | Boolean flag which is set to true in C++ when up-to-date status of object changes. |
GeometricalSelectionRule.uid | UID of the object. |
GeometricalSelectionRule.use_defaults | Whether to use the offset value of the CAD Geometry or not. |
GeometricalSelectionRule.use_projection_normal | Whether to use a projection normal for outlines or not. |
GeometricalSelectionRule.vertex | Raises an error if the object has been removed from the graph. |
Methods
| Name | Description |
|---|---|
GeometricalSelectionRule.add_element_set(…) | Add element set to GeometricalSelection rule. |
GeometricalSelectionRule.clear_element_sets() | Clear element sets of oriented selection set. |
GeometricalSelectionRule.find_parent(type) | Steps up the tree and returns the first parent with given type. |
GeometricalSelectionRule.get_short_description() | |
GeometricalSelectionRule.obj_exists() | Checks if __obj still references the c++ object (has not been reset to None by self._delete) and exists in the graph. |
GeometricalSelectionRule.serialize() | Serialize to Python string. |
GeometricalSelectionRule.serialize_name_and_id() | Serializes the name and ID. |
GeometricalSelectionRule.serialize_rule_types() | |
GeometricalSelectionRule.update() | |
GeometricalSelectionRule.visit(visitor) | Walk through the tree and let the visitor perform action on every descendant node. |