Navisworks API

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

NavisworksViewerControl to view/open an IFC file

303 Views, 1 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,254
Registered: ‎06-12-2011
Message 2 of 2 (291 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

You are not logged in.

Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register

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 to get help installing your software.

Ask the Community