Sample Code Revit Batch Processor 1.1.11 documentation
Returns the dictionary past in with keys and or values added retrieved from collector past in. Keys are built in floor family type names. TODO: This code repeats across a number of modules. Use generic instead! :param collector: A filtered element collector containing floor types. :type collector: Autodesk.Revit.DB.FilteredElementCollector :param dic: A dictionary containing key: floor 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 floor type family name, value: list of ids belonging to that type. :rtype: dictionary (key str, value list of Autodesk.Revit.DB.ElementId)
Returns a dictionary containing all floor types in the model. Key values are as per BUILTIN_FLOOR_TYPE_FAMILY_NAMES. TODO: This code repeats across a number of modules. Use generic instead! :param doc: Current Revit model document. :type doc: Autodesk.Revit.DB.Document :return: A dictionary containing key: floor type family name, value: list of ids. :rtype: dic { str: [Autodesk.Revit.DB.ElementId]}