Sample Code Revit Batch Processor 1.1.11 documentation

Contents:

This Page

duHast.Revit.Views.FromRooms package

Submodules

duHast.Revit.Views.FromRooms.create module

A number of utility functions which create views usually found on a Room Layout Sheet

Views created for a room are:

  • plan

  • elevations

  • 3D view

  • schedule

duHast.Revit.Views.FromRooms.create.create_plan_view_from_room(doc, room, view_plan_type)
duHast.Revit.Views.FromRooms.create.create_elevation_views_in_room(doc, room, view_plan, view_elevation_type, scale)

Creates elevations in a room

based on: # https://forums.autodesk.com/t5/revit-api-forum/automate-room-elevations-using-revit-api/td-p/3504490

Returns:

_description_

Return type:

_type_

duHast.Revit.Views.FromRooms.create.create_3D_view_of_room(doc, room)
duHast.Revit.Views.FromRooms.create.create_schedule_for_room_content(doc, room)
duHast.Revit.Views.FromRooms.create.create_views(doc, room, view_plan_type, view_elevation_type)

Module contents