GetLayerInfos
IEnumerable<LayerInfo> GetLayerInfos(this CompoundStructure cs, Document doc)Gets all layers as LayerInfo objects with additional details.
Parameters
- csCompoundStructure
The compound structure.
- docDocument
The document used to resolve materials.
Returns: A collection of LayerInfo (empty if unavailable).
Example
var infos = cs.GetLayerInfos(doc);