RVTDocs.com

CompoundStructureLayer.LayerId

Property
Description:
The id of the layer - note that this may be different from the index in the array of layers in a CompoundStructure.
Syntax
public int LayerId { get; }