# Leave on certain CAD layers and turn off all others in Linked in CAD files

**URL:** <https://forum.dynamobim.com/t/leave-on-certain-cad-layers-and-turn-off-all-others-in-linked-in-cad-files/102102>\
**Category:** Revit\
**Created:** [June 21, 2024, 8:19pm UTC](https://forum.dynamobim.com/t/leave-on-certain-cad-layers-and-turn-off-all-others-in-linked-in-cad-files/102102 "2024-06-21T20:19:35Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![quinnjalan](https://avatars.discourse-cdn.com/v4/letter/q/5daacb/32.png) [@quinnjalan](https://forum.dynamobim.com/u/quinnjalan)\
**Post date:** [June 21, 2024, 8:19pm UTC](https://forum.dynamobim.com/t/leave-on-certain-cad-layers-and-turn-off-all-others-in-linked-in-cad-files/102102/1 "2024-06-21T20:19:35Z")

</div>

As the title says I’m looking for a way to leave on certain CAD layers and turn off all other layers in Linked in CAD files. I found several dyn scripts that work great for imported CAD, but not Linked in CAD. Has to be Linked in as the CAD keep updating and I don’s have the bandwidth to keep babysitting the models. We have a very odd workflow where all other department are still working with crayons (AutoCAD) and we are in Revit. However, we are on hook to produce coordination drawings and when all others xref in all others it makes a real mess of Revit. I think it will be easier to only leave on layers we need to see, which in honestly are very few. Thanks all, Alan

---

<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 22, 2024, 5:10pm UTC](https://forum.dynamobim.com/t/leave-on-certain-cad-layers-and-turn-off-all-others-in-linked-in-cad-files/102102/2 "2024-06-22T17:10:04Z")

</div>

Hi @quinnjalan,

You could use the CAD nodes from _bimorphNodes_ package and the _CAD Layer Visibility_ node from _Genius Loci_ package.

---

<div class="post-metadata">

**Author:** ![quinnjalan](https://avatars.discourse-cdn.com/v4/letter/q/5daacb/32.png) [@quinnjalan](https://forum.dynamobim.com/u/quinnjalan)\
**Post date:** [June 22, 2024, 5:42pm UTC](https://forum.dynamobim.com/t/leave-on-certain-cad-layers-and-turn-off-all-others-in-linked-in-cad-files/102102/3 "2024-06-22T17:42:18Z")

</div>

Thanks, I’ll look into those

---

<div class="post-metadata">

**Author:** ![quinnjalan](https://avatars.discourse-cdn.com/v4/letter/q/5daacb/32.png) [@quinnjalan](https://forum.dynamobim.com/u/quinnjalan)\
**Post date:** [July 1, 2024, 11:44am UTC](https://forum.dynamobim.com/t/leave-on-certain-cad-layers-and-turn-off-all-others-in-linked-in-cad-files/102102/4 "2024-07-01T11:44:30Z")

</div>

Hi, finally got a few minutes to get back to testing. I already had bimorphNodes package installed so I found the Genius Loci package. In that I see two possibilities: Link DWG and DACLayer Visibility. However, as a total newbie I have no clue how to shoehorn them into a DYN that I found here, which works great on Imported CAD but not for Linked in CAD. See attached images, if you can point me in the right direction that will be very helpful. Thanks, Alan

 ![Cad_Layers_By_Name](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/c/fc0d14f9e27e35fbc26e8c25c718e7f0f946b573.png)  
 ![Genius Loci package](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/9/d9d3d4110adb1ebcb6d629e347de820d3329b26e.png)

---

<div class="post-metadata">

**Author:** ![quinnjalan](https://avatars.discourse-cdn.com/v4/letter/q/5daacb/32.png) [@quinnjalan](https://forum.dynamobim.com/u/quinnjalan)\
**Post date:** [July 1, 2024, 12:40pm UTC](https://forum.dynamobim.com/t/leave-on-certain-cad-layers-and-turn-off-all-others-in-linked-in-cad-files/102102/5 "2024-07-01T12:40:18Z")

</div>

Follow up. Attached is a screenshot of a typical electrical CAD file Linked into Revit. We link them as the design keeps changing and it’s way too much work keep Loading them. The issue is as more and more departments (structural, HVAC, engineering (process equipment), fire, etc) come up to speed electrical keeps xreffing in all others, so their CAD files contain several hundred layers we don’t need to see. Yes, we asked them several times to clean up before posting but they don’t care. Really very annoying. Other depts. clean up some, but we still have to turn off many Layers. The attached is a screenshot of electrical with the layers we need highlighted. The actual CAD we need is under the VG dialog box…the rest is extra AutoCRAP! So, the pain is very real when it comes to crunch time. This past Friday I checked the set in the am and all was fine, but by afternoon it was full of (new) extra CAD I needed to turn off. I rely heavily on View Templates but one still needs to clean up and apply the Template. And, typically if I did not set up the project, I end up saving it, we all know what that means! As mentioned before, it may be easier to only leave on what we need and not turn off all we don’t need. Believe it or not they are very consistent on the Layers they use, so we can take advantage of that. Anyhow, thanks for listing to me rant and all the help. Cheers, Alan

 ![Revit with Elect](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/f/3f0d9a7ac7dd8a22b8a2bf76c2f4dc72b30bde2e.png)
