Gets the centerline of the bearer. The method is applicable only for bearer hanger.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public Line GetBearerCenterline()
Return Value
LineThe centerline of the bearer.
Exceptions
| Exception | Condition |
|---|---|
| InvalidOperationException | The hanger is not a bearer hanger. |
