Announcements

Starting in December, we will archive content from the community that is 10 years and older. This FAQ provides more information.

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: 

ActiveX control in Visual Studio

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

ActiveX control in Visual Studio

HI


I have already ActiveX control works without any problem, the buttons are all functions works good  but when I load a model from the model cartepain visual studio I get the model not only I get the driver window (blackbackground NavisWorks) as I fix this?

 

thanks

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

Hi,

 

If a control is embedded to a web application (e.g. HTML) and try to open the model, sometimes to be aware:

 

1)      Before 2012, the controls do not work with relative path if the HTML locates in client machine. It can work with absolute path. The workaround is to pop out a dialog to ask the user to select the file and return the absolute path to set Control.SRC. The problem is fixed with 2012 control.

2)      No matter before or after 2012, the control works well with relative path if the HTML locates in server machine and the user accesses the HTML on client machine.

3)      If you find the screen is black, that means the model is not found. You may probably hit the problem in 1). You could also press Shift, Ctrl, Alt and E together while focusing the control, in order to know the path (see attached screenshot)

 

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