Sample Code Revit Batch Processor 1.1.11 documentation

Contents:

This Page

duHast.pyRevit.UI package

Submodules

duHast.pyRevit.UI.multiselectors module

A module to provide pyRevit multiselectors for some standard Revit elements.

duHast.pyRevit.UI.multiselectors.room_selector(rvt_doc, multiple=True)

pyRevit Select from list UI object to pick room or rooms. :param rvt_doc: Revit Document :type rvt_doc: Document :param multiple: Allow multiple selection :type multiple: bool :return: Room or list of rooms :rtype: Room or list[Room]

duHast.pyRevit.UI.multiselectors.pick_room(rvt_doc)

PyRevit multiselector to pick a single room.

duHast.pyRevit.UI.multiselectors.pick_rooms(rvt_doc)

PyRevit multiselector to pick multiple rooms.

duHast.pyRevit.UI.multiselectors.level_selector(rvt_doc, multiple=True)
duHast.pyRevit.UI.multiselectors.pick_level(rvt_doc)

PyRevit multiselector to pick a single level.

duHast.pyRevit.UI.multiselectors.pick_levels(rvt_doc)

PyRevit multiselector to pick multiple levels.

Module contents