Gets the structural section from element.
Namespace: Autodesk.Revit.DBAssembly: RevitAPI (in RevitAPI.dll) Version: 26.4.0.0 (26.4.0.0)
Syntax
C#
public StructuralSection GetStructuralSection()
Return Value
StructuralSection
The structural section.
null if the family symbol does not contain a structural section.
Remarks
Only beams, braces and structural columns can have a structural section.
To check if the element can have structural section use the
CanHaveStructuralSection() method.
See Also
Reference