Sample Code Revit Batch Processor 1.1.11 documentation

Contents:

This Page

duHast.Revit.Levels.Reporting package

Submodules

duHast.Revit.Levels.Reporting.levels_report_header module

This module contains the header row for any levels reports.

duHast.Revit.Levels.Reporting.levels_report_header.REPORT_LEVELS_HEADER = ['HOSTFILE', 'ID', 'NAME', 'WORKSETNAME', 'ELEVATION']

header used in reports

duHast.Revit.Levels.Reporting.levels_report_utils module

This module contains utility function(s) for level reports.

duHast.Revit.Levels.Reporting.levels_report_utils.get_level_report_data(doc, revitFilePath)

Gets level data ready for being printed to file. :param doc: Current Revit model document. :type doc: Autodesk.Revit.DB.Document :param revitFilePath: The file hostname, which is added to data returned. :type revitFilePath: str :return: list of list of revit level properties. :rtype: list of list of str

Module contents