Mouse Control and Events in Navisworks API

Mouse Control and Events in Navisworks API

Anonymous
Not applicable
1,621 Views
2 Replies
Message 1 of 3

Mouse Control and Events in Navisworks API

Anonymous
Not applicable

Have written a plugin where I use both .NET and COM to create Hyperlinks. Would like to get feedback from user to get location to add links but can't see how to do w/ non ActiveX interface. Assuming ActiveX Control is not applicable when inside Navisworks application. Would like to get a click event and location where user picks location on selected model. Can this be done? Thanks in advance…

0 Likes
1,622 Views
2 Replies
Replies (2)
Message 2 of 3

xiaodong_liang
Autodesk Support
Autodesk Support

Hi,

 

- no mouse/keyboard events in .NET API (.NET control) in current releases

 

- with ActiveX control, you could try wtih InwControl.PickPixel . i.e. firstly get a 2d points from mouse event of control, next call this method to ge the 3d information. Hope it helps.

0 Likes
Message 3 of 3

DHANANJAYKRPANDEYUZB9X
Contributor
Contributor

Hi 

 

Mouse Control and Events are still not available in Navisworks API.

I am using Viewer Control and I want to triggers mouse click event on screen.

how to do that please help me