M

StructuralSectionUtils.GetStructuralSection

Description:
Return structural section from element.
Remarks:
Only beams, braces and structural columns can have structural section associated with it.
public static StructuralSection GetStructuralSection(
	Document document,
	ElementId elementId
)
Return Value nullNothingnullptr Structural section returned if element have one. For elements that do not have structural section or can not have structural section null Nothing nullptr a null reference ( Nothing in Visual Basic) will be returned.