Navisworks API

Navisworks API

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

NavisworksViewerControl to view/open an IFC file

415 Views, 3 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,335
Registered: ‎06-12-2011
Message 2 of 4 (403 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 4 (99 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.

ADN Support Specialist
xiaodong.liang
Posts: 1,335
Registered: ‎06-12-2011
Message 4 of 4 (40 Views)

Re: NavisworksViewerControl to view/open an IFC file

09-29-2014 09:33 PM in reply to: vkasireddy
Hi Irvin,

Sorry for my late response! And it looks your case was not escalated to subscription center, either.
if you still have the problem to see IFC geometries, could you share a copy? I can test it at my side.
As to embed Navisworks to WPF, sorry there is not such way currently. We have logged a wish to expose Viewcube and Navigation bar for .NET control. As this moment, you will have to implement the relevant menus yourself.


Xiaodong Liang
Developer Technical Services
Autodesk Developer Network

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.