Sample Code Revit Batch Processor 1.1.11 documentation

Contents:

This Page

duHast.Revit.Materials.Reporting package

Submodules

duHast.Revit.Materials.Reporting.materials_report_header module

This module contains the header row for any material reports.

duHast.Revit.Materials.Reporting.materials_report_header.REPORT_MATERIALS_HEADER = ['HOSTFILE', 'ID', 'MATERIALNAME', 'PARAMETERNAME', 'PARAMETERVALUE']

header used in reports

duHast.Revit.Materials.Reporting.materials_report_utils module

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

duHast.Revit.Materials.Reporting.materials_report_utils.get_material_report_data(doc, revit_file_path)

Gets material data ready for being written to file. - HOSTFILE - ID - NAME - and any parameter names and values attached to a material :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 material data in a nested list of string :rtype: list of list of str

Module contents