# Export multiple revit files to nwc on background without opening revit

**URL:** <https://forum.dynamobim.com/t/export-multiple-revit-files-to-nwc-on-background-without-opening-revit/51569>\
**Category:** Revit\
**Tags:** revit\
**Created:** [June 8, 2020, 4:34pm UTC](https://forum.dynamobim.com/t/export-multiple-revit-files-to-nwc-on-background-without-opening-revit/51569 "2020-06-08T16:34:56Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Olaf\_Kappert](https://avatars.discourse-cdn.com/v4/letter/o/2bfe46/32.png) [@Olaf\_Kappert](https://forum.dynamobim.com/u/Olaf_Kappert)\
**Post date:** [June 8, 2020, 4:34pm UTC](https://forum.dynamobim.com/t/export-multiple-revit-files-to-nwc-on-background-without-opening-revit/51569/1 "2020-06-08T16:34:56Z")

</div>

I’m looking for a script that can open multiple revit files on the background and export them automatically to any nwc so i can build a nwf file from it. It would be nice if it works with files that are on the BIM360 environment

---

<div class="post-metadata">

**Author:** ![Alban\_de\_Chasteigner](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alban_de_chasteigner/32/39650_2.png) [@Alban\_de\_Chasteigner](https://forum.dynamobim.com/u/Alban_de_Chasteigner)\
**Post date:** [June 8, 2020, 4:47pm UTC](https://forum.dynamobim.com/t/export-multiple-revit-files-to-nwc-on-background-without-opening-revit/51569/2 "2020-06-08T16:47:06Z")

</div>

Hi @Olaf_Kappert,

Use the _Export NWC in Document_ of _Genius Loci_ package with the _Applications.OpenDocumentFile_ of Rhythm package.  
Not sure if it will work with the BIM360 environment.

---

<div class="post-metadata">

**Author:** ![matt.sawyers](https://avatars.discourse-cdn.com/v4/letter/m/6f9a4e/32.png) [@matt.sawyers](https://forum.dynamobim.com/u/matt.sawyers)\
**Post date:** [October 16, 2020, 4:26pm UTC](https://forum.dynamobim.com/t/export-multiple-revit-files-to-nwc-on-background-without-opening-revit/51569/3 "2020-10-16T16:26:21Z")

</div>

I have both of them nodes, but I am a novice at what I need to do with them. is there any way you can share your graph of a screenshot of your graph so I can try to replicate it? thanks

---

<div class="post-metadata">

**Author:** ![Alban\_de\_Chasteigner](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alban_de_chasteigner/32/39650_2.png) [@Alban\_de\_Chasteigner](https://forum.dynamobim.com/u/Alban_de_Chasteigner)\
**Post date:** [October 18, 2020, 9:07pm UTC](https://forum.dynamobim.com/t/export-multiple-revit-files-to-nwc-on-background-without-opening-revit/51569/4 "2020-10-18T21:07:01Z")

</div>

Hi @matt.sawyers,

Welcome to the Dynamo Forum !

Here is an example :

 ![Export NWC with several documents](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/7/172f897d52031acce618f0432a5bc1082cb86da7.png)  
[Export NWC with several documents.dyn](https://forum.dynamobim.com/uploads/short-url/sBKYWNruJcksQxThjukcwyBG6Ih.dyn) (29.4 KB)

---

<div class="post-metadata">

**Author:** ![paris](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/paris/32/144289_2.png) [@paris](https://forum.dynamobim.com/u/paris)\
**Post date:** [February 2, 2021, 6:44pm UTC](https://forum.dynamobim.com/t/export-multiple-revit-files-to-nwc-on-background-without-opening-revit/51569/5 "2021-02-02T18:44:29Z")

</div>

Hi @Alban_de_Chasteigner , great workflow thanks for your powerful graph, what about if the name of the 3D views in several Revit models is the same? For example the name is always “Navis” for the 3D views to export into NWC format file (actual I use the batch utility), how can I modify this graph? Maybe I have to use some rename node before generating the NWC’s file into folder? Thanks in advance. Cheers

---

<div class="post-metadata">

**Author:** ![Alban\_de\_Chasteigner](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alban_de_chasteigner/32/39650_2.png) [@Alban\_de\_Chasteigner](https://forum.dynamobim.com/u/Alban_de_Chasteigner)\
**Post date:** [February 2, 2021, 9:50pm UTC](https://forum.dynamobim.com/t/export-multiple-revit-files-to-nwc-on-background-without-opening-revit/51569/6 "2021-02-02T21:50:16Z")

</div>

Hi Stefano,

In my opinion, the best is to add to the name of the “Navis” view a suffix or prefix with the name of the model.  
You can obtain the document Name with the _Documents Properties_ node.

 ![Documents Properties](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/c/3cab41d5d0e8b5f6830120c8a46ed1218d590dc4.png)

---

<div class="post-metadata">

**Author:** ![paris](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/paris/32/144289_2.png) [@paris](https://forum.dynamobim.com/u/paris)\
**Post date:** [February 2, 2021, 10:29pm UTC](https://forum.dynamobim.com/t/export-multiple-revit-files-to-nwc-on-background-without-opening-revit/51569/7 "2021-02-02T22:29:44Z")

</div>

Hi @Alban_de_Chasteigner thanks for you reply I did something similar alredy with the “FileSystem.FileName” node and now with “Documents Properties”,in my session it doesn’t work as expected, maybe it’s a lacing problem, I’m looking for download a newest version of Genius Loci. Thanks for your efforts.

 ![Export NWC with several documents_v01_D203](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/6/b6b6de41ab91ccde6d03ea2621553556b8beea21.png) ![Export NWC with several documents_D203](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/c/6c830b4e601551fb262d8cb080f10915e1e0eb7b.png)

---

<div class="post-metadata">

**Author:** ![Alban\_de\_Chasteigner](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alban_de_chasteigner/32/39650_2.png) [@Alban\_de\_Chasteigner](https://forum.dynamobim.com/u/Alban_de_Chasteigner)\
**Post date:** [February 3, 2021, 8:45am UTC](https://forum.dynamobim.com/t/export-multiple-revit-files-to-nwc-on-background-without-opening-revit/51569/8 "2021-02-03T08:45:53Z")

</div>

It is working fine for me.  
Verify that the Navisworks Exporters for Revit is installed.

 ![Export NWC with several documents](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/e/4e759046614893086195693540c5fd887a05e661.png)  
[Export NWC with several documents.dyn](https://forum.dynamobim.com/uploads/short-url/aSQexhdhF0rOreiQ2sBtp3GH93S.dyn) (35.1 KB)

---

<div class="post-metadata">

**Author:** ![paris](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/paris/32/144289_2.png) [@paris](https://forum.dynamobim.com/u/paris)\
**Post date:** [February 3, 2021, 1:53pm UTC](https://forum.dynamobim.com/t/export-multiple-revit-files-to-nwc-on-background-without-opening-revit/51569/9 "2021-02-03T13:53:59Z")

</div>

Hi @Alban_de_Chasteigner my bad 🤦‍♂️ in my script the input “ExportScope” and “ChooseCoordinates” are inversed! Now it’s work like a charm, I have only last question always there is an avertissement like like ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/5/35dd5b6e5e8985ad7b84b70dda1f0f8498612bba.png) I don’t know why, after validate, the script run correcty the NWC’s file. Thank you very much. Cheers

---

<div class="post-metadata">

**Author:** ![Alban\_de\_Chasteigner](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/alban_de_chasteigner/32/39650_2.png) [@Alban\_de\_Chasteigner](https://forum.dynamobim.com/u/Alban_de_Chasteigner)\
**Post date:** [February 3, 2021, 2:01pm UTC](https://forum.dynamobim.com/t/export-multiple-revit-files-to-nwc-on-background-without-opening-revit/51569/10 "2021-02-03T14:01:11Z")

</div>

This irritating message also appears with the native Navisworks export function in Revit and is therefore not specific to Dynamo.

---

<div class="post-metadata">

**Author:** ![paris](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/paris/32/144289_2.png) [@paris](https://forum.dynamobim.com/u/paris)\
**Post date:** [March 10, 2021, 5:53pm UTC](https://forum.dynamobim.com/t/export-multiple-revit-files-to-nwc-on-background-without-opening-revit/51569/11 "2021-03-10T17:53:26Z")

</div>

Thank you @Alban_de_Chasteigner , excuse the last question, about your great node “Export NWC in Document” , it’s woks also with Revit project file where I have only revit links (without any element drawed inside)?

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/9/29f5ff390801cac5fdd71442c8d8a37e600a75af.png)  
I have any options to set up? 🤔  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/5/45ebd50f5e1b6258345a397d38d47cd1b2051a0e.png)  
Cheers

---

<div class="post-metadata">

**Author:** ![ksullivan8HQET](https://avatars.discourse-cdn.com/v4/letter/k/35a633/32.png) [@ksullivan8HQET](https://forum.dynamobim.com/u/ksullivan8HQET)\
**Post date:** [February 2, 2022, 8:09pm UTC](https://forum.dynamobim.com/t/export-multiple-revit-files-to-nwc-on-background-without-opening-revit/51569/13 "2022-02-02T20:09:03Z")

</div>

I am having trouble with getting my script to run. I don’t have the option to chose the Revit file from my downloads in the first “Directory Path”

---

<div class="post-metadata">

**Author:** ![jae.kwon](https://avatars.discourse-cdn.com/v4/letter/j/4bbf92/32.png) [@jae.kwon](https://forum.dynamobim.com/u/jae.kwon)\
**Post date:** [September 23, 2022, 2:38pm UTC](https://forum.dynamobim.com/t/export-multiple-revit-files-to-nwc-on-background-without-opening-revit/51569/14 "2022-09-23T14:38:13Z")

</div>

Everything seems to be working great except for getting the 3d views.

Right now, if I feed four rvt files to the script, I’m getting 3d views from the currently open model four times instead of 3d views from the four that are opened in the background.

What am I doing wrong?

---

<div class="post-metadata">

**Author:** ![gkitsmiller](https://avatars.discourse-cdn.com/v4/letter/g/5f9b8f/32.png) [@gkitsmiller](https://forum.dynamobim.com/u/gkitsmiller)\
**Post date:** [October 11, 2022, 6:36pm UTC](https://forum.dynamobim.com/t/export-multiple-revit-files-to-nwc-on-background-without-opening-revit/51569/15 "2022-10-11T18:36:10Z")

</div>

I used this today but I had to make some minor adjustments; worked like a charm.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/2/128d61b1522294888e5457f09a45a48744b1897b.png)

---

<div class="post-metadata">

**Author:** ![Revit\_Noob](https://avatars.discourse-cdn.com/v4/letter/r/a587f6/32.png) [@Revit\_Noob](https://forum.dynamobim.com/u/Revit_Noob)\
**Post date:** [January 15, 2023, 3:18am UTC](https://forum.dynamobim.com/t/export-multiple-revit-files-to-nwc-on-background-without-opening-revit/51569/16 "2023-01-15T03:18:21Z")

</div>

will this work with BIM360?

---

<div class="post-metadata">

**Author:** ![GavinNicholls](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gavinnicholls/32/190442_2.png) [@GavinNicholls](https://forum.dynamobim.com/u/GavinNicholls)\
**Post date:** [January 15, 2023, 11:04am UTC](https://forum.dynamobim.com/t/export-multiple-revit-files-to-nwc-on-background-without-opening-revit/51569/17 "2023-01-15T11:04:35Z")

</div>

Background open from BIM360 server generally needs Forge I believe.

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [January 15, 2023, 11:10am UTC](https://forum.dynamobim.com/t/export-multiple-revit-files-to-nwc-on-background-without-opening-revit/51569/18 "2023-01-15T11:10:41Z")

</div>

Or you could try look into birdtool as support B360…

---

<div class="post-metadata">

**Author:** ![Revit\_Noob](https://avatars.discourse-cdn.com/v4/letter/r/a587f6/32.png) [@Revit\_Noob](https://forum.dynamobim.com/u/Revit_Noob)\
**Post date:** [January 16, 2023, 2:01am UTC](https://forum.dynamobim.com/t/export-multiple-revit-files-to-nwc-on-background-without-opening-revit/51569/19 "2023-01-16T02:01:31Z")

</div>

Sorry guys I have no idea with Forge and Birdtool.  
are these dynamo packages or add-ons?

---

<div class="post-metadata">

**Author:** ![GavinNicholls](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gavinnicholls/32/190442_2.png) [@GavinNicholls](https://forum.dynamobim.com/u/GavinNicholls)\
**Post date:** [January 16, 2023, 2:17am UTC](https://forum.dynamobim.com/t/export-multiple-revit-files-to-nwc-on-background-without-opening-revit/51569/20 "2023-01-16T02:17:45Z")

</div>

BirdTool:

[https://www.birdtools-developers.com/navisworksexporter.html](https://www.birdtools-developers.com/navisworksexporter.html)

Forge / APS:

> **[Autodesk Platform Services](https://aps.autodesk.com/)**
>
> A cloud-based developer platform from Autodesk.

---

<div class="post-metadata">

**Author:** ![sovitek](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/sovitek/32/116237_2.png) [@sovitek](https://forum.dynamobim.com/u/sovitek)\
**Post date:** [January 16, 2023, 5:48am UTC](https://forum.dynamobim.com/t/export-multiple-revit-files-to-nwc-on-background-without-opening-revit/51569/21 "2023-01-16T05:48:53Z")

</div>

ohhh yeah @GavinNicholls thats true there are a real navisexporter appp from birdtool, never try it…but i think about multiplayer and set it up with nodes 😉

[Next page](https://forum.dynamobim.com/t/export-multiple-revit-files-to-nwc-on-background-without-opening-revit/51569.md?page=2)
