FamilySymbol.SetStructuralSection
Method
Description:
Sets the structural section in element.
Sets the structural section in element.
Remarks:
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.
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.
Parameters
| Parameter | Type | Description |
|---|---|---|
| structuralSection | StructuralSection | Structural section with values that will be set. |
Return Value
Exceptions
| Exception | Condition |
|---|---|
| ArgumentNullException | A non-optional argument was null |
| InvalidOperationException | This FamilySymbol cannot have a structural section. |