02-13-2021
05:43 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
02-13-2021
05:43 AM
I don't know if there's an easier solution, but in VBA:
- To show text, you could take a look at Client Graphics. It provides the ability to dynamically display custom
graphics in the Inventor modeling window. These graphics include text. - To have Inventor react to mouse hover / over events, you could take a look at Interaction Events. It provides the ability to obtain input from the user. This includes selecting objects, various mouse inputs, and using the keyboard.
I have combined both subjects in a macro which displays a center line (client graphics) when a user hovers on/over a curved face (selection event).
Autodesk's online help system has an article on Client Graphics, you can find it here: https://help.autodesk.com/view/INVNTOR/2018/ENU/?guid=GUID-9589673E-C341-4A33-A984-116158D11D7F
And for Interaction Events, you can find it here: https://help.autodesk.com/view/INVNTOR/2018/ENU/?guid=GUID-BC017BE0-CF5F-4CF3-8181-A2FB52B1D0F8