# Batch process on Multiple drawings

**URL:** <https://forum.dynamobim.com/t/batch-process-on-multiple-drawings/84340>\
**Category:** Civil 3D\
**Created:** [December 21, 2022, 8:33pm UTC](https://forum.dynamobim.com/t/batch-process-on-multiple-drawings/84340 "2022-12-21T20:33:52Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![csanchez-jmc](https://avatars.discourse-cdn.com/v4/letter/c/bcef8e/32.png) [@csanchez-jmc](https://forum.dynamobim.com/u/csanchez-jmc)\
**Post date:** [December 21, 2022, 8:33pm UTC](https://forum.dynamobim.com/t/batch-process-on-multiple-drawings/84340/1 "2022-12-21T20:33:52Z")

</div>

Hi, i am trying to use the Camber nodes to turn off a layer on every drawing and save it before closing the. I stated simple with just one drawing and it seems to work base on the result under the node but i am not sure what should be use to save the drawing after the process is done.

 ![Freeze layer on External Drawings](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/b/1bac13b0d18912e76bc4a07ce00da59e087779dd.png)

---

<div class="post-metadata">

**Author:** ![mzjensen](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@mzjensen](https://forum.dynamobim.com/u/mzjensen)\
**Post date:** [December 21, 2022, 9:19pm UTC](https://forum.dynamobim.com/t/batch-process-on-multiple-drawings/84340/2 "2022-12-21T21:19:23Z")

</div>

You would plug the _ExternalDocument.LoadFromFile_ node into _ExternalDocument.Save_, but make sure you add a gate before that to ensure that the previous operation (freezing) completes before the drawing is saved. More info here:

> [@Passthrough, how can i understand that?](https://forum.dynamobim.com/t/passthrough-how-can-i-understand-that/50646/6):
>
> It is simply just creating a list and then getting the first item in the list. So it could be rewritten as: List.FirstItem(passthrough,waitfor); Or you could even simplify it further and just do a code block with: [a,b][0]; It acts as a gate because Dynamo has to “collect” all of the items in the list before passing the contents on to the next node.

---

<div class="post-metadata">

**Author:** ![csanchez-jmc](https://avatars.discourse-cdn.com/v4/letter/c/bcef8e/32.png) [@csanchez-jmc](https://forum.dynamobim.com/u/csanchez-jmc)\
**Post date:** [December 21, 2022, 9:34pm UTC](https://forum.dynamobim.com/t/batch-process-on-multiple-drawings/84340/3 "2022-12-21T21:34:34Z")

</div>

Perfect! Thank you Zachri.
