Revit 2025 API
Family |
Gets the structural section from element.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 25.0.0.0 (25.0.0.0)
Syntax
public StructuralSection GetStructuralSection()
Public Function GetStructuralSection As StructuralSection
public: StructuralSection^ GetStructuralSection()
member GetStructuralSection : unit -> StructuralSection
Return Value
StructuralSectionThe structural section. if the family symbol does not contain a structural section.

Only beams, braces and structural columns can have a structural section.
To check if the element can have structural section use the [!:Family.HasStructuralSection()] method.
See Also