If you have a filled region type in your document, you can obtain it's
typeid like this:
collector = FilteredElementCollector(doc).OfClass(FilledRegionType)
filledRegionType = list(collector)[0] # get the first
typeId = filledRegionType.Id
Does that help?
The RevitPythonShell only exposes the API - being beta doesn't mean
the new features aren't available for scripting, it just means I
haven't got around to enhancing the interface (Ribbon etc.) to make
use of the new features.
Regards,
Daren
On Fri, Aug 24, 2012 at 9:51 AM, Erick Katzenstein
<
erick.ka...@gmail.com> wrote:
> Right now, I'm trying to create a filled region square while in an elevation
> view (from the right side). The code is at the bottom...I'm getting snagged
> on some of the parameters:
>
> The RevitAPI.chm file lists these as the parameters for FilledRegion.Create:
>
> document Type: Autodesk.Revit.DB..::..Document
> The document in which to create the filled region.
> typeIdType: Autodesk.Revit.DB..::..ElementId
> The filled region type Id.
> viewIdType: Autodesk.Revit.DB..::..ElementId
> The view Id.
> boundariesType: System.Collections.Generic..::..IList<(Of <(<'CurveLoop>)>)>