# ScheduleSheetInstance Coordinates

**URL:** <https://forum.dynamobim.com/t/schedulesheetinstance-coordinates/23828>\
**Category:** Revit\
**Tags:** geometry, dynamo\
**Created:** [July 17, 2018, 2:30pm UTC](https://forum.dynamobim.com/t/schedulesheetinstance-coordinates/23828 "2018-07-17T14:30:31Z")\
**Posts on this page:** 13\
**Page:** 1

<div class="post-metadata">

**Author:** ![mickael.g](https://avatars.discourse-cdn.com/v4/letter/m/f19dbf/32.png) [@mickael.g](https://forum.dynamobim.com/u/mickael.g)\
**Post date:** [July 17, 2018, 2:30pm UTC](https://forum.dynamobim.com/t/schedulesheetinstance-coordinates/23828/1 "2018-07-17T14:30:31Z")

</div>

Hello Everyone,

I’m trying to get the coordinates of a scheduleSheetInstance. I tried some differents methodes (2 differents actualy) and I can’t get a good result. The coordinates I’m looking for is the center coordinate. Do you have any ideas about it?

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [July 17, 2018, 2:53pm UTC](https://forum.dynamobim.com/t/schedulesheetinstance-coordinates/23828/2 "2018-07-17T14:53:05Z")

</div>

The [Point](http://www.revitapidocs.com/2018/7bce07cc-eb07-d399-ed18-af09947cc32d.htm) method returns the insertion point which is the top left corner of the schedule instance (this location does not change). You might be able to get the center point by using a bounding box.

---

<div class="post-metadata">

**Author:** ![mickael.g](https://avatars.discourse-cdn.com/v4/letter/m/f19dbf/32.png) [@mickael.g](https://forum.dynamobim.com/u/mickael.g)\
**Post date:** [July 17, 2018, 3:55pm UTC](https://forum.dynamobim.com/t/schedulesheetinstance-coordinates/23828/3 "2018-07-17T15:55:21Z")

</div>

I tried the point method, but I can’t find how to get the bounding box. This method doesn’t work… Did I make something wrong?

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/d/f/df4374f4eb5320285bd6e46b6c343688c00975ba.png)

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [July 17, 2018, 5:05pm UTC](https://forum.dynamobim.com/t/schedulesheetinstance-coordinates/23828/4 "2018-07-17T17:05:29Z")

</div>

Again you would likely have to use Python in this case.  
[http://www.revitapidocs.com/2018/def2f9f2-b23a-bcea-43a3-e6de41b014c8.htm](http://www.revitapidocs.com/2018/def2f9f2-b23a-bcea-43a3-e6de41b014c8.htm)

---

<div class="post-metadata">

**Author:** ![mickael.g](https://avatars.discourse-cdn.com/v4/letter/m/f19dbf/32.png) [@mickael.g](https://forum.dynamobim.com/u/mickael.g)\
**Post date:** [July 18, 2018, 6:06am UTC](https://forum.dynamobim.com/t/schedulesheetinstance-coordinates/23828/5 "2018-07-18T06:06:50Z")

</div>

Well, I’m not a big fan of Python, because I’ve never learned it properly… There is no solution using dynamo? with packages maybe? Is there a python script already existing for this case?

---

<div class="post-metadata">

**Author:** ![lkichenin](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/lkichenin/32/96679_2.png) [@lkichenin](https://forum.dynamobim.com/u/lkichenin)\
**Post date:** [July 18, 2018, 6:17am UTC](https://forum.dynamobim.com/t/schedulesheetinstance-coordinates/23828/6 "2018-07-18T06:17:32Z")

</div>

Hey there,

Here’s the snippet of code I made for this.

Hope that helps

```
import clr
clr.AddReference('ProtoGeometry')
from Autodesk.DesignScript.Geometry import *

# Les entrées effectuées dans ce noeud sont stockées sous forme de liste dans les variables IN.
schedules = UnwrapElement(IN[0])
result = []

for schedule in schedules:
	loc = schedule.Point
	result.append(Point.ByCoordinates(loc.X,loc.Y,loc.Z))
	
# Affectez la sortie à la variable OUT.
OUT = result
```

---

<div class="post-metadata">

**Author:** ![mickael.g](https://avatars.discourse-cdn.com/v4/letter/m/f19dbf/32.png) [@mickael.g](https://forum.dynamobim.com/u/mickael.g)\
**Post date:** [July 18, 2018, 6:31am UTC](https://forum.dynamobim.com/t/schedulesheetinstance-coordinates/23828/7 "2018-07-18T06:31:41Z")

</div>

Hi !

hm, that didn’t work, here is what Dynamo says :

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/3/037c1b268ff133f2b6ef02bb646ee13d499832f6.png)

I think your code is not for ScheduleSheetInstance…

---

<div class="post-metadata">

**Author:** ![lkichenin](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/lkichenin/32/96679_2.png) [@lkichenin](https://forum.dynamobim.com/u/lkichenin)\
**Post date:** [July 18, 2018, 11:38am UTC](https://forum.dynamobim.com/t/schedulesheetinstance-coordinates/23828/8 "2018-07-18T11:38:13Z")

</div>

Can you insert a watch node after the “schedules” output ?

---

<div class="post-metadata">

**Author:** ![Nick\_Boyts](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/nick_boyts/32/76313_2.png) [@Nick\_Boyts](https://forum.dynamobim.com/u/Nick_Boyts)\
**Post date:** [July 18, 2018, 12:44pm UTC](https://forum.dynamobim.com/t/schedulesheetinstance-coordinates/23828/9 "2018-07-18T12:44:42Z")

</div>

Your schedule output is a list of lists. You need to flatten it before the python node.

I would also highly recommend taking the time to at least learn the basics of Python. While there are many core and custom nodes that can help with Revit functions, being able to utilize the entire API will make these more complex or less common processes a breeze.

---

<div class="post-metadata">

**Author:** ![mickael.g](https://avatars.discourse-cdn.com/v4/letter/m/f19dbf/32.png) [@mickael.g](https://forum.dynamobim.com/u/mickael.g)\
**Post date:** [July 19, 2018, 6:16am UTC](https://forum.dynamobim.com/t/schedulesheetinstance-coordinates/23828/10 "2018-07-19T06:16:54Z")

</div>

Ok Thanks.

Yes I know that… I’m working on it, but I’d higly rather doing it without having to write lines of code ^^. If I have no other choice, I’m doing it…

---

<div class="post-metadata">

**Author:** ![Kendrick.Cross](https://avatars.discourse-cdn.com/v4/letter/k/aeb1de/32.png) [@Kendrick.Cross](https://forum.dynamobim.com/u/Kendrick.Cross)\
**Post date:** [July 17, 2023, 5:19pm UTC](https://forum.dynamobim.com/t/schedulesheetinstance-coordinates/23828/11 "2023-07-17T17:19:36Z")

</div>

Is it possible to use this to place a bunch of schedules that i have already created? and use a single input for the location?  
i have a list of schedules and i have the into location of a set up sheet and i want to place the rest using this Graph but i need to be able it input a list of schedules

---

<div class="post-metadata">

**Author:** ![staylor](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/staylor/32/94307_2.png) [@staylor](https://forum.dynamobim.com/u/staylor)\
**Post date:** [July 17, 2023, 5:28pm UTC](https://forum.dynamobim.com/t/schedulesheetinstance-coordinates/23828/12 "2023-07-17T17:28:57Z")

</div>

The code above is for getting the location of an existing schedule only. So it would take some recoding in order to place schedules onto sheets. Use Viewport.Create from rhythm to place schedules on sheets. You may have to manipulate the lacing and the levels, depending on how you have your schedules, points and sheets lists formatted.

![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/4/74d06a69c2c6708e1202d87feab2ec879ad64046.png)

Btw, it’s always best to start a new thread versus high-jacking an existing one. Especially if the original thread already has a solution. You can always reference the original thread if needed. New threads are more actively monitored and will yield quicker responses.

---

<div class="post-metadata">

**Author:** ![Kendrick.Cross](https://avatars.discourse-cdn.com/v4/letter/k/aeb1de/32.png) [@Kendrick.Cross](https://forum.dynamobim.com/u/Kendrick.Cross)\
**Post date:** [July 17, 2023, 5:44pm UTC](https://forum.dynamobim.com/t/schedulesheetinstance-coordinates/23828/13 "2023-07-17T17:44:07Z")

</div>

thanks
