Sample Code Revit Batch Processor 1.1.11 documentation

Contents:

This Page

duHast.Revit.Rooms.Reporting package

Submodules

duHast.Revit.Rooms.Reporting.revit_rooms_report_header module

This module contains the header row for any room reports.

duHast.Revit.Rooms.Reporting.revit_rooms_report_header.REPORT_ROOMS_HEADER = ['HOSTFILE', 'ID', 'NAME', 'NUMBER']

header used in reports

duHast.Revit.Rooms.Reporting.room_separation_lines module

Revit room separation lines reports functions.

duHast.Revit.Rooms.Reporting.room_separation_lines.room_lines_with_warnings_by_design_option_and_level(doc)

Reports all room separation line with warnings by design option and level they belong too

Parameters:

doc (Autodesk.Revit.DB.Document) – Current Revit model document.

Returns:

dictionary where key is the design option name and value is a nested dictionary where key is the level name and value is a list of room lines.

Return type:

{str: {str:[Autodesk.Revit.DB.ModelCurve]}}

duHast.Revit.Rooms.Reporting.room_separation_lines.room_lines_without_warnings_by_design_option_and_level(doc)

Reports all room separation line without warnings by design option and level they belong too

Parameters:

doc (Autodesk.Revit.DB.Document) – Current Revit model document.

Returns:

A dictionary where key is the design option name and value is a nested dictionary where key is the level name and value is a list of room lines.

Return type:

{str: {str:[Autodesk.Revit.DB.ModelCurve]}}

Module contents