Is it possible to import/insert .DWGs into a .DWG?

Hi all,

I’m working on a workflow where, the DWGs which I’m working with, have directly been exported from Revit (using the DWG/DXF Export). These DWGs don’t have any standard/template or anything, thus (ideally) I would like to insert a template (“template.dwg”) such that all the layers according to our standard, in terms of colours, linestyles, etc., are setup correctly.

Thus, does anyone therefore know if it is possible to insert/import a DWG file into another DWG file through Dynamo?

I think the other way around is a better structure, to import your drawing in a template file. Then you are sure that settings and units and Layouts are according to your standard.

That being said, I think you can find nodes for this in the External category in the Camber package:

I have to disagree with that. That would mean copying 100.000s of autocad objects from their drawing to another drawing. I only need the layers and their corresponding styles from our standard, which I now have as .dwg.

I’ll check out Camber, but if anyone else has another idea, let me know!

Inserting a file is not the same as copying 100.000s objects.

If it is only layers and styles, it indeed does not matter if you insert the template in the drawing or insert the drawing in the template.

But why Dynamo? There is also something as the stand-alone tool Batch Save Utility where you can save files in batch and run a script in it (which obviously can insert your template).

Inserting the template is only part of our workflow. It also includes moving the objects from their layers, as they are exported from Revit, towards these standard/template layers.

I was not aware of this tooling. Maybe this could be a great first step such that we don’t have to do that later (semi)automatically!

Seems as if this bit should be configured in Revit’s export settings, though I may be missing something…

Is the end goal to have each file incorporate the content of the template into itself, or to insert the content into the template?