Navisworks API

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

Mouse Control and Events in Navisworks API

318 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,263
Registered: ‎06-12-2011
Message 2 of 2 (290 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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.

Need installation help?

Start with some of our most frequented solutions to get help installing your software.

Ask the Community