Sample Code Revit Batch Processor 1.1.11 documentation

Contents:

This Page

duHast.Revit.Common.Reporting package

Submodules

duHast.Revit.Common.Reporting.groups_report_header module

This module contains the header row for any groups reports.

duHast.Revit.Common.Reporting.groups_report_header.REPORT_GROUPS_HEADER = ['HOSTFILE', 'ID', 'NAME', 'GROUP TYPE', 'NUMBER OF INSTANCES']

header used in reports

duHast.Revit.Common.Reporting.worksets_report_header module

This module contains the header row for any worksets reports.

duHast.Revit.Common.Reporting.worksets_report_header.REPORT_WORKSETS_HEADER = ['HOSTFILE', 'ID', 'NAME', 'ISVISIBLEBYDEFAULT']

header used in reports

duHast.Revit.Common.Reporting.worksets_report_utils module

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

duHast.Revit.Common.Reporting.worksets_report_utils.get_workset_report_data(doc, revit_file_path)

Gets workset data ready for being written to file. - HOSTFILE - ID - NAME - ISVISIBLEBYDEFAULT :param doc: Current Revit model document. :type doc: Autodesk.Revit.DB.Document :param revit_file_path: The fully qualified file path of Revit file. :type revit_file_path: str :return: The workset data in a nested list of string :rtype: list of list of str

Module contents