GetFloorTypesWithMaterial

IEnumerable<FloorType> GetFloorTypesWithMaterial(this Document doc, Material material)

Finds all floor types that use a specific material in any layer.

Parameters

  • docDocument

    The document instance.

  • materialMaterial

    The material to search for.

Returns: Matching FloorType collection.

Example

var floorTypes = doc.GetFloorTypesWithMaterial(mat);