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: 

How to integrate Naviswork viewer.?

1 REPLY 1
Reply
Message 1 of 2
Anonymous
591 Views, 1 Reply

How to integrate Naviswork viewer.?

I have installed Naviswork ActiveX control and integrated in my web application using <object> tag. While running my application, it installs and allows to run ActiveX control in my application. But still the Naviswork viewer cannot display the naviswork files in my application. Rather it shows a black screen only. Kindly need your help. Suggestions please..

 

Thanks,

Baki.

1 REPLY 1
Message 2 of 2
xiaodong_liang
in reply to: Anonymous

hi,

 

Basically, the black screen means:

1)      The control is installed

2)      The model cannot be found.

 

As I know, there is an issue with ActiveX control in 2011: the relative path cannot be found when you open the html of client machine. i.e. the model locates on client. (note: the relative path can work if you open an html of server, i.e. the model locates on server ). The issue has been fixed in 2012. So:

 

1)      Try to switch to absolute path to see if it helps.

2)      If you need to open html of client machine and do not like to use absolute path, the workaround is to pop out a file dialog to ask user to select the file. Thus the code can get the absolute path.

3)      if possible, try it with ActiveX of 2012

 

Regards,

Xiaodong Liang

Developer Technical Services

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report