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