Sample Code Revit Batch Processor 1.1.11 documentation

Contents:

This Page

duHast.pyRevit.Objects package

Submodules

duHast.pyRevit.Objects.ProgressPyRevit module

A class used to wrap the pyRevit progress bar form into a call back function.

class duHast.pyRevit.Objects.ProgressPyRevit.ProgressPyRevit(form)

Bases: ProgressBase

Class constructor Args:

form: The progress form to wrap

update(count, total, message=None)

Implementation to update the progress form.

Args:

count: The current count total: The total count message: The message to display

is_cancelled()

Implementation to check if the form has been cancelled.

Returns:

True if the form has been cancelled

Module contents