Sample Code Revit Batch Processor 1.1.11 documentation

Contents:

This Page

duHast.Revit.UI.Objects package

Submodules

duHast.Revit.UI.Objects.CustomSelectionFilter module

An implementation of a custom selection filter class.

class duHast.Revit.UI.Objects.CustomSelectionFilter.CustomSelectionFilter(*args: Any, **kwargs: Any)

Bases: ISelectionFilter

AllowElement(elem)

duHast.Revit.UI.Objects.ExernalEventHandler module

An implementation of the External Event handler class in Revit context.

class duHast.Revit.UI.Objects.ExernalEventHandler.ExternalEventHandler(*args: Any, **kwargs: Any)

Bases: IExternalEventHandler

An IExternalEventHandler implementation

An implementation of the External Event handler class in Revit context.

Parameters:

execute_at_event_raised (callable) – The function to be executed when the event is raised.

Execute(uiapp)
GetName()

Module contents