RVTDocs.com
Namespace: Autodesk.Revit.DB Class: FamilySymbol

FamilySymbol.SetStructuralSection

Method
Description:
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.
Syntax
public void SetStructuralSection(
	StructuralSection structuralSection
)
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.