Some kind of weird behaviour from Navis FBX export plugin (confined objects aren't exported)
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello.
I'm an experienced software engineer and I have decent experience on Revit API too. Now my job requires me to make a Navis plugin too for exporting models as FBX but I have hit a serious road block. I hope someone here can help me.
Using the existing Navis FBX export plugin, I'm able to export the current model via this code block:
var FbxPluginRecord = Application.Plugins.FindPlugin("NativeExportPluginAdaptor_LcFbxExporterPlugin_Export.Navisworks");
if (!FbxPluginRecord.IsLoaded) FbxPluginRecord.LoadPlugin();
var FbxPlugin = (NativeExportPluginAdaptor)FbxPluginRecord.LoadedPlugin;
FbxPlugin.Execute(@"E:\Windows\Onur\Desktop\something.fbx");
The problem I'm experiencing is that... Navis is not exporting the visually confined objects into the FBX file. For example, the framing beams inside of a wall aren't exported. I guess Navis is doing some kind of optimization without asking me if I want that behavior or not.
I tried finding a documentation for NativeExportPluginAdaptor class or its ExportType property which has a type of Autodesk.Navisworks.Api.Interop.LcOpPluginCaps but no luck. There seems to be no documentation available online. I checked the local documentation which comes with Navis SDK installer too. Nothing there either.
I checked the default Navis UI for exporting an FBX and in that window, there is no option for excluding/including confined objects either.
Am I out of luck? Should I tell my boss Navis can't export the invisible objects (due to being confined by other objects) ?
Thank you for your help in advance.