Sample Code Revit Batch Processor 1.1.11 documentation

Contents:

This Page

duHast.UI.Objects.WPF.Windows package

Submodules

duHast.UI.Objects.WPF.Windows.WPFWindowBase module

An implementation of a custom wpf window base class which can be shown in the Revit context.

class duHast.UI.Objects.WPF.Windows.WPFWindowBase.WPFWindowBase(*args: Any, **kwargs: Any)

Bases: Window

on_current_view_model_changed()
update_content_view(view_model)

Dynamically set the content of the main grid control based on the current view model

Args:

view_model (_type_): The new view model to be applied

on_closed(sender, event)

Module contents