# Civil 3D - Select an Assembly

**URL:** <https://forum.dynamobim.com/t/civil-3d-select-an-assembly/83012>\
**Category:** Civil 3D\
**Tags:** dynamo\
**Created:** [November 11, 2022, 5:11pm UTC](https://forum.dynamobim.com/t/civil-3d-select-an-assembly/83012 "2022-11-11T17:11:52Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![bourke\_d](https://avatars.discourse-cdn.com/v4/letter/b/e5b9ba/32.png) [@bourke\_d](https://forum.dynamobim.com/u/bourke_d)\
**Post date:** [November 11, 2022, 5:11pm UTC](https://forum.dynamobim.com/t/civil-3d-select-an-assembly/83012/1 "2022-11-11T17:11:52Z")

</div>

Hi, Is there a node that allows the user to select from assemblies present in a file, similar to how you might select corridors, surfaces and alignments?  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/e/beaa076598701f13eebde3338d41d6439947f453.png)

---

<div class="post-metadata">

**Author:** ![hosneyalaa](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/hosneyalaa/32/100865_2.png) [@hosneyalaa](https://forum.dynamobim.com/u/hosneyalaa)\
**Post date:** [November 11, 2022, 6:25pm UTC](https://forum.dynamobim.com/t/civil-3d-select-an-assembly/83012/2 "2022-11-11T18:25:02Z")

</div>

Hi

> [@Please tell me how to use the Assembly.AddSubAssembly node](https://forum.dynamobim.com/t/please-tell-me-how-to-use-the-assembly-addsubassembly-node/60667/2):
>
> Hi, see the images below : [image]

---

<div class="post-metadata">

**Author:** ![bourke\_d](https://avatars.discourse-cdn.com/v4/letter/b/e5b9ba/32.png) [@bourke\_d](https://forum.dynamobim.com/u/bourke_d)\
**Post date:** [November 11, 2022, 7:53pm UTC](https://forum.dynamobim.com/t/civil-3d-select-an-assembly/83012/3 "2022-11-11T19:53:31Z")

</div>

@hosneyalaa thank you for the reply but I need to be able to select the finished assembly from a list of assemblies not subassemblies. I can type the name in as an input (see image) but a drop down like what is available for other elements would work better.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/5/25e38bfe41367ab0489c5b0631eb47f1e13dc920.jpeg)

---

<div class="post-metadata">

**Author:** ![david\_licona](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/david_licona/32/123672_2.png) [@david\_licona](https://forum.dynamobim.com/u/david_licona)\
**Post date:** [November 11, 2022, 8:27pm UTC](https://forum.dynamobim.com/t/civil-3d-select-an-assembly/83012/4 "2022-11-11T20:27:27Z")

</div>

There is no dropdown node for assemblies

---

<div class="post-metadata">

**Author:** ![bourke\_d](https://avatars.discourse-cdn.com/v4/letter/b/e5b9ba/32.png) [@bourke\_d](https://forum.dynamobim.com/u/bourke_d)\
**Post date:** [November 12, 2022, 10:12am UTC](https://forum.dynamobim.com/t/civil-3d-select-an-assembly/83012/5 "2022-11-12T10:12:14Z")

</div>

@david_licona I was starting to think that. thank you for confirming.

---

<div class="post-metadata">

**Author:** ![hosneyalaa](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/hosneyalaa/32/100865_2.png) [@hosneyalaa](https://forum.dynamobim.com/u/hosneyalaa)\
**Post date:** [November 14, 2022, 7:45am UTC](https://forum.dynamobim.com/t/civil-3d-select-an-assembly/83012/6 "2022-11-14T07:45:10Z")

</div>

HI @bourke_d

From the attached example of @Anton_Huizinga

> [@C# Dropdown](https://forum.dynamobim.com/t/c-dropdown/17503/12):
>
> “Next week” was a bit optimistic but finally I was able to do some testing. And I got result. There are two things you should know: It seems not possible to combine UI and Zero Touch nodes in one DLL so you need to use a seperate Solution to build dropdown nodes. It only works if the DLL is loaded via a package, not with the ‘import library’ function. You can download a sample Visual Studio Solution below (without de compiled DLL file). Two classes are available. One to create a dropdo…

try this  
After put the attached file in this path

 ![312727778_6016249138490748_1289462728248194522_n](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/e/0e688bb004ce2f6ee3b7d89d52f03b3ed0954b58.jpeg)  
 ![QQQQQ](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/7/27a281324c203fd6396f21737419ffee503ccf96.jpeg)

[https://www.mediafire.com/file/rvdtg2jkwph3isr/Assembly.rar/file](https://www.mediafire.com/file/rvdtg2jkwph3isr/Assembly.rar/file)

---

<div class="post-metadata">

**Author:** ![bourke\_d](https://avatars.discourse-cdn.com/v4/letter/b/e5b9ba/32.png) [@bourke\_d](https://forum.dynamobim.com/u/bourke_d)\
**Post date:** [November 14, 2022, 10:40am UTC](https://forum.dynamobim.com/t/civil-3d-select-an-assembly/83012/7 "2022-11-14T10:40:55Z")

</div>

@hosneyalaa thank you I tried that, and it worked on the first pass but if I run the script again a second output appears and causes an issue:  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/6/96b84c3af284b7df084a98f294c89ab0b3d12cca.png)

---

<div class="post-metadata">

**Author:** ![hosneyalaa](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/hosneyalaa/32/100865_2.png) [@hosneyalaa](https://forum.dynamobim.com/u/hosneyalaa)\
**Post date:** [November 14, 2022, 11:05am UTC](https://forum.dynamobim.com/t/civil-3d-select-an-assembly/83012/8 "2022-11-14T11:05:37Z")

</div>

my language is not good  
what’s the problem  
Why do you appear? 2 out

---

<div class="post-metadata">

**Author:** ![bourke\_d](https://avatars.discourse-cdn.com/v4/letter/b/e5b9ba/32.png) [@bourke\_d](https://forum.dynamobim.com/u/bourke_d)\
**Post date:** [November 14, 2022, 4:58pm UTC](https://forum.dynamobim.com/t/civil-3d-select-an-assembly/83012/9 "2022-11-14T16:58:58Z")

</div>

@hosneyalaa

- I run the script fine it works
- I close the script
- open it again
- there are now 2 outputs.  
hopefully this video will explain the issue better:  

[https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/0/d075db764393cba4949755281ae157be261d6ab8.mp4](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/0/d075db764393cba4949755281ae157be261d6ab8.mp4)

Perhaps I am missing somethig.

---

<div class="post-metadata">

**Author:** ![mzjensen](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@mzjensen](https://forum.dynamobim.com/u/mzjensen)\
**Post date:** [November 14, 2022, 6:06pm UTC](https://forum.dynamobim.com/t/civil-3d-select-an-assembly/83012/10 "2022-11-14T18:06:45Z")

</div>

You need to add a JSON constructor.

> [@UI Node Extra Output Ports](https://forum.dynamobim.com/t/ui-node-extra-output-ports/67215):
>
> I’ve created some dropdown nodes that inherit from DSDropDownBase and the issue I’m having is that an extra output port is created every time the graph is saved and reopened. Also after saving and reopening, an exception is thrown saying that “an element with the same key but different value already exists.” Any ideas? While this is admittedly a pretty cool trick I’ve stumbled upon (who doesn’t want a node that evolves over time?), it’s not what I was going for …

---

<div class="post-metadata">

**Author:** ![hosneyalaa](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/hosneyalaa/32/100865_2.png) [@hosneyalaa](https://forum.dynamobim.com/u/hosneyalaa)\
**Post date:** [November 14, 2022, 7:32pm UTC](https://forum.dynamobim.com/t/civil-3d-select-an-assembly/83012/11 "2022-11-14T19:32:24Z")

</div>

Hi @bourke_d  
Thanks @zachri.jensen  
The problem did not appear for me  
Tomorrow I will add a suggestion @zachri.jensen  
It might work fine for @bourke_d

---

<div class="post-metadata">

**Author:** ![hosneyalaa](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/hosneyalaa/32/100865_2.png) [@hosneyalaa](https://forum.dynamobim.com/u/hosneyalaa)\
**Post date:** [November 15, 2022, 5:21am UTC](https://forum.dynamobim.com/t/civil-3d-select-an-assembly/83012/12 "2022-11-15T05:21:24Z")

</div>

delet Assembly file  
and  
test this

 ![Capture1](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/7/8777da7ae2b8bb6874d45e9ee9e91574aa8dda48.jpeg)

> **[Assemblies](https://www.mediafire.com/file/ef890vfphove7rc/Assemblies.rar/file)**
>
> MediaFire is a simple to use free service that lets you put all your photos, documents, music, and video in a single place so you can access them anywhere and share them everywhere.

---

<div class="post-metadata">

**Author:** ![bourke\_d](https://avatars.discourse-cdn.com/v4/letter/b/e5b9ba/32.png) [@bourke\_d](https://forum.dynamobim.com/u/bourke_d)\
**Post date:** [November 16, 2022, 9:01pm UTC](https://forum.dynamobim.com/t/civil-3d-select-an-assembly/83012/13 "2022-11-16T21:01:07Z")

</div>

Still having the same issue.

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

---

<div class="post-metadata">

**Author:** ![dm\_salamania](https://avatars.discourse-cdn.com/v4/letter/d/7c8e57/32.png) [@dm\_salamania](https://forum.dynamobim.com/u/dm_salamania)\
**Post date:** [December 14, 2023, 3:43am UTC](https://forum.dynamobim.com/t/civil-3d-select-an-assembly/83012/14 "2023-12-14T03:43:10Z")

</div>

Hi Hosneyalaa  
Hope your okay.  
I jsut want to let you know that the assembly file is not available anymore on MediaFilre. It is possible to you to share it here again?

Thank you so much

---

<div class="post-metadata">

**Author:** ![hosneyalaa](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/hosneyalaa/32/100865_2.png) [@hosneyalaa](https://forum.dynamobim.com/u/hosneyalaa)\
**Post date:** [December 14, 2023, 7:04am UTC](https://forum.dynamobim.com/t/civil-3d-select-an-assembly/83012/15 "2023-12-14T07:04:13Z")

</div>

![00](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/1/a129e0afb9739cd8358913d4fb5387407853e162.jpeg)

> [@Set style for CoGo Points or CoGo Point Group](https://forum.dynamobim.com/t/set-style-for-cogo-points-or-cogo-point-group/90262/8):
>
> hi @patrick.ericson can you try this [sty]

---

<div class="post-metadata">

**Author:** ![dm\_salamania](https://avatars.discourse-cdn.com/v4/letter/d/7c8e57/32.png) [@dm\_salamania](https://forum.dynamobim.com/u/dm_salamania)\
**Post date:** [December 14, 2023, 7:43am UTC](https://forum.dynamobim.com/t/civil-3d-select-an-assembly/83012/16 "2023-12-14T07:43:24Z")

</div>

Thank you

Big help

---

<div class="post-metadata">

**Author:** ![dm\_salamania](https://avatars.discourse-cdn.com/v4/letter/d/7c8e57/32.png) [@dm\_salamania](https://forum.dynamobim.com/u/dm_salamania)\
**Post date:** [December 14, 2023, 7:51am UTC](https://forum.dynamobim.com/t/civil-3d-select-an-assembly/83012/17 "2023-12-14T07:51:39Z")

</div>

@hosneyalaa Is there a reason why the file is not showing even after adding it?

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

---

<div class="post-metadata">

**Author:** ![hosneyalaa](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/hosneyalaa/32/100865_2.png) [@hosneyalaa](https://forum.dynamobim.com/u/hosneyalaa)\
**Post date:** [December 14, 2023, 8:06am UTC](https://forum.dynamobim.com/t/civil-3d-select-an-assembly/83012/18 "2023-12-14T08:06:53Z")

</div>

I didn’t understand what the problem was  
And what you want to do  
This image is for creation package

---

<div class="post-metadata">

**Author:** ![dm\_salamania](https://avatars.discourse-cdn.com/v4/letter/d/7c8e57/32.png) [@dm\_salamania](https://forum.dynamobim.com/u/dm_salamania)\
**Post date:** [December 14, 2023, 7:13pm UTC](https://forum.dynamobim.com/t/civil-3d-select-an-assembly/83012/19 "2023-12-14T19:13:52Z")

</div>

I want to create a package locally like what @Anton_Huizinga did here.

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

Adding it directly to library i got this error.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/e/1eba67c6f0fdcf819c88b124d94f4c8f3ddcf4fc.png)

---

<div class="post-metadata">

**Author:** ![hosneyalaa](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/hosneyalaa/32/100865_2.png) [@hosneyalaa](https://forum.dynamobim.com/u/hosneyalaa)\
**Post date:** [December 14, 2023, 7:56pm UTC](https://forum.dynamobim.com/t/civil-3d-select-an-assembly/83012/20 "2023-12-14T19:56:23Z")

</div>

I am sorry, l AM not know a reason  
But you can look at link

[https://primer.dynamobim.org/11\_Packages/11-4\_Publishing.html](https://primer.dynamobim.org/11_Packages/11-4_Publishing.html)

[Next page](https://forum.dynamobim.com/t/civil-3d-select-an-assembly/83012.md?page=2)
