Navisworks API

Reply
New Member
Posts: 1
Registered: ‎08-23-2012
Message 1 of 2 (162 Views)

navis 2012 .net api: how to use contextMenu with viewControl

162 Views, 1 Replies
08-23-2012 12:41 AM

hi there,

i'm trying to use a context menu with the viewControl. i have a fine context menu and i have assigned it to the contextMenu property of the viewControl. if i rightClick into the control nothing happens.

does someone know of an example that employs context menus with the navis .net view control?

thanks for the help, and kind regards

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

Re: navis 2012 .net api: how to use contextMenu with viewControl

08-28-2012 01:59 AM in reply to: abo815

Unfortunately, the overridden methods which derive from Windows control have not been implemented in .NET control of Navisworks. So you cannot use these methods, including mouse events, key events etc.

 

The only practice I can think of is to take advantage of the context menu events of the Form.



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
Welcome to the new Autodesk Community!
If this is your first visit, click here to get started and make the most of the Community. Let us know what you think of the new experience in the Community Feedback Forum.

Need installation help?

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

Ask the Community