Category: Navisworks
-
Create .NET view control at runtime on 64bits
By Xiaodong Liang Typically, to work with the application of view control of .NET, we need to add the control to our application (say an Windows Form) firstly. In the designer of Visual Studio, we will add the reference Autodesk.Navisworks.Controls.dll. It will generate two controls ( View control and Document control ) in the designer:…
-
Create Quick Properties
By Xiaodong Liang From product help: When Quick Properties are switched on, you can view property information in a tooltip style window as you move your cursor over objects in the Scene View. You don’t need to select objects first. The quick properties tooltip disappears after a few seconds. By default, quick properties show the…
-
Determining Version of Roamer.exe used to create NWD from NWF
By Saikat Bhattacharya In the Auto_08.vbs sample in Navisworks Manage 2012 (or the AutoPublishScriptExample sample in Navisworks 2013), which can be located from the Navisworks install folder location (typically under Navisworks 2012\api\COM\examples location) – the VB Script file takes an input file and creates an expiring output file using the Publish API. If a system…
-
Updating saved viewpoints through Navisworks .NET API
By Saikat Bhattacharya Is it possible to update saved viewpoints in Navisworks through the .NET API after they have been created. For example, if we want to update views after hiding some objects. Navisworks .NET API includes a method called DocumentSavedViewpoints.ReplaceFromCurrentView(). This method can help replace the SavedViewpoint that is being passed on to this…
-
manipulate camera in COM API
By Xiaodong Liang .NET API has exposed the ability of viewpoint camera. There are some blogs: Navisworks .NET API 2013 new feature – Viewpoint 1 Navisworks .NET API 2013 new feature – Viewpoint 2 In COM API, there are some objects which can also manipulate camera. This is a demo sample Download Manipulat_ecamera_plugin_vs2010 In the…
-
use Or condition for Finding with COM API
By Xiaodong Liang Issue I create two find conditions and add into find spec. So it means condition1 "AND" with condition2. How can I make condition1 "OR" with condition2? "(A or B)" Solution InwOpFindCondition has a property [StartGroup] that can be used to do this: "Set to FALSE to start new group of conditions. Conditions…
-
Navisworks just displays basic geometry of custom entity
By Xiaodong Liang Issue I created an ObjectDBX for a custom circle, which is derived from AcDbCircle. I have a DWG which contains my custom circle. When I opened this DWG in Navisworks, it only displays the base geometry, circle. The custom geometry is missing. What is going on? Solution When Navisworks displays AutoCAD entities,…
-
CodeRun sample cannot work with VS2012
By Xiaodong Liang Issue I am able to run the AppInfo sample project, but not able to run the CodeRun example in the Navisworks 2013 API. What I did is open the Examples.sln solution with all the examples in VS2012. I have put the CodeRun.ADSK.dll and CodeRunLib.dll in the correct folder. I am able to…
-
Missing object enabler for application
By Xiaodong Liang Issue I created an ObjectDBX for a custom object. When the DWG is opened in Navisworks, the custom geometry is not shown and [View]–>[Scene Statistics] reports an error: Missing object enabler for application "MyCustomerObjectApp……” How can I make my OE to work with Navisworks? Solution:Basically, Navisworks uses RealDWG to read DWG…
-
Display Custom Properties of DWG in Navisworks – 2
By Xiaodong Liang (continued with Display Custom Properties of DWG in Navisworks – 1) To Create a COM Wrapper for the custom entity, you can either place the COM implementation in an ARX project or in the same ObjectDBX project where your custom entity exists. Here we are going to see how to place the…

You must be logged in to post a comment.