GetCurve Method


Boundary Conditions Get Curve Method

Returns curve that define geometry of the line boundary conditions.

Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public Curve GetCurve()

Return Value

Curve
Exceptions
Exception Condition
InvalidObjectException Thrown when BoundaryConditions is not a BoundaryConditionsType::Line type.
Remarks
Boundary conditions should be BoundaryConditionsType::Line type. Otherwise exception is thrown.
See Also
ArchiLabs Desktop

Put AI to work inside Revit.

Give Desktop your instructions and project files to build Revit families, update model elements, and create views and schedules. Works directly in Revit and AutoCAD.

Explore Desktop →