# Element.geometry mod

**URL:** <https://forum.dynamobim.com/t/element-geometry-mod/52955>\
**Category:** Uncategorized\
**Tags:** dynamo\
**Created:** [July 14, 2020, 11:46am UTC](https://forum.dynamobim.com/t/element-geometry-mod/52955 "2020-07-14T11:46:48Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![pawel.b](https://avatars.discourse-cdn.com/v4/letter/p/57b2e6/32.png) [@pawel.b](https://forum.dynamobim.com/u/pawel.b)\
**Post date:** [July 14, 2020, 11:46am UTC](https://forum.dynamobim.com/t/element-geometry-mod/52955/1 "2020-07-14T11:46:48Z")

</div>

Is it possible to override color of \<element.geometry\> which return list of lines on certain view?

---

<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:** [July 14, 2020, 11:59am UTC](https://forum.dynamobim.com/t/element-geometry-mod/52955/2 "2020-07-14T11:59:22Z")

</div>

Hi @pawel.b,

To color the Iines in Dynamo use the _GeometryColor.ByGeometryColor_ node with a _Color Palette_ node.  
Right click on the nodes which create the geometry lines prior to the _GeometryColor.ByGeometryColor_ node and disable the preview for them.

---

<div class="post-metadata">

**Author:** ![pawel.b](https://avatars.discourse-cdn.com/v4/letter/p/57b2e6/32.png) [@pawel.b](https://forum.dynamobim.com/u/pawel.b)\
**Post date:** [July 14, 2020, 12:02pm UTC](https://forum.dynamobim.com/t/element-geometry-mod/52955/3 "2020-07-14T12:02:00Z")

</div>

Thanks, unfortunately this doesnt solve my problem. I am trying to override part of the lines (selected out of element and filtered by element.geometry) on revit view.

---

<div class="post-metadata">

**Author:** ![pawel.b](https://avatars.discourse-cdn.com/v4/letter/p/57b2e6/32.png) [@pawel.b](https://forum.dynamobim.com/u/pawel.b)\
**Post date:** [July 14, 2020, 12:06pm UTC](https://forum.dynamobim.com/t/element-geometry-mod/52955/4 "2020-07-14T12:06:09Z")

</div>

![example](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/6/66e24470bd067499101904bef006c11755a9b3a9.png)

---

<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:** [July 14, 2020, 12:44pm UTC](https://forum.dynamobim.com/t/element-geometry-mod/52955/5 "2020-07-14T12:44:30Z")

</div>

If you want to override the color of lines in Revit, simply remove the Element.Geometry node.

---

<div class="post-metadata">

**Author:** ![pawel.b](https://avatars.discourse-cdn.com/v4/letter/p/57b2e6/32.png) [@pawel.b](https://forum.dynamobim.com/u/pawel.b)\
**Post date:** [July 14, 2020, 1:01pm UTC](https://forum.dynamobim.com/t/element-geometry-mod/52955/6 "2020-07-14T13:01:48Z")

</div>

No. I pick up some of the lines from element.geometry node to override.

---

<div class="post-metadata">

**Author:** ![Vikram\_Subbaiah](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/vikram_subbaiah/32/50797_2.png) [@Vikram\_Subbaiah](https://forum.dynamobim.com/u/Vikram_Subbaiah)\
**Post date:** [July 14, 2020, 1:28pm UTC](https://forum.dynamobim.com/t/element-geometry-mod/52955/7 "2020-07-14T13:28:00Z")

</div>

@pawel.b Seems like you’re attempting to change the color of selected lines within a Revit component/family  
Not sure if that is possible. However, you could overlap/cover the existing lines with the desired colors in a view like this. I’ve used a Parking Space Family in the example below

 ![color](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/9/89a0e530c6f442ee0a5056056ec73fb5c055b2a3.gif)

---

<div class="post-metadata">

**Author:** ![pawel.b](https://avatars.discourse-cdn.com/v4/letter/p/57b2e6/32.png) [@pawel.b](https://forum.dynamobim.com/u/pawel.b)\
**Post date:** [July 14, 2020, 1:53pm UTC](https://forum.dynamobim.com/t/element-geometry-mod/52955/8 "2020-07-14T13:53:31Z")

</div>

Exactly! This is available manually in Revit through Linework Tool hence I am trying to achieve that in dynamo

---

<div class="post-metadata">

**Author:** ![jacob.small](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jacob.small/32/161030_2.png) [@jacob.small](https://forum.dynamobim.com/u/jacob.small)\
**Post date:** [July 14, 2020, 10:01pm UTC](https://forum.dynamobim.com/t/element-geometry-mod/52955/9 "2020-07-14T22:01:27Z")

</div>

> [@pawel.b](#):
>
> Linework Tool

I believe that this is only accessible in the API through a postable command, which means there isn’t much capability in the API.

The method Vikram shows above is likely the closest you’ll get, but those results will not be dynamic so if the family changes shape/location over time then you’ll need to update them all manually.

Alternatively you could nest a family in the family as a shared family you can grab the nested instances and override those, which can be easily scaled up to any size of issue.
