# Ceiling.ByOutlineTypeAndLevel

**URL:** <https://forum.dynamobim.com/t/ceiling-byoutlinetypeandlevel/4654>\
**Category:** Revit\
**Created:** [June 21, 2016, 9:59pm UTC](https://forum.dynamobim.com/t/ceiling-byoutlinetypeandlevel/4654 "2016-06-21T21:59:22Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![Hyun\_Tak](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/hyun_tak/32/8510_2.png) [@Hyun\_Tak](https://forum.dynamobim.com/u/Hyun_Tak)\
**Post date:** [June 21, 2016, 9:59pm UTC](https://forum.dynamobim.com/t/ceiling-byoutlinetypeandlevel/4654/1 "2016-06-21T21:59:22Z")

</div>

Hi

I want to create the ceiling using Dynamo like Floor.ByOutlineTypeAndLevel for typical flat ceiling ( basic & compound for different material type)  
I don’t think we have that feature yet in Dynamo 1.0.

> <https://github.com/DynamoDS/Dynamo/issues/3439>

We need Roof.ByOutlineTypeAndLevel also as the basic generation from Dynamo to Revit even though the clockwork has Roof.SlabShapeByPoints.

---

<div class="post-metadata">

**Author:** ![Dimitar\_Venkov](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/dimitar_venkov/32/2068_2.png) [@Dimitar\_Venkov](https://forum.dynamobim.com/u/Dimitar_Venkov)\
**Post date:** [June 22, 2016, 2:43am UTC](https://forum.dynamobim.com/t/ceiling-byoutlinetypeandlevel/4654/2 "2016-06-22T02:43:14Z")

</div>

Revit does not seem to expose any ceiling creation methods to the api, so it looks like Ceilings are out of the question.

Roofs should be possible with the “NewFootPrintRoof” method. There’s an existing topic on that:

> [@Document.NewFootPrintRoof parameter problem](https://forum.dynamobim.com/t/document-newfootprintroof-parameter-problem/2218/2):
>
> I’m trying to create a roof on python, there is this function on Revit API for it: public FootPrintRoof NewFootPrintRoof( CurveArray footPrint, Level level, RoofType roofType, out ModelCurveArray footPrintToModelCurvesMapping ) use it on my python script: footprintRoof = doc.Create.NewFootPrintRoof(footprint, levelId, roof, footPrintToModelCurveMapping) But i get this error: TypeError: expected StrongBox[ModelCurveArray], got ModelCurveArray The problem is that i need to pass a refere…
