.. vale off :class:`SelectionHelper` ======================== .. py:class:: ansys.mechanical.stubs.v241.Ansys.Mechanical.Selection.SelectionHelper Bases: :py:obj:`object` SelectionHelper class. .. !! processed by numpydoc !! .. py:currentmodule:: SelectionHelper Overview -------- .. tab-set:: .. tab-item:: Constructors .. list-table:: :header-rows: 0 :widths: auto * - :py:attr:`~CreateVector3D` - Creates a Vector3D object based on the given selection and reverse flag. * - :py:attr:`~CastRayOnGeometry` - Finds geometry entities intersecting input BoundVector and returns them in list of GeometryRayCastHit. Method detail ------------- .. py:method:: CreateVector3D(selection: Ansys.ACT.Interfaces.Common.ISelectionInfo, reversed: System.Boolean) -> Ansys.ACT.Math.Vector3D :classmethod: :no-index: .. code-block:: text Creates a Vector3D object based on the given selection and reverse flag. The direction is computed as the outward normal of a planar face, the direction between two nodes or vertices from the first to the second, or the axis of an edge. The reversed flag will return the opposite of the computed direction. .. !! processed by numpydoc !! .. py:method:: CastRayOnGeometry(castVector: Ansys.Mechanical.Math.BoundVector, settings: Ansys.Mechanical.Selection.GeometryRayCastSettings) -> System.Collections.Generic.IEnumerable[Ansys.Mechanical.Selection.GeometryRayCastHit] :classmethod: :no-index: .. code-block:: text Finds geometry entities intersecting input BoundVector and returns them in list of GeometryRayCastHit. These are returned in the order they are hit, each item containing the entity and BoundVector normal to point hit. .. !! processed by numpydoc !! .. vale on