GetWallTypesWithMaterial
IEnumerable<WallType> GetWallTypesWithMaterial(this Document doc, Material material)Finds all wall types that use a specific material in any layer.
Parameters
- docDocument
The document instance.
- materialMaterial
The material to search for.
Returns: Matching WallType collection.
Example
var wallTypes = doc.GetWallTypesWithMaterial(mat);