# Create (Interior) Elevations by Rooms & Arrange on Sheets

**URL:** <https://forum.dynamobim.com/t/create-interior-elevations-by-rooms-arrange-on-sheets/37863>\
**Category:** Share\
**Created:** [July 2, 2019, 9:02pm UTC](https://forum.dynamobim.com/t/create-interior-elevations-by-rooms-arrange-on-sheets/37863 "2019-07-02T21:02:24Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![steinah6](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@steinah6](https://forum.dynamobim.com/u/steinah6)\
**Post date:** [July 2, 2019, 9:02pm UTC](https://forum.dynamobim.com/t/create-interior-elevations-by-rooms-arrange-on-sheets/37863/1 "2019-07-02T21:02:25Z")

</div>

In my continued attempt to streamline documentation, I wrote a script that creates elevations and places them on sheets. It’s mainly going to be used for interior elevations such as copy rooms and cafes.

Script flow:  
**Rooms**

- Get all rooms, filter by names that contain text [User Input]
- Set Limit Offset to ceiling height [User Input] but working on getting the highest Ceiling Height of a a ceiling in the room.
- Center the Room

**Create Elevations**

- Get Room locations, create Elevation Marker Circle of FamilyType [User Input]
- Get Room Level, find corresponding Partition Plans
- Create Elevation Marker Indexes on all 4 points (works for rectangular rooms only for now)
- Rename Elevations with concatenate string of Room Name, Number - West, North, East, & South
- Get Room Geometry, Bounding Box, Set Crop Region

**Place Views on Sheets**

- Select up to 3 sheets to place views on (each room gets its own row, with 4 rows per sheet on a 30x42 sheet at 3/8" view scale)
- Split list of Room Elevations into groups of 4 and PackViews on sheets

**Arrange Views on Sheets**

- Group Viewports by Room Number (elements in room)
- Renumber Views by row (1-4, 11-14, 21-24, 31-34)
- Get Viewport Locations and do a lot of fancy math to create Vectors to move views into a grid in rows from top down with user-defined left-right padding distance

I know there’s some bloat in the script, I can use lists to combine the 3 “place on sheet” workflows into one, but haven’t had time. Also goign to program in some more automation in creating sheets as needed for longer lists of views, in sequential order.

I’ll update later with packages required, etc.

Let me know what you think!

[Views - Create Interior Elevations.dyn](https://forum.dynamobim.com/uploads/short-url/kkGvGiGmyuREbe2pSldnYVjnuaA.dyn) (309.6 KB)

---

<div class="post-metadata">

**Author:** ![n.quinnAWY86](https://avatars.discourse-cdn.com/v4/letter/n/c77e96/32.png) [@n.quinnAWY86](https://forum.dynamobim.com/u/n.quinnAWY86)\
**Post date:** [September 17, 2019, 10:52am UTC](https://forum.dynamobim.com/t/create-interior-elevations-by-rooms-arrange-on-sheets/37863/2 "2019-09-17T10:52:31Z")

</div>

Hi Steinah,

what packages did you use for this script?

---

<div class="post-metadata">

**Author:** ![assajero](https://avatars.discourse-cdn.com/v4/letter/a/b2d939/32.png) [@assajero](https://forum.dynamobim.com/u/assajero)\
**Post date:** [October 15, 2019, 12:11pm UTC](https://forum.dynamobim.com/t/create-interior-elevations-by-rooms-arrange-on-sheets/37863/3 "2019-10-15T12:11:07Z")

</div>

What packages did you use for this script?

---

<div class="post-metadata">

**Author:** ![steinah6](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@steinah6](https://forum.dynamobim.com/u/steinah6)\
**Post date:** [October 15, 2019, 7:30pm UTC](https://forum.dynamobim.com/t/create-interior-elevations-by-rooms-arrange-on-sheets/37863/4 "2019-10-15T19:30:49Z")

</div>

archilab v.2019.2.27  
ReAnimation v.2019.7.26  
Clockwork v.2.1.2  
spring nodes v.202.1.1  
Rhythm v.2019.7.24

---

<div class="post-metadata">

**Author:** ![migueliyus](https://avatars.discourse-cdn.com/v4/letter/m/b782af/32.png) [@migueliyus](https://forum.dynamobim.com/u/migueliyus)\
**Post date:** [November 1, 2019, 7:01pm UTC](https://forum.dynamobim.com/t/create-interior-elevations-by-rooms-arrange-on-sheets/37863/5 "2019-11-01T19:01:21Z")

</div>

the file is corrupted for some reason?

---

<div class="post-metadata">

**Author:** ![steinah6](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@steinah6](https://forum.dynamobim.com/u/steinah6)\
**Post date:** [November 1, 2019, 7:29pm UTC](https://forum.dynamobim.com/t/create-interior-elevations-by-rooms-arrange-on-sheets/37863/6 "2019-11-01T19:29:54Z")

</div>

It must be opened in 2.0.x

---

<div class="post-metadata">

**Author:** ![rartis](https://avatars.discourse-cdn.com/v4/letter/r/dfb087/32.png) [@rartis](https://forum.dynamobim.com/u/rartis)\
**Post date:** [March 11, 2020, 10:21pm UTC](https://forum.dynamobim.com/t/create-interior-elevations-by-rooms-arrange-on-sheets/37863/7 "2020-03-11T22:21:26Z")

</div>

I am really new on Dynamo, so I am trying to figure this out.

What do you mean by “Get Room Level, find corresponding Partition Plans” I can see there is a Code block that says “Partition”, so I was wondering if this is supposed to be a parameter I need to create? Or do I need to rename something ?

Thank you so much in advance!

 ![Views - Create Interior Elevations_2020-03-11_04-19-33](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/b/ab54bf151ae10eb0e11a3c4494e7cbee2e57476f.png)

---

<div class="post-metadata">

**Author:** ![schebiy](https://avatars.discourse-cdn.com/v4/letter/s/50afbb/32.png) [@schebiy](https://forum.dynamobim.com/u/schebiy)\
**Post date:** [July 17, 2020, 5:40pm UTC](https://forum.dynamobim.com/t/create-interior-elevations-by-rooms-arrange-on-sheets/37863/8 "2020-07-17T17:40:23Z")

</div>

The file is being blocked by chrome. It seems to have malicious stuff.

---

<div class="post-metadata">

**Author:** ![steinah6](https://avatars.discourse-cdn.com/v4/letter/s/90ced4/32.png) [@steinah6](https://forum.dynamobim.com/u/steinah6)\
**Post date:** [August 7, 2020, 12:41pm UTC](https://forum.dynamobim.com/t/create-interior-elevations-by-rooms-arrange-on-sheets/37863/9 "2020-08-07T12:41:16Z")

</div>

I’m searching all the views’ names for the word “Partition” using the Search String node.
