HI everyone,
Using the OOTB Revit - Exports dashboard i noticed that it never capture the export of .nwc file.
Is anyone encountering this issue? and has a work around?
Under Discover tab, i try to understand what is happening when exporting to ,nwc file, and it always report under “action.name = Failure” while on all other export it provide “action.name = File Exported” (IFC, DWG, DWF…etc).
Am i missing anything?
i try to capture duration of export to ifc and nwc per project and file.
@fherbere I am going to guess that the NWC export is executed via the “Navisworks NWC Export Utility” that you can download from here: Navisworks 3D Viewer | Download Free Navisworks Freedom | Autodesk Even though the exporter for NWC files is created and distributed by Autodesk it’s not a native Revit exporter so it doesn’t behave the same way as a DWG or PDF exporter that is built into Revit. It’s simply a 3rd party plugin, just like any other plugin installed into Revit. It doesn’t generate the same “File Exported” event as other native exports do. I am sorry, but there isn’t anything that we can do about that.
However, it is possible to see when that exporter is used by looking into the “revit-journal” list of external commands that were executed in Revit. This particular command is called ID_EXPORT_NAVISWORKS so you can see when it’s executed like this:
Unfortunately, these Journal events do not have a context, so you don’t know what the name of the file exported was, or what file it was exported from. One thing that I can think of here is that these exports have a transaction name called “Navisworks21” and that is being captured by the “revit-log”. If you filter for TransactionCommited action and Navisworks21 transaction name then you should be able to find out what file these exports are created from:
I hope this helps. Again, this limitation for NWC exports is due to the exporter not being a native Revit tool, but rather it being just a simple plugin.
@ksobon ,
Thank you for your clear response. I didnt realize that the naviswork exporter is an actual 3rd party plugin, it make sense.
I look at the “revit-journal” and the “revit-log” as you show above and I thought i would get the same number of hits within the same time range. Oddly i don’t, the “revit-journal” give me 14 hits while the “revit-log” give me only 9. any particular reason?
Also i dont see a way possible to capture the duration the Naviswork Exporter run to complete the task. Is there any way to do it? or to capture it in future version?
@fherbere it can be a different number of TransactionCommited events than ID_EXPORT_NAVISWORKS command events. That’s because the journal source captures when you press the export button, at this point, you can also cancel out of the pop-up window. The TransactionCommited event should only be there if you were to follow through on the export. That makes the TransactionCommited event from the revit-log a more reliable indicator of how many exports were actually done.
I don’t think we can capture any details of how long things take with 3rd party plugins. We just don’t have access to their inner workings.