create_oriented_selection_set#
- Model.create_oriented_selection_set(*, name='OrientedSelectionSet', element_sets=(), orientation_point=(0.0, 0.0, 0.0), orientation_direction=(0.0, 0.0, 0.0), rosettes=(), rosette_selection_method='minimum_angle', selection_rules=(), draping=False, draping_seed_point=(0.0, 0.0, 0.0), auto_draping_direction=True, draping_direction=(0.0, 0.0, 1.0), use_default_draping_mesh_size=True, draping_mesh_size=0.0, draping_material_model='woven', draping_ud_coefficient=0.0, rotation_angle=0.0, reference_direction_field=None)#
Instantiate an Oriented Selection Set.
- Parameters:
name (str) – The name of the Oriented Selection Set.
element_sets (Sequence[ElementSet]) – Element Sets on which the Oriented Selection Set is defined.
orientation_point (tuple[float, float, float]) – The Orientation Point of the Oriented Selection Set.
orientation_direction (tuple[float, float, float]) – The Orientation Direction of the Oriented Element set.
rosettes (Sequence[Rosette]) – Rosettes of the Oriented Selection Set.
rosette_selection_method (RosetteSelectionMethod) – Selection Method for Rosettes of the Oriented Selection Set.
selection_rules (Sequence[ParallelSelectionRule | CylindricalSelectionRule | SphericalSelectionRule | TubeSelectionRule | GeometricalSelectionRule | VariableOffsetSelectionRule | BooleanSelectionRule]) – Selection Rules which may limit the extent of the Oriented Selection Set.
draping (bool) – If
True
, activate draping to adjust the reference directions.draping_seed_point (tuple[float, float, float]) – Starting point of the draping algorithm.
auto_draping_direction (bool) – If
True
, the reference direction of the Oriented Selection Set at the seed point is used as draping direction.draping_direction (tuple[float, float, float]) – Set the primary draping direction for the draping algorithm. Only used if
auto_draping_direction
isFalse
.draping_mesh_size (float) – Defines the mesh size for the draping algorithm. If set to
-1.
, the mesh size is automatically determined based on the average element size.draping_material_model (DrapingMaterialModel) – Chooses between different draping formulations.
draping_ud_coefficient (float) – Value between
0
and1
which determines the amount of deformation in the transverse direction if the draping material model is set toDrapingMaterialModel.UD
.rotation_angle (float) – Angle in degrees by which the initial reference directions are rotated around the orientations.
reference_direction_field (LookUpTable1DColumn | LookUpTable3DColumn | None) – A 3D lookup table column that defines the reference directions.
- Return type:
Added in ACP server version 24.2.