# Graphic override not overriding "Linework" changes

**URL:** <https://forum.dynamobim.com/t/graphic-override-not-overriding-linework-changes/38459>\
**Category:** Revit\
**Created:** [July 19, 2019, 8:16am UTC](https://forum.dynamobim.com/t/graphic-override-not-overriding-linework-changes/38459 "2019-07-19T08:16:36Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![janathbdesign](https://avatars.discourse-cdn.com/v4/letter/j/43a26b/32.png) [@janathbdesign](https://forum.dynamobim.com/u/janathbdesign)\
**Post date:** [July 19, 2019, 8:16am UTC](https://forum.dynamobim.com/t/graphic-override-not-overriding-linework-changes/38459/1 "2019-07-19T08:16:36Z")

</div>

Dear All,

I have set up the script as shown below.  
It changes the visibility settings per element as required in elevations except when the visibility of an edge was changed using the “linework” tool in revit. Edges showing different linetypes created by “linework” tool are not changed.

Does anyone know how to detect linework on edges of geometry and reset it?

thanks,

Jan

 ![override%20graphics%20by%20element](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/6/7615085fe8178ea4b22ae393ca9e4eca3d8aabd8.jpeg) ![override%20graphics%20by%20element](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/6/7615085fe8178ea4b22ae393ca9e4eca3d8aabd8.jpeg)

---

<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 19, 2019, 10:45pm UTC](https://forum.dynamobim.com/t/graphic-override-not-overriding-linework-changes/38459/2 "2019-07-19T22:45:52Z")

</div>

I do not believe that linework has been exposed in the API.

---

<div class="post-metadata">

**Author:** ![janathbdesign](https://avatars.discourse-cdn.com/v4/letter/j/43a26b/32.png) [@janathbdesign](https://forum.dynamobim.com/u/janathbdesign)\
**Post date:** [July 20, 2019, 6:01am UTC](https://forum.dynamobim.com/t/graphic-override-not-overriding-linework-changes/38459/3 "2019-07-20T06:01:43Z")

</div>

hmmm, that’s a bummer. Thanks.
