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 API for Active X Plugin

3 REPLIES 3
Reply
Message 1 of 4
johnyan29
829 Views, 3 Replies

Navisworks API for Active X Plugin

Hi does anyone know if the ActiveX Plugin itself have an API or is the API only for the Navisworks Application itself?

 

thanks,

John

3 REPLIES 3
Message 2 of 4
xiaodong_liang
in reply to: johnyan29

Hi,

 

Sorry, could you elaborate the question?

 

ActiveX plugin is also a type of plugin. It can only be used in the host (Naivisworks). The API of an ActiveX plugin uses the API of COM, like what ActiveX control or Automation uses. i.e. Navisworks provides COM API. ActiveX plugin is just one way to access the API. But it can only be used within Navisworks, instead of any other hosts (EXE).

Message 3 of 4
johnyan29
in reply to: johnyan29

Thanks for the reply Xiao Dong.

 

I actually have a new issue.  It seems that when we open an NWD file through the Navisworks ActiveX, more data is downloaded than just the file itself.

 

We did a test where for example, we try to open up a 1MB file through the browser using the ActiveX plugin but it actually dowloads about 10MBs worth of data.

 

Do you know what can be causing this?  Please let me know.

 

thanks,

John

Message 4 of 4
xiaodong_liang
in reply to: johnyan29

Hi,

 

I seemed not to have seen such behavior. Can you see this with any model such as the samples provided by Manage/Simulate?

 

But probably the comments of our engineer would help a bit for your to know something about the machanism in the background:

 

Theoretically when opening a URL, it’s the same in both the ActiveX control and the main products. An initial proportion of the file  is downloaded up front (this contains the layout and more…). After that  model opens and geometry is streamed down in a prioritised way as required, any downloaded data is cached to disk. The size of the initial download is model specific. We know what size the file is, so we make a temp file the same size. Most of it is empty when you first open the model. We pull down data as required and populate it.

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

Post to forums  

Rail Community


Autodesk Design & Make Report