Question: Hello, I also wanted to add some code for the show _ window basically at the end of the init for view model class I

Hello, I also wanted to add some code for the show_window basically at the end of the init for view model class I have this self.set_owner(uiapp)
# self.ShowDialog()
def set_owner(self, uiapp):
# Obtain the Revit main window handle
revit_window_handle = uiapp.MainWindowHandle
window_interop_helper = WindowInteropHelper(self)
window_interop_helper.Owner = revit_window_handle
def show_window(self):
self.ShowDialog() fo

Step by Step Solution

There are 3 Steps involved in it

1 Expert Approved Answer
Step: 1 Unlock blur-text-image
Question Has Been Solved by an Expert!

Get step-by-step solutions from verified subject matter experts

Step: 2 Unlock
Step: 3 Unlock

Students Have Also Explored These Related Databases Questions!