Community
I think it should be possible to create a polygon given by a set of vertices. However i cannot find an example for it in the web.. can someone give me a hint?
Using either Document.Create.NewModelCurve or Document.Create.NewModelCurveArray you will need to specify line by line of your polygon.
The problem is that NewModelCurve does not fill out the polygon with a solid color, its more a polyline. Is the only other way to use extrusions with a minimal depth? This seems to be not very elegant modeling..
Revit 2013 exposed the API to create the filled region via the FilledRegion.Create method, and pass in the fill region ( its Fill pattern should be solid) type Id.