StructuralSectionUtils.GetStructuralSection
Description:
Return structural section from element.
Return structural section from element.
Remarks:
Only beams, braces and structural columns can have structural section associated with it.
Only beams, braces and structural columns can have structural section associated with it.
public static StructuralSection GetStructuralSection(
Document document,
ElementId elementId
)
-
documentThe document that owns the family for beam, brace or structural column.
-
elementIdID of family symbol or family instance for beam, brace or structural column.
Return Value
StructuralSection
Structural section returned if element have one.
For elements that do not have structural section or can not have structural section will be returned.
-
A non-optional argument was null