# Read current projection line color/weight?

**URL:** <https://forum.dynamobim.com/t/read-current-projection-line-color-weight/28167>\
**Category:** Revit\
**Created:** [November 7, 2018, 4:49pm UTC](https://forum.dynamobim.com/t/read-current-projection-line-color-weight/28167 "2018-11-07T16:49:01Z")\
**Posts on this page:** 1\
**Showing post:** 2

<div class="post-metadata">

**Author:** ![Steven](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/steven/32/112504_2.png) [@Steven](https://forum.dynamobim.com/u/Steven)\
**Post date:** [November 7, 2018, 5:16pm UTC](https://forum.dynamobim.com/t/read-current-projection-line-color-weight/28167/2 "2018-11-07T17:16:27Z")

</div>

I set out to do this a while back. I was able to get the settings from the Visibility Graphics but if its set to default it returns -1. I was unable to find a way to gather the object styles in addition. It should give you a great start though. My post got hijacked before a resolution was found. Let me know how it goes.

> [@Visibility Graphics Settings](https://forum.dynamobim.com/t/visibility-graphics-settings/3203/2):
>
> Hi Steven, You’re right it’s something that you need the API for. Luckily it’s quite a trivial matter: You can find the documentation here: [http://revitapisearch.com/html/bd467fbb-a9da-7cf1-1ef5-f0f3568db0ac.htm](http://revitapisearch.com/html/bd467fbb-a9da-7cf1-1ef5-f0f3568db0ac.htm) &nbsp;

---

_[View the full topic](https://forum.dynamobim.com/t/read-current-projection-line-color-weight/28167)._
