### 6.5.10. OrientedSelectionSet

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

Class to represent Oriented Selection Set

`add_element_set`(element_set)

  Add Element Set to Oriented Selection Set

`add_rosette`(rosette)

  Add Rosette to Oriented Selection Set

`add_selection_rule`(rule)

  Add Selection Rule to Oriented Selection Set

`auto_draping_direction`

  Automatic selection of draping direction.

`boundaries`

  Get the boundaries of the Oriented Selection Set

`clear_element_sets`()

  Clear Element Sets of Oriented Selection Set

`clear_rosettes`()

  Clear Rosettes of Oriented Selection Set

`clear_selection_rules`()

  Clear Selection Rules of Oriented Selection Set

`draping`

  Flag for using draping or not

`draping_direction`

  The direction in which the draping starts.

`draping_mesh_size`

  The mesh size for draping.

`draping_obj`

  Draping representation

`draping_seed_point`

  The seed point where the draping starts.

`element_sets`

  Element Sets of the oriented element set.

`elements`

  Elements of the Oriented Selection Set.

`normal_from_id`(id)

  Returns the element normal

`normals`

  Get the Normals of the Oriented Selection Set

`orientation_direction`

  The Orientation Direction of the Oriented Element set.

`orientation_point`

  The Orientation Point of the Oriented Selection Set.

`orientations`

  Get the oriented normals of the Oriented Selection Set

`ref_directions`

  Get the Refernce Directions of the Oriented Selection Set

`reference_direction_field`

  a look-up table column or None for external reference directions

`remove_element_set`(element_set)

  Remove Element Set from Oriented Selection Set

`remove_rosette`(rosette)

  Remove Rosette from Oriented Selection Set

`remove_selection_rule`(rule)

  Remove Rule from Oriented Selection Set

`rosette_selection_method`

  Selection Method for Rosettes of the Oriented Selection Set.

`rosettes`

  Rosettes of the Oriented Selection Set.

`save_flat_wrap`(filename)

  Write the flatwrap to DXF, IGES or STEP file

  Parameters

  - filename : Path to the file to be writen

`selection_rules`

  Selection Rules of the Oriented Selection Set.

`serialize`()

  Serialize to Python string

`write_boundaries`(filename, format=None)

  Write boundaries in iges/step format :Parameters: - filename : output file - format : 'iges', 'step', None (automatic format recognition)

Release 18.2 - © ANSYS, Inc. All rights reserved.