GetAllLayers
IEnumerable<CompoundStructureLayer> GetAllLayers(this CompoundStructure cs)Gets all layers from a compound structure.
Parameters
- csCompoundStructure
The compound structure.
Returns: All layers (empty if cs is null).
Example
foreach (var layer in cs.GetAllLayers()) { /* ... */ }