VB.Net & Interaction Events
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi
I am currently using the Interaction Event & clsSelect class from the API. In VBA, it works perfectly but in VB.Net, it doesn't behave the same......
I am collection a mouse point click. In VBA, I get a prompt message & views / curves will highlight as my mouse passes over them. In VB.Net, this is different.
Option 1.
I can move my mouse around with my text prompt but nothing highlights. No views, Edges, curves, nothing. (becomes awkward when I want to attach something to an edge.
Option 2.
I can use 'PointInferenceEnabled = True'. This then allows the views / edges to highlight as my mouse moves over them but.... I lose the text prompt...
So, what am I doing wrong? I have ttried turning on SelectEvents, Turning off SelectEvents, Tried SingleSelection, Turned that off too. Pretty much everything I feel has been tried but its not working as it should (or at least as I think it should).
what is the method? does anyone have a VB.Net version of the interaction events that works as it should? I'd be most grateful 🙂
I have attached 2 small videos to demonstrate. Video VBA version shows how it should behave, Video VB.Net version shows how it doesn't behave correctly. Both versions have pretty much the same coding except the the VB.Net has the correct full declarations.
Cheers
Nacho
Nacho
Automation & Design Engineer
Inventor automation Programmer (C#, VB.Net / iLogic)
Furniture, Sheet Metal, Structural, Metal fab, Tradeshow, Fabrication, CNC
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.