# Assign All Linked Autocad File to Its Workset

**URL:** <https://forum.dynamobim.com/t/assign-all-linked-autocad-file-to-its-workset/40695>\
**Category:** Revit\
**Created:** [September 16, 2019, 11:28am UTC](https://forum.dynamobim.com/t/assign-all-linked-autocad-file-to-its-workset/40695 "2019-09-16T11:28:42Z")\
**Posts on this page:** 8\
**Page:** 1

<div class="post-metadata">

**Author:** ![ae19891989](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ae19891989/32/84724_2.png) [@ae19891989](https://forum.dynamobim.com/u/ae19891989)\
**Post date:** [September 16, 2019, 11:28am UTC](https://forum.dynamobim.com/t/assign-all-linked-autocad-file-to-its-workset/40695/1 "2019-09-16T11:28:42Z")

</div>

hi all  
i try to Assign All Linked Autocad File to Its Workset but i failed twice  
please advice

 ![assign%20liinked%20cad%20to%20work%20set2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/4/247847a4ded964253484bca928809059a620db73.png) ![assign%20liinked%20cad%20to%20work%20set1](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/c/fcf499f1bbd85ff2671a382d4775796d91b16e0a.png) ![assign%20liinked%20cad%20to%20work%20set](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/8/38761a512aef7f0f077c46499556c2fe1c10de0c.png)

[Assign All Linked Autocad File to Its Workset.dyn](https://forum.dynamobim.com/uploads/short-url/fzwUyZbC6hxgcWOwczDPbFK0q5E.dyn) (27.1 KB)

---

<div class="post-metadata">

**Author:** ![Brendan\_Cassidy](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/brendan_cassidy/32/7685_2.png) [@Brendan\_Cassidy](https://forum.dynamobim.com/u/Brendan_Cassidy)\
**Post date:** [September 16, 2019, 12:09pm UTC](https://forum.dynamobim.com/t/assign-all-linked-autocad-file-to-its-workset/40695/2 "2019-09-16T12:09:07Z")

</div>

You need to get the workset as a element, then you put that into the value section of the last node.

---

<div class="post-metadata">

**Author:** ![ae19891989](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ae19891989/32/84724_2.png) [@ae19891989](https://forum.dynamobim.com/u/ae19891989)\
**Post date:** [September 16, 2019, 12:34pm UTC](https://forum.dynamobim.com/t/assign-all-linked-autocad-file-to-its-workset/40695/3 "2019-09-16T12:34:37Z")

</div>

i didn’t know how to get the workset as a element

---

<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:** [September 16, 2019, 12:44pm UTC](https://forum.dynamobim.com/t/assign-all-linked-autocad-file-to-its-workset/40695/4 "2019-09-16T12:44:04Z")

</div>

Depending on how you link or import the DWG (Option “Current view only”), there is a workset for the instance and one for the type.

 ![Set%20workset](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/6/66946ccfa99674a6d988894783ce9c0d45107061.png)

If the “Current View Only” option is checked, you can only set the workset of the DWG file type.  
_Instance :_  
 ![Instance](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/6/46783fef266e4b01ead7fb2d1e18eff19ffe5abd.png)  
_Type :_

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

---

<div class="post-metadata">

**Author:** ![ae19891989](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ae19891989/32/84724_2.png) [@ae19891989](https://forum.dynamobim.com/u/ae19891989)\
**Post date:** [September 16, 2019, 1:25pm UTC](https://forum.dynamobim.com/t/assign-all-linked-autocad-file-to-its-workset/40695/5 "2019-09-16T13:25:54Z")

</div>

same error Parameter is read only ☹

 ![same%20error](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/4/94870842b9c0c09b9342845f829fa341b61fadce.png)

---

<div class="post-metadata">

**Author:** ![ae19891989](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ae19891989/32/84724_2.png) [@ae19891989](https://forum.dynamobim.com/u/ae19891989)\
**Post date:** [September 16, 2019, 1:34pm UTC](https://forum.dynamobim.com/t/assign-all-linked-autocad-file-to-its-workset/40695/6 "2019-09-16T13:34:25Z")

</div>

yes i imported it as (Current view only)

---

<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:** [September 16, 2019, 1:40pm UTC](https://forum.dynamobim.com/t/assign-all-linked-autocad-file-to-its-workset/40695/7 "2019-09-16T13:40:04Z")

</div>

So your Importinstances don’t have a workset.  
Replace Importinstance with CADLinkType in the _Element Types_ node.

---

<div class="post-metadata">

**Author:** ![ae19891989](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/ae19891989/32/84724_2.png) [@ae19891989](https://forum.dynamobim.com/u/ae19891989)\
**Post date:** [September 16, 2019, 1:49pm UTC](https://forum.dynamobim.com/t/assign-all-linked-autocad-file-to-its-workset/40695/8 "2019-09-16T13:49:14Z")

</div>

thanks @Alban_de_Chasteigner for your kindly response , you are amazing 🙂
