public static CurveLoop CreateViaThicken( CurveLoop curveLoop, double thickness, XYZ normal )
| Exception | Condition |
|---|---|
| ArgumentException | The input thickness is too short for a curve. -or- the curve loop is not marked as open. |
| ArgumentNullException | A non-optional argument was null |
| InvalidOperationException | Throws if the input curve could not be thickened. |
If the curve loop contains curves such as elliptical segments or splines, it is possible the offset creation will fail if Revit will not be able to trim contiguous curves to meet one another. If the offset is successful, offsets of those curve types will be created as HermiteSplines.