Search found 2 matches

by MadCAM
Thu Sep 12, 2024 5:10 am
Forum: DG Kernel discussions
Topic: 3D position of mouse pointer
Replies: 1
Views: 1404

Re: 3D position of mouse pointer

There is IView_DG.ScreenTo3D, but I did not find it very useful.

What you probably need is selection. See the Pick sample. C# PickForm.GetObjectAt() does the job with IPick_DG.GetEntityAt(), which returns both the entity under the mouse and the point on its surface.