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.
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.
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.