RTV Tools

Wednesday, December 3, 2014

Turn off or Batch Delete Light Sources when Exporting from Revit 2015 to NWC and Appending to Navisworks 2015

The problem - Appending a given NWC creates hundreds of lights in your NWF, as they were exported with light sources from Revit:

Update: scroll to the bottom of the Autodesk Rendering, Lights pane and select the last entry. Press and hold the Delete key on the keyboard - it will rapidly delete lights out of the Navisworks model.

One way to get rid of all these light sources is to use a macro recorder to delete them all. This is because Navisworks 2015 does not allow you to delete multiple light sources at once (sadface), and it doesn't allow you to "Clear Palette" like Presenter did.

The immediate workaround is to use Shaded mode with Headlight only, as this ignores Light sources. Not pretty.

You could also down-save to 2013, delete the lights in Presenter, then save-up to 2015, but that seems a little too hacky, even for me.

Here's the clicky mouse macro method:
  1.  Install MouseController (I used choco install mousecontroller)
  2. Open the problem NWF
  3. When it "Can't resolve external references" for each .ies file, just click Ignore All
  4. Set up a macro to delete lights (see the Screencast below)
  5. My best result was using Time Stretch 3.0x and Repeat every 0.8 seconds
  6. Set it and walk away from your PC for a bit

Some other things to try:
  1. Look for a light source subcategory in your NWC export view
  2. Turn it off
  3. Re-export
  4. Append to a brand new NWF and see if the lights show up in Autodesk Rendering
Another thing to try:
  1. Navisworks Exporter settings/File Reader/Revit
  2. Untick "try and find missing materials". Make sure that box is NOT checked.
  3. Also turn off light source as in step 1 above.
  4. Re-export
  5. Append to a brand new NWF and see if the lights show up in Autodesk Rendering
Some of the bugs that might show up:
Missing IES file references

Regenerating thumbnail image ...

The only real fix (at this stage) is to open each Lighting Family and untick Light Source. Obviously, this is not really an option if you are doing lighting analysis or using the lights for rendering in Revit or 3dsMax etc:

Related forum links:


Visible Light Source - Autodesk Community

No comments:

Post a Comment