Returns the index of the nearest non-zero width layer before this layer.
Namespace: Autodesk.Revit.DB
Assembly: RevitAPI (in RevitAPI.dll) Version: 26.2.0.0 (26.2.0.0)
Syntax
C#
public int GetPreviousNonZeroLayerIndex( int thisIdx )
Parameters
- thisIdx Int32
- The layer from which to look for a non-zero width layer.
Return Value
Int32The index of the layer found.