Sample Code Revit Batch Processor 1.1.15 documentation
Get the sheet number of a sheet :param sht: The sheet to get the number of :type sht: ViewSheet :return: The sheet number :rtype: str
Get the sheet name of a sheet :param sht: The sheet to get the name of :type sht: ViewSheet :return: The sheet name :rtype: str
Get the sheet number and name of a sheet and returns the the combination of the two. Typically helpful for logging/printing.
num_first (bool) – Whether the sheet number should be first in the string. Defaults to True
splitter (str) – The string to split the sheet number and name with. Defaults to ‘ - ‘
The sheet number and name
str
Get the sheet of a view. Sheet number to element dictionary can be produced with get_sheet_num_to_elem_dict function from duHast.Revit.Views.Utility.sheets :param view: The view to get the sheet of :type view: View :param sht_num_elem_dict: A dictionary of sheet numbers and sheets :type sht_num_elem_dict: dict :return: The sheet of the view :rtype: ViewSheet
Get a dictionary of the ViewType enum to verbose name e.g. FloorPlan to Floor Plan :return: A dictionary in format of Autodesk.Revit.DB.ViewType.FloorPlan: “Floor Plan” :rtype: dict