Returns the curve of the Analytical Element.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 23.0.0.0 (23.1.0.0)
Since:
2023
Syntax
| C# |
|---|
public Curve GetCurve() |
| Visual Basic |
|---|
Public Function GetCurve As Curve |
| Visual C++ |
|---|
public:
Curve^ GetCurve() |
Return Value
The curve of the Analytical Element.
Remarks
Examples
CopyC#
public void GetColumnCurve(AnalyticalElement member)
{
if (member.StructuralRole == AnalyticalStructuralRole.StructuralRoleColumn)
{
if (member.IsSingleCurve() == true)
{
Curve columnCurve = member.GetCurve();
}
}
}
Exceptions
See Also