# How to retrieve Elevation Marker from a selected elevation view?

**URL:** <https://forum.dynamobim.com/t/how-to-retrieve-elevation-marker-from-a-selected-elevation-view/99452>\
**Category:** Revit\
**Tags:** dynamo\
**Created:** [March 27, 2024, 8:49am UTC](https://forum.dynamobim.com/t/how-to-retrieve-elevation-marker-from-a-selected-elevation-view/99452 "2024-03-27T08:49:09Z")\
**Posts on this page:** 5\
**Page:** 1

<div class="post-metadata">

**Author:** ![Jin](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@Jin](https://forum.dynamobim.com/u/Jin)\
**Post date:** [March 27, 2024, 8:49am UTC](https://forum.dynamobim.com/t/how-to-retrieve-elevation-marker-from-a-selected-elevation-view/99452/1 "2024-03-27T08:49:09Z")

</div>

How to get Elevation Marker (Elevation symbol on Floor plan) from a selected elevation view which is one of views of Elevation Marker?  
 ![Screenshot_35](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/e/7ece9d0c17f1ae4862efe0db8515c4b1699e8644.png)

---

<div class="post-metadata">

**Author:** ![GavinNicholls](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gavinnicholls/32/190442_2.png) [@GavinNicholls](https://forum.dynamobim.com/u/GavinNicholls)\
**Post date:** [March 27, 2024, 9:37am UTC](https://forum.dynamobim.com/t/how-to-retrieve-elevation-marker-from-a-selected-elevation-view/99452/2 "2024-03-27T09:37:33Z")

</div>

Not sure if there is a faster way but I usually use Python and get all elevation markers, then check their views until I find it (then I use a break statement or a function return) and that will be the views marker if any.

The method to ask a marker for its views is as follows:

> **[GetViewId Method](https://www.revitapidocs.com/2024/a66f506d-5a5f-9a14-5b7b-aacf46c8f08d.htm)**
>
> Online Documentation for Autodesk's Revit API: 2015, 2016, 2017, 2017.1, 2018

---

<div class="post-metadata">

**Author:** ![Jin](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@Jin](https://forum.dynamobim.com/u/Jin)\
**Post date:** [March 27, 2024, 9:41am UTC](https://forum.dynamobim.com/t/how-to-retrieve-elevation-marker-from-a-selected-elevation-view/99452/3 "2024-03-27T09:41:09Z")

</div>

Thank you! It’s perfect for now.  
I wondered if there is something similar like [from family type return\> family] or [from element return\> host] for elevation views \> elevation marker.

---

<div class="post-metadata">

**Author:** ![GavinNicholls](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gavinnicholls/32/190442_2.png) [@GavinNicholls](https://forum.dynamobim.com/u/GavinNicholls)\
**Post date:** [March 27, 2024, 9:50am UTC](https://forum.dynamobim.com/t/how-to-retrieve-elevation-marker-from-a-selected-elevation-view/99452/4 "2024-03-27T09:50:07Z")

</div>

If youre in 2023+ you can get them by class.

---

<div class="post-metadata">

**Author:** ![Jin](https://avatars.discourse-cdn.com/v4/letter/j/4af34b/32.png) [@Jin](https://forum.dynamobim.com/u/Jin)\
**Post date:** [March 27, 2024, 9:51am UTC](https://forum.dynamobim.com/t/how-to-retrieve-elevation-marker-from-a-selected-elevation-view/99452/5 "2024-03-27T09:51:24Z")

</div>

Thank you! I will try it
