Skip to main content

Mechanical scripting interface 2025

`GeometryRayCastHit`

Last update: 09.03.2026

class Ansys.Mechanical.Selection.GeometryRayCastHit

Bases: object

GeometryRayCastHit, contains geoEntity and vector normal

Overview

Properties

Name Description
Entity Geometry entity hit by ray cast
HitVector BoundVector with location and normal direction on geometry entity to ray cast

Property detail

property GeometryRayCastHit.Entity : Ansys.ACT.Interfaces.Geometry.IGeoEntity | None

Geometry entity hit by ray cast

property GeometryRayCastHit.HitVector : Ansys.Mechanical.Math.BoundVector | None

BoundVector with location and normal direction on geometry entity to ray cast

Connect with Ansys