    

 ## On this page

  

 

 # OrientedSelectionSet

 Last update: 16.07.2026 

<a id="compolyx.OrientedSelectionSet"></a>

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

Represents oriented selection set.

### Attributes

NameDescription[`OrientedSelectionSet.active`](compolyx.OrientedSelectionSet.active.md#compolyx.OrientedSelectionSet.active)Active status of the object.[`OrientedSelectionSet.auto_draping_direction`](compolyx.OrientedSelectionSet.auto_draping_direction.md#compolyx.OrientedSelectionSet.auto_draping_direction)Automatic selection of draping direction.[`OrientedSelectionSet.boundaries`](compolyx.OrientedSelectionSet.boundaries.md#compolyx.OrientedSelectionSet.boundaries)Returns the boundaries of the oriented selection set.[`OrientedSelectionSet.draping`](compolyx.OrientedSelectionSet.draping.md#compolyx.OrientedSelectionSet.draping)Flag for using draping or not.[`OrientedSelectionSet.draping_direction`](compolyx.OrientedSelectionSet.draping_direction.md#compolyx.OrientedSelectionSet.draping_direction)The direction in which the draping starts.[`OrientedSelectionSet.draping_material_model`](compolyx.OrientedSelectionSet.draping_material_model.md#compolyx.OrientedSelectionSet.draping_material_model)Draping material model.[`OrientedSelectionSet.draping_mesh_size`](compolyx.OrientedSelectionSet.draping_mesh_size.md#compolyx.OrientedSelectionSet.draping_mesh_size)The mesh size for draping.[`OrientedSelectionSet.draping_obj`](compolyx.OrientedSelectionSet.draping_obj.md#compolyx.OrientedSelectionSet.draping_obj)Draping representation.[`OrientedSelectionSet.draping_seed_point`](compolyx.OrientedSelectionSet.draping_seed_point.md#compolyx.OrientedSelectionSet.draping_seed_point)The seed point where the draping starts.[`OrientedSelectionSet.draping_ud_coefficient`](compolyx.OrientedSelectionSet.draping_ud_coefficient.md#compolyx.OrientedSelectionSet.draping_ud_coefficient)UD draping coefficient.[`OrientedSelectionSet.element_sets`](compolyx.OrientedSelectionSet.element_sets.md#compolyx.OrientedSelectionSet.element_sets)Element sets of the oriented element set.[`OrientedSelectionSet.elements`](compolyx.OrientedSelectionSet.elements.md#compolyx.OrientedSelectionSet.elements)Elements of the oriented selection set.[`OrientedSelectionSet.enabled`](compolyx.OrientedSelectionSet.enabled.md#compolyx.OrientedSelectionSet.enabled)Indicates whether the object is enabled.[`OrientedSelectionSet.id`](compolyx.OrientedSelectionSet.id.md#compolyx.OrientedSelectionSet.id)ID of the object.[`OrientedSelectionSet.is_dict_item`](compolyx.OrientedSelectionSet.is_dict_item.md#compolyx.OrientedSelectionSet.is_dict_item)Indicates whether the object is an item in a dictionary.[`OrientedSelectionSet.is_list_item`](compolyx.OrientedSelectionSet.is_list_item.md#compolyx.OrientedSelectionSet.is_list_item)Indicates whether the object is an item of a list.[`OrientedSelectionSet.link_path`](compolyx.OrientedSelectionSet.link_path.md#compolyx.OrientedSelectionSet.link_path)Root path of the current node in the tree for links to this object.[`OrientedSelectionSet.name`](compolyx.OrientedSelectionSet.name.md#compolyx.OrientedSelectionSet.name)Name of the object.[`OrientedSelectionSet.normals`](compolyx.OrientedSelectionSet.normals.md#compolyx.OrientedSelectionSet.normals)Returns the Normals of the oriented selection set.[`OrientedSelectionSet.orientation_direction`](compolyx.OrientedSelectionSet.orientation_direction.md#compolyx.OrientedSelectionSet.orientation_direction)The Orientation Direction of the Oriented Element set.[`OrientedSelectionSet.orientation_point`](compolyx.OrientedSelectionSet.orientation_point.md#compolyx.OrientedSelectionSet.orientation_point)The Orientation Point of the oriented selection set.[`OrientedSelectionSet.orientations`](compolyx.OrientedSelectionSet.orientations.md#compolyx.OrientedSelectionSet.orientations)Returns the oriented normals of the oriented selection set.[`OrientedSelectionSet.parent`](compolyx.OrientedSelectionSet.parent.md#compolyx.OrientedSelectionSet.parent)Parent object in the tree.[`OrientedSelectionSet.ref_directions`](compolyx.OrientedSelectionSet.ref_directions.md#compolyx.OrientedSelectionSet.ref_directions)Returns the Reference Directions of the oriented selection set.[`OrientedSelectionSet.reference_direction_field`](compolyx.OrientedSelectionSet.reference_direction_field.md#compolyx.OrientedSelectionSet.reference_direction_field)a lookup table column or None for external reference directions.[`OrientedSelectionSet.root_path`](compolyx.OrientedSelectionSet.root_path.md#compolyx.OrientedSelectionSet.root_path)Root path of the current node in the tree.[`OrientedSelectionSet.rosette_selection_method`](compolyx.OrientedSelectionSet.rosette_selection_method.md#compolyx.OrientedSelectionSet.rosette_selection_method)Selection Method for Rosettes of the oriented selection set.[`OrientedSelectionSet.rosettes`](compolyx.OrientedSelectionSet.rosettes.md#compolyx.OrientedSelectionSet.rosettes)Rosettes of the oriented selection set.[`OrientedSelectionSet.rotation_angle`](compolyx.OrientedSelectionSet.rotation_angle.md#compolyx.OrientedSelectionSet.rotation_angle)Angle to rotate the reference directions around the orientation directions (in degree).[`OrientedSelectionSet.selection_rules`](compolyx.OrientedSelectionSet.selection_rules.md#compolyx.OrientedSelectionSet.selection_rules)Selection Rules of the oriented selection set.[`OrientedSelectionSet.status`](compolyx.OrientedSelectionSet.status.md#compolyx.OrientedSelectionSet.status)Status of the object.[`OrientedSelectionSet.status_changed`](compolyx.OrientedSelectionSet.status_changed.md#compolyx.OrientedSelectionSet.status_changed)Boolean flag which is set to true in C++ when up-to-date status of object changes.[`OrientedSelectionSet.uid`](compolyx.OrientedSelectionSet.uid.md#compolyx.OrientedSelectionSet.uid)UID of the object.[`OrientedSelectionSet.use_default_draping_mesh_size`](compolyx.OrientedSelectionSet.use_default_draping_mesh_size.md#compolyx.OrientedSelectionSet.use_default_draping_mesh_size)Whether to use a default size for the draping mesh.[`OrientedSelectionSet.vertex`](compolyx.OrientedSelectionSet.vertex.md#compolyx.OrientedSelectionSet.vertex)Raises an error if the object has been removed from the graph.### Methods

NameDescription[`OrientedSelectionSet.add_element_set`](compolyx.OrientedSelectionSet.add_element_set.md#compolyx.OrientedSelectionSet.add_element_set)(element\_set)Add element set to oriented selection set.[`OrientedSelectionSet.add_rosette`](compolyx.OrientedSelectionSet.add_rosette.md#compolyx.OrientedSelectionSet.add_rosette)(rosette)Add rosette to oriented selection set.[`OrientedSelectionSet.add_selection_rule`](compolyx.OrientedSelectionSet.add_selection_rule.md#compolyx.OrientedSelectionSet.add_selection_rule)(rule)Add selection rule to oriented selection set.[`OrientedSelectionSet.clear_element_sets`](compolyx.OrientedSelectionSet.clear_element_sets.md#compolyx.OrientedSelectionSet.clear_element_sets)()Clear element sets of oriented selection set.[`OrientedSelectionSet.clear_rosettes`](compolyx.OrientedSelectionSet.clear_rosettes.md#compolyx.OrientedSelectionSet.clear_rosettes)()Clear rosettes of oriented selection set.[`OrientedSelectionSet.clear_selection_rules`](compolyx.OrientedSelectionSet.clear_selection_rules.md#compolyx.OrientedSelectionSet.clear_selection_rules)()Clear selection rules of oriented selection set.[`OrientedSelectionSet.find_parent`](compolyx.OrientedSelectionSet.find_parent.md#compolyx.OrientedSelectionSet.find_parent)(type)Steps up the tree and returns the first parent with given type.[`OrientedSelectionSet.get_short_description`](compolyx.OrientedSelectionSet.get_short_description.md#compolyx.OrientedSelectionSet.get_short_description)()[`OrientedSelectionSet.normal_from_id`](compolyx.OrientedSelectionSet.normal_from_id.md#compolyx.OrientedSelectionSet.normal_from_id)(id)Returns the element normal.[`OrientedSelectionSet.obj_exists`](compolyx.OrientedSelectionSet.obj_exists.md#compolyx.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`](compolyx.OrientedSelectionSet.reference_element_id.md#compolyx.OrientedSelectionSet.reference_element_id)()[`OrientedSelectionSet.remove_element_set`](compolyx.OrientedSelectionSet.remove_element_set.md#compolyx.OrientedSelectionSet.remove_element_set)(...)Remove element set from oriented selection set.[`OrientedSelectionSet.remove_rosette`](compolyx.OrientedSelectionSet.remove_rosette.md#compolyx.OrientedSelectionSet.remove_rosette)(rosette)Remove rosette from oriented selection set.[`OrientedSelectionSet.remove_selection_rule`](compolyx.OrientedSelectionSet.remove_selection_rule.md#compolyx.OrientedSelectionSet.remove_selection_rule)(rule)Remove rule from oriented selection set.[`OrientedSelectionSet.save_flat_wrap`](compolyx.OrientedSelectionSet.save_flat_wrap.md#compolyx.OrientedSelectionSet.save_flat_wrap)(filename)Write the flatwrap to .dxf, .iges, or .step file.[`OrientedSelectionSet.serialize`](compolyx.OrientedSelectionSet.serialize.md#compolyx.OrientedSelectionSet.serialize)()Serialize to Python string.[`OrientedSelectionSet.serialize_name_and_id`](compolyx.OrientedSelectionSet.serialize_name_and_id.md#compolyx.OrientedSelectionSet.serialize_name_and_id)()Serializes the name and ID.[`OrientedSelectionSet.update`](compolyx.OrientedSelectionSet.update.md#compolyx.OrientedSelectionSet.update)()[`OrientedSelectionSet.visit`](compolyx.OrientedSelectionSet.visit.md#compolyx.OrientedSelectionSet.visit)(visitor)Walk through the tree and let the visitor perform action on every descendant node.[`OrientedSelectionSet.write_boundaries`](compolyx.OrientedSelectionSet.write_boundaries.md#compolyx.OrientedSelectionSet.write_boundaries)(filename)Write boundaries in .iges/.step format.