Sample Code Revit Batch Processor 1.1.11 documentation
Prints a result class instance to the pyRevit console.
result (Result) – The result instance to be printed.
header (str) – The header to be printed before the result.
Prints a header to the pyRevit console.
header (str) – The header to be printed.
Deafult element name builder is used to build the element name shown in the UI by combining the element name and element Id
element (Autodesk.Revit.DB.Element) – An element
A name of the element.
str
lists Elements provided by element getter function in UI and returns the users selection
doc (Autodesk.Revit.DB.Document) – Ther current Revit model.
forms (_type_) – pyRevit forms
element_getter (_type_) – Function accpeting the document as the only argument returning a list of elements or empty list.
element_selection_description (str) – Text to be displayes on button to prompt user
None if nothing was selected. Otherwise a list of element ids
None or [Autodesk.Revit.ElementId]