Sets if the desired layer is active or not.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public void SetLayerActive( bool active, AreaReinforcementLayerType layer )
Parameters
- active Boolean
- True to set the layer to be active, false otherwise.
- layer AreaReinforcementLayerType
- The layer type.
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |