# Creating a Roof in Dynamo for Revit

**URL:** <https://forum.dynamobim.com/t/creating-a-roof-in-dynamo-for-revit/9183>\
**Category:** Revit\
**Created:** [January 27, 2017, 6:14am UTC](https://forum.dynamobim.com/t/creating-a-roof-in-dynamo-for-revit/9183 "2017-01-27T06:14:00Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![Ohfive30](https://avatars.discourse-cdn.com/v4/letter/o/8797f3/32.png) [@Ohfive30](https://forum.dynamobim.com/u/Ohfive30)\
**Post date:** [January 27, 2017, 6:14am UTC](https://forum.dynamobim.com/t/creating-a-roof-in-dynamo-for-revit/9183/1 "2017-01-27T06:14:00Z")

</div>

Is there a Roof Types node and something like a Roof.ByCurveAndLevel in Dynamo?

If not how do you go about creating a roof using one of the roof types from the revit document.

---

<div class="post-metadata">

**Author:** ![Yna\_Db](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/yna_db/32/30641_2.png) [@Yna\_Db](https://forum.dynamobim.com/u/Yna_Db)\
**Post date:** [January 27, 2017, 7:35am UTC](https://forum.dynamobim.com/t/creating-a-roof-in-dynamo-for-revit/9183/2 "2017-01-27T07:35:19Z")

</div>

Hello and welcome to the forum! 🙂  
You will find lots of information to get started by typing your keywords in the search field, for instance:

> [@Roof Nodes](https://forum.dynamobim.com/t/roof-nodes/2788):
>
> I’m searching for roof nodes but can’t find them. Does Dynamo access the Revit Roof object? If so, how do I access it?

For entry points to Dynamo, please see these pages:  
[http://dynamoprimer.com/en/01\_Introduction/1\_introduction.html](http://dynamoprimer.com/en/01_Introduction/1_introduction.html)  
[http://dynamoprimer.com/en/01\_Introduction/1\_introduction.html](http://dynamoprimer.com/en/01_Introduction/1_introduction.html)

For further information on how to get help, please see here:

> [@How to get help on the Dynamo forums](https://forum.dynamobim.com/t/how-to-get-help-on-the-dynamo-forums/4677):
>
> One of the main goals of the Dynamo community is to help others. One way to do that is by answering your questions. But to get the right answer, you’ll first have to ask your question in the right way. Although people are generally very helpful, there are things you can do to improve your chances of getting good and quick answers. Below you will find some suggestions on how to achieve that. Do not think of these suggestions as rules and especially do not take them as a guarantee of getting an an…

---

<div class="post-metadata">

**Author:** ![Jay\_Polding](https://avatars.discourse-cdn.com/v4/letter/j/e95f7d/32.png) [@Jay\_Polding](https://forum.dynamobim.com/u/Jay_Polding)\
**Post date:** [February 15, 2017, 6:03pm UTC](https://forum.dynamobim.com/t/creating-a-roof-in-dynamo-for-revit/9183/3 "2017-02-15T18:03:20Z")

</div>

I typed ‘Roof’ into the search in Dynamo as well as the ‘Primer’ but there is nothing. Looks like you can not make a roof in Revit by using Dynamo.

---

<div class="post-metadata">

**Author:** ![Kulkul](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/kulkul/32/49801_2.png) [@Kulkul](https://forum.dynamobim.com/u/Kulkul)\
**Post date:** [February 15, 2017, 7:02pm UTC](https://forum.dynamobim.com/t/creating-a-roof-in-dynamo-for-revit/9183/4 "2017-02-15T19:02:13Z")

</div>

Hi @Jay_Polding

Have a look at the “FootPrintRoofClass” in Revit API [http://www.revitapidocs.com/2016/97eb52e6-5dfd-86b3-708d-aabcda389f4a.htm](http://www.revitapidocs.com/2016/97eb52e6-5dfd-86b3-708d-aabcda389f4a.htm)

[![](https://dl.dropboxusercontent.com/s/uaeq5hcdhempz6w/roof.gif?dl=0) ](https://dl.dropboxusercontent.com/s/uaeq5hcdhempz6w/roof.gif?dl=0)

---

<div class="post-metadata">

**Author:** ![Jay\_Polding](https://avatars.discourse-cdn.com/v4/letter/j/e95f7d/32.png) [@Jay\_Polding](https://forum.dynamobim.com/u/Jay_Polding)\
**Post date:** [February 15, 2017, 7:12pm UTC](https://forum.dynamobim.com/t/creating-a-roof-in-dynamo-for-revit/9183/5 "2017-02-15T19:12:13Z")

</div>

Thanks for the reply (and for archi-lab tools, they are awesome). Still, looks like there are no OOTB Dynamo nodes which make a roof.

---

<div class="post-metadata">

**Author:** ![Jay\_Polding](https://avatars.discourse-cdn.com/v4/letter/j/e95f7d/32.png) [@Jay\_Polding](https://forum.dynamobim.com/u/Jay_Polding)\
**Post date:** [February 15, 2017, 7:18pm UTC](https://forum.dynamobim.com/t/creating-a-roof-in-dynamo-for-revit/9183/7 "2017-02-15T19:18:13Z")

</div>

Okay, you’re making it too easy for me. I appreciate it for sure. I guess I’m just trying to make a philosophical point (to Autodesk) that Dynamo requires too much coding knowledge to do even ‘simple’ things.

---

<div class="post-metadata">

**Author:** ![Vasu](https://avatars.discourse-cdn.com/v4/letter/v/7c8e57/32.png) [@Vasu](https://forum.dynamobim.com/u/Vasu)\
**Post date:** [February 16, 2017, 6:02am UTC](https://forum.dynamobim.com/t/creating-a-roof-in-dynamo-for-revit/9183/8 "2017-02-16T06:02:18Z")

</div>

Hi @Jay_Polding,

Have you tried the Roof.SlabShapeByPoints node from Clockwork package. I tried to create a roof through points.

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/a/9a75f9942c592fd4c316226dd3baee8285015857.png)

And output is,

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

Also, please look at this link, [http://dynamobim.org/forums/topic/floor-and-roof-slabshapebypoints/](http://dynamobim.org/forums/topic/floor-and-roof-slabshapebypoints/).

Thanks

Vasu

---

<div class="post-metadata">

**Author:** ![correuperspam2](https://avatars.discourse-cdn.com/v4/letter/c/e0b2c6/32.png) [@correuperspam2](https://forum.dynamobim.com/u/correuperspam2)\
**Post date:** [August 4, 2017, 2:53am UTC](https://forum.dynamobim.com/t/creating-a-roof-in-dynamo-for-revit/9183/9 "2017-08-04T02:53:02Z")

</div>

Hi! I got the same issue. The script works perfect when using the floor node but i cant do the same when replacing the floor one with Roof.ByOutlineTypeAndLevel and of course changing the floor type with a roof type. I always get a null result in the roof.byoutline node and cant get why. Is there anything else different to be done when you need to create a roof instead of a floor?

Thanks a lot

---

<div class="post-metadata">

**Author:** ![ramsaik495](https://avatars.discourse-cdn.com/v4/letter/r/e5b9ba/32.png) [@ramsaik495](https://forum.dynamobim.com/u/ramsaik495)\
**Post date:** [May 28, 2018, 10:08am UTC](https://forum.dynamobim.com/t/creating-a-roof-in-dynamo-for-revit/9183/10 "2018-05-28T10:08:12Z")

</div>

hi @Kulkul how enter syntax in python script
