2027 Method
Changes 0
M

StructuralSectionUtils.SetStructuralSection

Description:
Set structural section in element.
Remarks:
Only beams, braces and structural columns can have structural section associated with it.
public static bool SetStructuralSection(
	Document document,
	ElementId familySymbolId,
	StructuralSection structuralSection
)
  • document
    The document that owns the family for beam, brace or structural column.
  • familySymbolId
    ID of family symbol for beam, brace or structural column.
  • structuralSection
    Structural section with values that will be set.
Return Value Boolean True is returned when requested shape with values was properly set. Return false otherwise.