FilledRegion.Create
Description:
Creates a filled region from the given boundaries.
Creates a filled region from the given boundaries.
Remarks:
The line style of the boundaries will be set to thin lines by default.
The line style of the boundaries will be set to thin lines by default.
public static FilledRegion Create(
Document document,
ElementId typeId,
ElementId viewId,
IList<CurveLoop> boundaries
)
-
documentThe document in which to create the filled region.
-
typeIdThe filled region type Id.
-
viewIdThe view Id.
-
IList<CurveLoop>boundariesThe boundaries.
-
The Id typeId is invalid. -or- Thrown if the viewId or typeId is invalid, or the view does not support the detail items creation, or if the boundaries are empty, open, or self-intersecting.
-
A non-optional argument was NULL