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

Stop fighting Revit automation.

Build repeatable BIM design and documentation workflows with scripts, data, and AI in one place, without wrestling brittle one-off automations.

Try ArchiLabs →