Autodesk Navisworks API
- Subscribe to RSS Feed
- Mark Topic as New
- Mark Topic as Read
- Float this Topic to the Top
- Bookmark
- Subscribe
- Printer Friendly Page
Navisworks ActiveX Control
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi,
I've been using the 2013 Navisworks Redistributable Active X Control within a C# Asp.Net page, which I've managed to do. But I'm having some problems when trying to add controls to select a different .nwd file to view.
I've created a dropdown list and use some Javascript to set my control source (mycontrol.src) to a selected file. But when the function is fired I get an error saying the control is undefined.
Seems strange as within Visual Studio the control is accessible and all the intellisense is available.
Has anyone done anything similar, or have any advice?
For the record, I had no idea what Navisworks was until a few days ago!
Incidentally, for anyone else looking to do the same Xiaodong Liang has some really helpful posts here http://adndevblog.typepad.com/aec/2012/05/naviswor
Thanks in advance for any assistance.
John
Re: Navisworks ActiveX Control
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi John,
This is the first time I heard such issue. I am intersted in giving a test. Could you tell me which Redis control you are using , SDI or MDI? In addition, are you running locally or you have published it to server?
Xiaodong Liang
Developer Technical Services
Autodesk Developer Network
Re: Navisworks ActiveX Control
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi Xiaodong,
I think maybe this was my misunderstanding of activex controls. I think the problem was I was trying to access the control and pass parameters using Javascript.
I think though that there is no real point in making an asp.net page for the redistributable ActiveX, would you agree?
If it's only possible to access the control using vbscript anyway, then a simple html page with vbscript is all you can do it would seem?
I think if we can somehow use the Integrated API within a silverlight application we could make something useful.
I would be very interested in your thoughts.
Thanks...
John
Re: Navisworks ActiveX Control
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi John,
I do not think this problem you reported is related with the difference of Redis and Intergrated control. If you would like to know more of them, please refer to these blogs:
http://adndevblog.typepad.com/aec/2012/05/naviswor
http://adndevblog.typepad.com/aec/2012/05/web-serv
- making an asp.net page for the redistributable ActiveX
I think it is OK. I vaguely remember I did so in the past.
- access the control using vbscript only?
Javascript is also supported. e.g. this blog demos:
http://adndevblog.typepad.com/aec/2012/05/search-c
- use the Integrated API within a silverlight application
sorry i have not an info at this moment
Xiaodong Liang
Developer Technical Services
Autodesk Developer Network
Re: Navisworks ActiveX Control
- Mark as New
- Bookmark
- Subscribe
- Subscribe to RSS Feed
- Highlight
- Email to a Friend
- Report Inappropriate Content
Hi Xiaodong,
Thank you very much for your reply. I will look at those links and report back with how I get on.
Thanks once again...
John

