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.1.0.0 (26.1.0.34)
Syntax
C#
public Line GetBearerCenterline()
Return Value
LineThe centerline of the bearer.
Exceptions
Exception | Condition |
---|---|
InvalidOperationException | The hanger is not a bearer hanger. |