Set structural section in element.
Namespace: Autodesk.Revit.DB.Structure.StructuralSections
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public static bool SetStructuralSection( Document document, ElementId familySymbolId, StructuralSection structuralSection )
Parameters
- document Document
- The document that owns the family for beam, brace or structural column.
- familySymbolId ElementId
- ID of family symbol for beam, brace or structural column.
- structuralSection StructuralSection
- Structural section with values that will be set.
Return Value
BooleanTrue is returned when requested shape with values was properly set. Return false otherwise.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |