OrientedSelectionSet
Last update: 16.07.2026class compolyx.OrientedSelectionSet(graph, obj, parent=None)
Represents oriented selection set.
Attributes
| Name | Description |
|---|---|
OrientedSelectionSet.active |
Active status of the object. |
OrientedSelectionSet.auto_draping_direction |
Automatic selection of draping direction. |
OrientedSelectionSet.boundaries |
Returns the boundaries of the oriented selection set. |
OrientedSelectionSet.draping |
Flag for using draping or not. |
OrientedSelectionSet.draping_direction |
The direction in which the draping starts. |
OrientedSelectionSet.draping_material_model |
Draping material model. |
OrientedSelectionSet.draping_mesh_size |
The mesh size for draping. |
OrientedSelectionSet.draping_obj |
Draping representation. |
OrientedSelectionSet.draping_seed_point |
The seed point where the draping starts. |
OrientedSelectionSet.draping_ud_coefficient |
UD draping coefficient. |
OrientedSelectionSet.element_sets |
Element sets of the oriented element set. |
OrientedSelectionSet.elements |
Elements of the oriented selection set. |
OrientedSelectionSet.enabled |
Indicates whether the object is enabled. |
OrientedSelectionSet.id |
ID of the object. |
OrientedSelectionSet.is_dict_item |
Indicates whether the object is an item in a dictionary. |
OrientedSelectionSet.is_list_item |
Indicates whether the object is an item of a list. |
OrientedSelectionSet.link_path |
Root path of the current node in the tree for links to this object. |
OrientedSelectionSet.name |
Name of the object. |
OrientedSelectionSet.normals |
Returns the Normals of the oriented selection set. |
OrientedSelectionSet.orientation_direction |
The Orientation Direction of the Oriented Element set. |
OrientedSelectionSet.orientation_point |
The Orientation Point of the oriented selection set. |
OrientedSelectionSet.orientations |
Returns the oriented normals of the oriented selection set. |
OrientedSelectionSet.parent |
Parent object in the tree. |
OrientedSelectionSet.ref_directions |
Returns the Reference Directions of the oriented selection set. |
OrientedSelectionSet.reference_direction_field |
a lookup table column or None for external reference directions. |
OrientedSelectionSet.root_path |
Root path of the current node in the tree. |
OrientedSelectionSet.rosette_selection_method |
Selection Method for Rosettes of the oriented selection set. |
OrientedSelectionSet.rosettes |
Rosettes of the oriented selection set. |
OrientedSelectionSet.rotation_angle |
Angle to rotate the reference directions around the orientation directions (in degree). |
OrientedSelectionSet.selection_rules |
Selection Rules of the oriented selection set. |
OrientedSelectionSet.status |
Status of the object. |
OrientedSelectionSet.status_changed |
Boolean flag which is set to true in C++ when up-to-date status of object changes. |
OrientedSelectionSet.uid |
UID of the object. |
OrientedSelectionSet.use_default_draping_mesh_size |
Whether to use a default size for the draping mesh. |
OrientedSelectionSet.vertex |
Raises an error if the object has been removed from the graph. |
Methods
| Name | Description |
|---|---|
OrientedSelectionSet.add_element_set(element_set) |
Add element set to oriented selection set. |
OrientedSelectionSet.add_rosette(rosette) |
Add rosette to oriented selection set. |
OrientedSelectionSet.add_selection_rule(rule) |
Add selection rule to oriented selection set. |
OrientedSelectionSet.clear_element_sets() |
Clear element sets of oriented selection set. |
OrientedSelectionSet.clear_rosettes() |
Clear rosettes of oriented selection set. |
OrientedSelectionSet.clear_selection_rules() |
Clear selection rules of oriented selection set. |
OrientedSelectionSet.find_parent(type) |
Steps up the tree and returns the first parent with given type. |
OrientedSelectionSet.get_short_description() |
|
OrientedSelectionSet.normal_from_id(id) |
Returns the element normal. |
OrientedSelectionSet.obj_exists() |
Checks if __obj still references the c++ object (has not been reset to None by self._delete) and exists in the graph. |
OrientedSelectionSet.reference_element_id() |
|
OrientedSelectionSet.remove_element_set(...) |
Remove element set from oriented selection set. |
OrientedSelectionSet.remove_rosette(rosette) |
Remove rosette from oriented selection set. |
OrientedSelectionSet.remove_selection_rule(rule) |
Remove rule from oriented selection set. |
OrientedSelectionSet.save_flat_wrap(filename) |
Write the flatwrap to .dxf, .iges, or .step file. |
OrientedSelectionSet.serialize() |
Serialize to Python string. |
OrientedSelectionSet.serialize_name_and_id() |
Serializes the name and ID. |
OrientedSelectionSet.update() |
|
OrientedSelectionSet.visit(visitor) |
Walk through the tree and let the visitor perform action on every descendant node. |
OrientedSelectionSet.write_boundaries(filename) |
Write boundaries in .iges/.step format. |