IronPython WPF withe RevitPythonShell

一笑奈何 提交于 2019-12-06 03:25:34

According to msdn, you should be able to use Window.Show (for a modeless version) or Window.ShowDialog (if you want to stay in the Revit API context)

The Application().Run( MyWindow() ) line basically sets up an event loop - something Revit already did for you at startup, so you can just go ahead and show your windows :)

I can't really test this solution since I don't have AboutWindow.xaml and IronPythonWPF.xaml, so I'm just guessing here... Have a go and tell me how it went.

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!