Community
Navisworks API
Welcome to Autodesk’s Navisworks API Forums. Share your knowledge, ask questions, and explore popular Navisworks API topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Navisworks ActiveX Control

4 REPLIES 4
Reply
Message 1 of 5
johncondron
2166 Views, 4 Replies

Navisworks ActiveX Control

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/navisworks-activex-controls.html

 

Thanks in advance for any assistance.

 

John

4 REPLIES 4
Message 2 of 5

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?

Message 3 of 5

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

 

 

Message 4 of 5

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/navisworks-activex-controls.html

http://adndevblog.typepad.com/aec/2012/05/web-server-with-navisworks-activex-control.html

 

-  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-compnents-in-javascript.html

 

- use the Integrated API within a silverlight application

  sorry i have not an info at this moment

 

Message 5 of 5

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

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report