Creates a CompoundStructure containing a single layer.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public static CompoundStructure CreateSingleLayerCompoundStructure( MaterialFunctionAssignment layerFunction, double width, ElementId materialId )
Parameters
- layerFunction MaterialFunctionAssignment
- The function of the single layer.
- width Double
- The width of the single layer.
- materialId ElementId
- The ElementId of the material for the single layer.
Return Value
CompoundStructureThe newly created compound structure.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | A non-optional argument was null |
ArgumentOutOfRangeException | The given value for width must be greater than 0 and no more than 30000 feet. -or- A value passed for an enumeration argument is not a member of that enumeration |