StructuralSectionUtils.GetStructuralElementDefinitionData
Method
Description:
Return structural element definition data.
Return structural element definition data.
Remarks:
This information is provided only for beams, braces and structural columns.
This information is provided only for beams, braces and structural columns.
Syntax
public static StructuralSectionErrorCode GetStructuralElementDefinitionData(
Document document,
ElementId elementId,
out StructuralElementDefinitionData data
)
Parameters
Parameter | Type | Description |
---|---|---|
document | Document | The document that owns the beam, brace or structural column. |
elementId | ElementId | ID of family instance for beam, brace or structural column. |
data | StructuralElementDefinitionData | Structural element definition data. |
Return Value
Type | Description |
---|---|
StructuralSectionErrorCode | Success code is returned if StructuralElementDefinitionData was provided successfully, error code otherwise. |
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |