Revit 2026 API
Label |
Gets the user-visible name for a StructuralSectionShape.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.0.4.0 (26.0.4.0)
Syntax
public static string GetStructuralSectionShapeName( StructuralSectionShape shape )
Public Shared Function GetStructuralSectionShapeName ( shape As StructuralSectionShape ) As String
public: static String^ GetStructuralSectionShapeName( StructuralSectionShape shape )
static member GetStructuralSectionShapeName : shape : StructuralSectionShape -> string
Parameters
- shape StructuralSectionShape
- The StructuralSectionShape to get the user-visible name.
Return Value
StringReturns the user-visible name for the StructuralSectionShape.
| Exception | Condition |
|---|---|
| ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |
The name is obtained in the current Revit language.
See Also