GetCompoundMaterials
IEnumerable<Material> GetCompoundMaterials(this Element element)Gets all materials from an element's compound structure.
Parameters
- elementElement
The element instance.
Returns: A list of unique materials (empty if none).
Example
var mats = wall.GetCompoundMaterials();