Navisworks API

Reply
Member
scott.cleveland
Posts: 4
Registered: ‎03-09-2001
Message 1 of 2 (346 Views)

Mouse Control and Events in Navisworks API

346 Views, 1 Replies
02-04-2013 08:48 AM

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…

ADN Support Specialist
xiaodong.liang
Posts: 1,303
Registered: ‎06-12-2011
Message 2 of 2 (318 Views)

Re: Mouse Control and Events in Navisworks API

02-19-2013 02:41 AM in reply to: scott.cleveland

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.



Xiaodong Liang
Developer Technical Services
Autodesk Developer Network

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.