By Adam Nagy
I would like to show extra properties in the UI when a specific model item is selected.
Solution
With the COM API you can add a Property plugin. There’s a VB6 example in the api folder: "C:\Program Files\Autodesk\Navisworks Manage 2011\api\COM\examples\PLUGIN_05".
A Property plugin dynamically makes extra properties appear as if they were part of the original CAD model. The properties are never saved into the actual model.
Such properties are visible through native searches and the .NET / COM API’s.
The above is not possible at the moment with the .NET API (NW 2011/2012), however you can create a COM Plugin using .NET as well.
Attached is a .NET version of the above mentioned sample. This too requires gatehouse.mdb and gatehouse.nwd from "C:\Program Files\Autodesk\Navisworks Manage 2011\api\COM\examples" folder for testing.
In case of using Navisworks version other than 2011 you need to update the "Register Plugin.reg" file with the correct registry path.
Here is the sample: Download Nwpropertyplugin_nw2011