# What sheet is my component on in a schedule

**URL:** <https://forum.dynamobim.com/t/what-sheet-is-my-component-on-in-a-schedule/75157>\
**Category:** Revit\
**Created:** [April 5, 2022, 10:30am UTC](https://forum.dynamobim.com/t/what-sheet-is-my-component-on-in-a-schedule/75157 "2022-04-05T10:30:58Z")\
**Posts on this page:** 3\
**Page:** 1

<div class="post-metadata">

**Author:** ![marktZPY5R](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@marktZPY5R](https://forum.dynamobim.com/u/marktZPY5R)\
**Post date:** [April 5, 2022, 10:30am UTC](https://forum.dynamobim.com/t/what-sheet-is-my-component-on-in-a-schedule/75157/1 "2022-04-05T10:30:58Z")

</div>

Hi, I was wondering if someone would be able to help me or point me in the right direction, I am very new to Dynamo. I have tried to search for something that already does what I require but have been unable to find it.

What I would like is for a schedule to be produced that informs me what sheets an object I placed is on/referenced. i,e a door that knows what drawing sheet it’s on so I can then feed that data back into the object and reference it later.

my current thinking is that this would be possible as the object knows what view it’s being shown on and then the view knows what sheets it’s on, however as I said before I am very new to this and if someone could point me in the right direction it would be a massive help.

Thank you

---

<div class="post-metadata">

**Author:** ![Draxl\_Andreas](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/draxl_andreas/32/145744_2.png) [@Draxl\_Andreas](https://forum.dynamobim.com/u/Draxl_Andreas)\
**Post date:** [April 6, 2022, 1:56pm UTC](https://forum.dynamobim.com/t/what-sheet-is-my-component-on-in-a-schedule/75157/2 "2022-04-06T13:56:54Z")

</div>

Hello,

You can try via RevitId. Something like DoorID occures in Schedule x,y,z.

give it try… 🙂

KR

Andreas

---

<div class="post-metadata">

**Author:** ![marktZPY5R](https://avatars.discourse-cdn.com/v4/letter/m/b77776/32.png) [@marktZPY5R](https://forum.dynamobim.com/u/marktZPY5R)\
**Post date:** [May 10, 2022, 3:02pm UTC](https://forum.dynamobim.com/t/what-sheet-is-my-component-on-in-a-schedule/75157/3 "2022-05-10T15:02:19Z")

</div>

Hi I have managed to get this to somewhat work by finding a similar script and somewhat butchering it

> [@Back Referencing Views - Looking for existing script](https://forum.dynamobim.com/t/back-referencing-views-looking-for-existing-script/19768/19):
>
> @rdeardorff I took a quick pass at it and this (messy) modified script seems to work: import clr clr.AddReference('RevitAPI') from Autodesk.Revit.DB import \* clr.AddReference("RevitServices") import RevitServices from RevitServices.Persistence import DocumentManager doc = DocumentManager.Instance.CurrentDBDocument sheetViews = UnwrapElement(IN[0]) views = UnwrapElement(IN[1]) refviews = [] def getRefs(sheetviews, refdview): refViews = [] for view in sheetviews: viewerColl = FilteredEle…

I can get the element to reference what drawing its on but I’m limited to a maximum number of elements its does this for, seems to be linked to the number of viewports in the sheets 13 viewports, 13 elements it works on. I think I’ve got as far as I can (this is my first attempt at dynamo) if someone can give me a nudge in the right direction it would be very helpful

 ![Elements on sheets_2022-05-10_03-57-43](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/a/4afe75eab166dbecefcd13295fafcac0bda51661.png)
