Identifies if the layer is active or not.
Namespace: Autodesk.Revit.DB.Structure
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.1.0.0 (26.1.0.34)
Syntax
C#
public bool IsLayerActive( AreaReinforcementLayerType layer )
Parameters
- layer AreaReinforcementLayerType
- The layer that will be tested.
Return Value
BooleanReturns true if the input layer is active, false otherwise
Exceptions
Exception | Condition |
---|---|
ArgumentOutOfRangeException | A value passed for an enumeration argument is not a member of that enumeration |