# Import CAD and automatically put them in a drafting view with dynamo

**URL:** <https://forum.dynamobim.com/t/import-cad-and-automatically-put-them-in-a-drafting-view-with-dynamo/22705>\
**Category:** Revit\
**Created:** [June 11, 2018, 6:27pm UTC](https://forum.dynamobim.com/t/import-cad-and-automatically-put-them-in-a-drafting-view-with-dynamo/22705 "2018-06-11T18:27:45Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![awilliams](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/awilliams/32/114496_2.png) [@awilliams](https://forum.dynamobim.com/u/awilliams)\
**Post date:** [June 11, 2018, 7:08pm UTC](https://forum.dynamobim.com/t/import-cad-and-automatically-put-them-in-a-drafting-view-with-dynamo/22705/2 "2018-06-11T19:08:36Z")

</div>

Yes this is possible. Here is a previous thread on the topic that has a few versions of a Python script that will import a DWG file:

> [@Link DWGs in Drafting Views?](https://forum.dynamobim.com/t/link-dwgs-in-drafting-views/3127/26):
>
> Hi Rémy, One possible way is to change the output to provide Filepath. And with a string contain and a boolean mask you will obtain the ImportInstance. [Drafting View.dyn](https://forum.dynamobim.com/uploads/short-url/cIZ2KxXFh8gxNQbMptshIJkSw3N.dyn) (13.5 KB)

Set up a directory folder with all of your CAD files, get the directory contents, use DraftingView.ByName for each file and connect your files and the drafting views into the Python script

---

_[View the full topic](https://forum.dynamobim.com/t/import-cad-and-automatically-put-them-in-a-drafting-view-with-dynamo/22705)._
