# ExternalBlock.Objects in color by layer

**URL:** <https://forum.dynamobim.com/t/externalblock-objects-in-color-by-layer/98483>\
**Category:** Civil 3D\
**Created:** [February 26, 2024, 11:45am UTC](https://forum.dynamobim.com/t/externalblock-objects-in-color-by-layer/98483 "2024-02-26T11:45:28Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![javi\_lapina](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/javi_lapina/32/113822_2.png) [@javi\_lapina](https://forum.dynamobim.com/u/javi_lapina)\
**Post date:** [February 26, 2024, 11:45am UTC](https://forum.dynamobim.com/t/externalblock-objects-in-color-by-layer/98483/1 "2024-02-26T11:45:28Z")

</div>

I need to set the objects selected through ExternalBlock.Objects in color bylayer. Do you know if there is any way to do this?  
Thank you very much

---

<div class="post-metadata">

**Author:** ![s.proch](https://avatars.discourse-cdn.com/v4/letter/s/96bed5/32.png) [@s.proch](https://forum.dynamobim.com/u/s.proch)\
**Post date:** [February 26, 2024, 12:55pm UTC](https://forum.dynamobim.com/t/externalblock-objects-in-color-by-layer/98483/2 "2024-02-26T12:55:07Z")

</div>

This is a node from the Camber package. Give it a go.

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

---

<div class="post-metadata">

**Author:** ![javi\_lapina](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/javi_lapina/32/113822_2.png) [@javi\_lapina](https://forum.dynamobim.com/u/javi_lapina)\
**Post date:** [February 26, 2024, 1:10pm UTC](https://forum.dynamobim.com/t/externalblock-objects-in-color-by-layer/98483/3 "2024-02-26T13:10:55Z")

</div>

Thanks, but what I’m looking for is to do it from this node.  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/b/9b3bf303aa594015930454443b0591af2bddc74e.png)

---

<div class="post-metadata">

**Author:** ![s.proch](https://avatars.discourse-cdn.com/v4/letter/s/96bed5/32.png) [@s.proch](https://forum.dynamobim.com/u/s.proch)\
**Post date:** [February 26, 2024, 1:29pm UTC](https://forum.dynamobim.com/t/externalblock-objects-in-color-by-layer/98483/4 "2024-02-26T13:29:00Z")

</div>

I don’t think I understand what you want to do with the Objects. I thought you are trying to set the Objects’ color by layer? If so, that’s what the Object.SetColor node does. The one you sent sets the Object’s layer. What is the issue?

---

<div class="post-metadata">

**Author:** ![javi\_lapina](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/javi_lapina/32/113822_2.png) [@javi\_lapina](https://forum.dynamobim.com/u/javi_lapina)\
**Post date:** [February 26, 2024, 1:44pm UTC](https://forum.dynamobim.com/t/externalblock-objects-in-color-by-layer/98483/5 "2024-02-26T13:44:17Z")

</div>

Sorry, i´m looking to put the color bylayer in multiple drawings at the same time, using the Camber External nodes.  
 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/6/5633669f2cf123b7b1ca30b98c11fc5645bcc750.png)

---

<div class="post-metadata">

**Author:** ![gilberto.arechigaiba](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gilberto.arechigaiba/32/204980_2.png) [@gilberto.arechigaiba](https://forum.dynamobim.com/u/gilberto.arechigaiba)\
**Post date:** [February 26, 2024, 1:59pm UTC](https://forum.dynamobim.com/t/externalblock-objects-in-color-by-layer/98483/6 "2024-02-26T13:59:46Z")

</div>

Hola amigo @javi_lapina buenas, is not the best practice to change the porpertys of the file that we are using as xref or link in revit but that depends of the style of each one, in autocad you can override the color of yours xref’s in the Layer properties manager i advice to do this instead. Dynamo is thought to work on one only open file at a time, the nodes what you are trying to use is to manipulate external files not necesarly has to be open be carefull because you can damage things on this files and you wouldn’t even notice it, hope this helps you!

 ![Set Layer Color](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/9/f92afa04eb87fa63f153a59680e9c870b715d02d.jpeg)  
 ![Set Layer Color 2](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/c/d/cd0e3e7f77b45c7419abd5feee2a0edf027d0623.jpeg)

---

<div class="post-metadata">

**Author:** ![s.proch](https://avatars.discourse-cdn.com/v4/letter/s/96bed5/32.png) [@s.proch](https://forum.dynamobim.com/u/s.proch)\
**Post date:** [February 26, 2024, 2:10pm UTC](https://forum.dynamobim.com/t/externalblock-objects-in-color-by-layer/98483/7 "2024-02-26T14:10:02Z")

</div>

Oh okay. I haven’t used these nodes before. I don’t see the relevant node to change color of an external object. It would be good to know what and why you need to change this. Surely there will be a workaround.
