GeometryRayCastSettings#

class ansys.mechanical.stubs.v242.Ansys.Mechanical.Selection.GeometryRayCastSettings#

Bases: object

GeometryRayCastSettings class.

Overview#

CastLength

Optional; specifies maximum axial distance from BoundVector origin.

CastRadius

Optional; specifies maximum radial distance from BoundVector.

HitBodies

Specifies whether ray casting should hit bodies.

HitEdges

Specifies whether ray casting should hit edges.

HitFaces

Specifies whether ray casting should hit faces.

HitVertices

Specifies whether ray casting should hit vertices.

MaxHits

Specifies maximum number of ray casting hits.

Property detail#

property GeometryRayCastSettings.CastLength: Ansys.Core.Units.Quantity | None#

Optional; specifies maximum axial distance from BoundVector origin. Defaults to maximum needed length.

property GeometryRayCastSettings.CastRadius: Ansys.Core.Units.Quantity | None#

Optional; specifies maximum radial distance from BoundVector.

property GeometryRayCastSettings.HitBodies: bool | None#

Specifies whether ray casting should hit bodies. Defaults to false.

property GeometryRayCastSettings.HitEdges: bool | None#

Specifies whether ray casting should hit edges. Defaults to false.

property GeometryRayCastSettings.HitFaces: bool | None#

Specifies whether ray casting should hit faces. Defaults to true.

property GeometryRayCastSettings.HitVertices: bool | None#

Specifies whether ray casting should hit vertices. Defaults to false.

property GeometryRayCastSettings.MaxHits: int | None#

Specifies maximum number of ray casting hits. Defaults to 1000.