Autodesk Navisworks API
Reply
Topic Options
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
navis 2012 .net api: how to use contextMen u with viewContro l
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
120 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
Re: navis 2012 .net api: how to use contextMen u with viewContro l
Options
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
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

