Sample Code Revit Batch Processor 1.1.11 documentation

Contents:

This Page

duHast.Revit.Ceilings.Utility package

Submodules

duHast.Revit.Ceilings.Utility.ceilings_filter module

This module contains a Revit ceilings utility functions.

duHast.Revit.Ceilings.Utility.ceilings_type_sorting module

This module contains a Revit ceilings utility functions.

duHast.Revit.Ceilings.Utility.ceilings_type_sorting.build_ceiling_type_dictionary(collector, dic)

Returns the dictionary past in with keys and or values added retrieved from collector past in. Keys are built in ceiling family type names. TODO: Use more generic code. :param collector: A filtered element collector containing ceiling types. :type collector: Autodesk.Revit.DB.FilteredElementCollector :param dic: A dictionary containing key: ceiling type family name, value: list of ids belonging to that type. :type dic: dictionary (key str, value list of Autodesk.Revit.DB.ElementId) :return: A dictionary containing key: built in ceiling type family name, value: list of ids belonging to that type. :rtype: dictionary (key str, value list of Autodesk.Revit.DB.ElementId)

duHast.Revit.Ceilings.Utility.ceilings_type_sorting.sort_ceiling_types_by_family_name(doc)

Returns a dictionary of all ceiling types in the model where key is the build in wall family name, values are ids of associated wall types. TODO: Use more generic code. :param doc: Current Revit model document. :type doc: Autodesk.Revit.DB.Document :return: A dictionary containing key: built in ceiling type family name, value: list of ids belonging to that type. :rtype: dictionary (key str, value list of Autodesk.Revit.DB.ElementId)

Module contents