2027 Method
Changes 0
M

CurveByPointsUtils.AddCurvesToFaceRegion

Description:
Adds The CurveElements to one or more FaceRegions.
Remarks:
The CurveElements that are input may produce an arbitrary number of regions.
public static void AddCurvesToFaceRegion(
	Document document,
	IList<ElementId> curveElemIds
)
  • document
    The Document.
  • IList<ElementId>
    curveElemIds
    The ElementIds of CurveElements which are to define the FaceRegion.
  • All the input CurveElements must be CurveByPoints, with the sketchOnSurface attribute set to True, and for each CurveElement, the defining ReferencePoints must be hosted on References related to a common Face or Edge.
  • A non-optional argument was null
  • Failed to add curves to FaceRegion.