# Working with multiple Civil 3D drawings

**URL:** <https://forum.dynamobim.com/t/working-with-multiple-civil-3d-drawings/114913>\
**Category:** Civil 3D\
**Tags:** civil3d\
**Created:** [July 9, 2026, 1:02pm UTC](https://forum.dynamobim.com/t/working-with-multiple-civil-3d-drawings/114913 "2026-07-09T13:02:19Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![aledavi30.7](https://avatars.discourse-cdn.com/v4/letter/a/5f8ce5/32.png) [@aledavi30.7](https://forum.dynamobim.com/u/aledavi30.7)\
**Post date:** [July 9, 2026, 1:02pm UTC](https://forum.dynamobim.com/t/working-with-multiple-civil-3d-drawings/114913/1 "2026-07-09T13:02:19Z")

</div>

Does anyone know how to make Dynamo work with multiple Civil 3D drawings from a single Dynamo window? In my case, I want to attach the same external references (XREFs) to several open drawings, but Dynamo only lets me do it one drawing at a time.

---

<div class="post-metadata">

**Author:** ![dhigginson1899](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dhigginson1899/32/201924_2.png) [@dhigginson1899](https://forum.dynamobim.com/u/dhigginson1899)\
**Post date:** [July 10, 2026, 3:35pm UTC](https://forum.dynamobim.com/t/working-with-multiple-civil-3d-drawings/114913/2 "2026-07-10T15:35:24Z")

</div>

Hi,

This may be one for ‘Batch Scripting’ using the AutoDesk core console.

Would need a script (.scr) and a batch file (.bat)

For your given example, the script may look like the following:

;Tilemode, 0= PaperSpace 1= ModelSpace.  
tilemode 1  
;-xref activates the xref command in the command line  
-xref  
;A for attach.  
A  
;The address of the dwg to be xreffed  
“XX\XXX\XXXXX\XXXXXX.dwg”  
;Insertion Point  
0,0  
;X Scale Factor  
1  
;Y Scale Factor  
1  
;Rotation Angle  
0  
.qsave  
.quit

Following is a useful presentation given via AutoDesk University which covers this:

[https://www.autodesk.com/autodesk-university/class/AutoCAD-Scripting-Core-AutoCAD-Core-Console-2018](https://www.autodesk.com/autodesk-university/class/AutoCAD-Scripting-Core-AutoCAD-Core-Console-2018)

Hope this helps!

---

<div class="post-metadata">

**Author:** ![qliebbe](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/qliebbe/32/203717_2.png) [@qliebbe](https://forum.dynamobim.com/u/qliebbe)\
**Post date:** [July 10, 2026, 5:43pm UTC](https://forum.dynamobim.com/t/working-with-multiple-civil-3d-drawings/114913/3 "2026-07-10T17:43:05Z")

</div>

Use Batch Save Utility for this. Have Claude or ChatGPT make you a .scr file (or a .scr that then runs a lisp file). I fixed 200 dwg xrefs with this last week!

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/0/d00587aec513d43734859e276ff74b6efb2f5ca2.png)
