How to get a single object (TsgDXFInsert) from many 3D objects (STEP)
Moderators: SDS, support, admin
-
- Posts: 8
- Joined: 28 Jan 2022, 15:35
How to get a single object (TsgDXFInsert) from many 3D objects (STEP)
I have a question about a possibility to get a single 3D object (TsgDXFInsert*) by mouse click on Tsg3DDrawingNavigator.
Shortly - I have a drawing navigator (Tsg3DDrawingNavigator*) where are many 3D objects. All of them are displayed and all of them existing as inserts (TsgDXFInsert*). Every insert contains many single entities: triangles (TsgDXF3dFace*) and polylines (TsgDXFPolyline*). I can have an access to this insert via pointer (TsgDXFInsert*) kept in the memory. That's no problem.
But - how to get an access to some object by mouse clicking (on the navigator)?
Maybe there are some methods which could return the pointer (TsgDXFInsert*) after mouse click from the navigator (Tsg3DDrawingNavigator)?
Another approach?
Thank you for any help!
Mariusz
Shortly - I have a drawing navigator (Tsg3DDrawingNavigator*) where are many 3D objects. All of them are displayed and all of them existing as inserts (TsgDXFInsert*). Every insert contains many single entities: triangles (TsgDXF3dFace*) and polylines (TsgDXFPolyline*). I can have an access to this insert via pointer (TsgDXFInsert*) kept in the memory. That's no problem.
But - how to get an access to some object by mouse clicking (on the navigator)?
Maybe there are some methods which could return the pointer (TsgDXFInsert*) after mouse click from the navigator (Tsg3DDrawingNavigator)?
Another approach?
Thank you for any help!
Mariusz
Re: How to get a single object (TsgDXFInsert) from many 3D objects (STEP)
Hi Mariusz,
This possibility is demonstrated in our demo project ...Delphi\Demos\3D. Please take a look at the Tsg3DDrawingNavigator.OnPickObject event.
Kind regards,
Svetlana
This possibility is demonstrated in our demo project ...Delphi\Demos\3D. Please take a look at the Tsg3DDrawingNavigator.OnPickObject event.
Kind regards,
Svetlana
Technical Support E-mail: support@cadsofttools.com
Chat support on Skype: cadsofttools.support
Chat support on Skype: cadsofttools.support
-
- Posts: 8
- Joined: 28 Jan 2022, 15:35
Re: How to get a single object (TsgDXFInsert) from many 3D objects (STEP)
Thank you Svetlana!