- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello Everyone,
I would like to show a dynamic text when moving the cursor over a component in the assembly context.
Please help me in this case.
Thank you.
Autodesk User
Solved! Go to Solution.
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Are you looking to do something specific with the text, is it for on screen labelling? Would the face attribute sets work for the text? Is it to work with embossing at the part level? For a rule to be active and highlight the text you might be looking at Add-in territory. There could be other methods based on the end goal.
https://forums.autodesk.com/t5/inventor-customization/ilogic-pick-function/td-p/7550908
Or if this helped you, please, click (like)
Regards
Alan
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
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
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
for the text you can have a look at my blog. i did write a post about adding labels to faces. you can use that code then you only need to figure out how to show the text when hovering over a face.
Jelte de Jong
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.
Blog: hjalte.nl - github.com