Navisworks API

Navisworks API

Reply
Distinguished Contributor
Irvin
Posts: 112
Registered: ‎04-22-2009
Message 1 of 3 (351 Views)

NavisworksViewerControl to view/open an IFC file

351 Views, 2 Replies
12-21-2012 02:10 AM

Hello,

 

I’ve got a question about the navisworksviewercontrol which we want embedded in our software.

 

What is needed to use this control and open and view an ifc model? So how can we use this control to open and view ifc file and what is needed on the client side.

 

Hope the question is clear.

 

Kind regards,

 

Irvin

ADN Support Specialist
xiaodong.liang
Posts: 1,271
Registered: ‎06-12-2011
Message 2 of 3 (339 Views)

Re: NavisworksViewerControl to view/open an IFC file

01-07-2013 10:10 PM in reply to: Irvin

Hi,

 

The help reference has indicated it:

 

ApplicationControl has a ApplicationType property that allows developers to specify how many DocumentControls will be used in a given application. If this property is set to ApplicationType.SingleDocument, non-native file loaders and the Presenter materials will also be available. However using an additional DocumentControls will throw 'InvalidOperationException' exceptions when accessing the Documents of the additional DocumentControls.`

 

i.e. when you want to work with any type of files in a view control application, you must set  ApplicationType.SingleDocument.



Xiaodong Liang
Developer Technical Services
Autodesk Developer Network

New Member
vkasireddy
Posts: 1
Registered: ‎04-12-2014
Message 3 of 3 (35 Views)

Re: NavisworksViewerControl to view/open an IFC file

08-08-2014 07:55 PM in reply to: xiaodong.liang

Thanks. This helps loading the IFC file into the application and I can see the ifc items in the tree viewer (this was built in WPF using your example on typepad). However, in the model viewer, I cannot see my geometric objects at all. Can you help me understand how I can correctly visualize the 3D geometric objects in the model viewer? Also, is it possible to embed the entire Navisworks software into a WPF application including menus and other functionalities (without having to code for each and every functionality separately)? Thanks.

Announcements
Are you familiar with the Autodesk Expert Elites? The Expert Elite program is made up of customers that help other customers by sharing knowledge and exemplifying an engaging style of collaboration. To learn more, please visit our Expert Elite website.
Need installation help?

Start with some of our most frequented solutions or visit the Installation and Licensing Forum to get help installing your software.