Sample Code Revit Batch Processor 1.1.11 documentation
Built in family name for standard floor
Built in family name for a foundation slab
List of all Built in floor family names
Gets a filtered element collector of all ceiling types in the model:
Compound Ceiling
In place families or loaded families
Basic Ceiling
Filters by category. It will therefore not return any roof soffit types ..
doc (Autodesk.Revit.DB.Document) – Current Revit model document.
A filtered element collector containing ceiling types.
Autodesk.Revit.DB.FilteredElementCollector
Gets a filtered element collector of all ceiling types in the model:
Roof Soffit
Compound Ceiling
Basic Ceiling
Filters by class. It will therefore not return any in place family types.
doc (Autodesk.Revit.DB.Document) – Current Revit model document.
A filtered element collector containing ceiling types.
Autodesk.Revit.DB.FilteredElementCollector
Gets all floor elements placed in model…ignores in foundation slabs.
Filters by builtin category.
doc (Autodesk.Revit.DB.Document) – Current Revit model document.
A filtered element collector containing floor instances.
Autodesk.Revit.DB.FilteredElementCollector
Gets all floor elements placed in model…ignores in place families of category floor.
Filters by class.
doc (Autodesk.Revit.DB.Document) – Current Revit model document.
A filtered element collector containing floor instances.
Autodesk.Revit.DB.FilteredElementCollector
Returns all Floor element types available in model.
Filters by builtin category.
doc (Autodesk.Revit.DB.Document) – Current Revit model document.
A filtered element collector containing floor types.
Autodesk.Revit.DB.FilteredElementCollector
Returns all Floor element types available in model.
Filters by class.
doc (Autodesk.Revit.DB.Document) – Current Revit model document.
A filtered element collector containing floor types.
Autodesk.Revit.DB.FilteredElementCollector
Gets all instances of in place families of category floor.
doc (Autodesk.Revit.DB.Document) – Current Revit model document.
A filtered element collector containing floor family instances.
Autodesk.Revit.DB.FilteredElementCollector
Gets type ids off all available in place families symbols (types) of category floor.
doc (Autodesk.Revit.DB.Document) – Current Revit model document.
List of element ids representing in place floor symbols (types).
list of Autodesk.Revit.DB.ElementId
Returns all used in Floor type ids. Filters by builtin category. Used: at least one instance of this type is placed in the model.
doc (Autodesk.Revit.DB.Document) – Current Revit model document.
List of element ids representing not used floor types.
list of Autodesk.Revit.DB.ElementId
Compares two lists of ids. True if any id is not in un_used_type_ids. TODO: check for more generic list comparison and remove this function.
fam_type_ids (List of Autodesk.Revit.DB.ElementId) – List of family type ids to check.
un_used_type_ids (List of Autodesk.Revit.DB.ElementId) – Reference list of ids.
True if any id from fam_type_ids is not in un_used_type_ids.
bool
Gets all unused floor type id’s. This method can be used to safely delete unused wall types: In the case that no wall instance using any of the types is placed this will return all but one type id since Revit requires at least one wall type definition to be in the model. Filters by class: - Floor - foundation slab It will therefore not return any in place family types.
doc (Autodesk.Revit.DB.Document) – Current Revit model document.
List of element ids representing not used floor types.
list of Autodesk.Revit.DB.ElementId
Gets all used in place family symbol (type) ids. Used: at least one instance of this type is placed in the model.
doc (Autodesk.Revit.DB.Document) – Current Revit model document.
List of element ids representing in place floor symbols (types).
list of Autodesk.Revit.DB.ElementId
Gets all used in place family symbol (type) ids. Unused: Not one instance of this type is placed in the model.
doc (Autodesk.Revit.DB.Document) – Current Revit model document.
List of element ids representing in place floor symbols (types).
list of Autodesk.Revit.DB.ElementId
Gets symbol(type) ids and family ids (when no type is in use) of in place floor families which can be safely deleted from the model. This method can be used to safely delete unused in place floor types. There is no requirement by Revit to have at least one in place wall definition in the model.
doc (Autodesk.Revit.DB.Document) – Current Revit model document.
List of element ids representing unused in place floor types and families.
list of Autodesk.Revit.DB.ElementId