BIM World
A Professional BIM Learning Platform


Using WinForm Windows for Dynamo Programming in Revit with Python Scripts

In our previous blog post, we discussed how to import any DLL file into a Python script. Naturally, if the DLL contains classes for WinForm windows, these can be easily utilized in Dynamo for Revit secondary development.
You can find the previous blog post here:

In this post, we will demonstrate the window-related classes and their final display results within Dynamo. We will directly modify the class from the previous post to load a Form1 window class:Dynamo programming in Revit - using winform windows in Python Script

Next, here is how to use this class within Python:Dynamo programming in Revit - using winform windows in Python Script

Here is the final result:Dynamo programming in Revit - using winform windows in Python Script

Follow me and give a like if you found this helpful.

xuebim
Follow the latest BIM developments in the architecture industry, explore innovative building technologies, and discover cutting-edge industry insights.
← Scan with WeChat
Like(0) 打赏
BIM WORLD » Using WinForm Windows for Dynamo Programming in Revit with Python Scripts

Comment Get first!

Must log in before commenting!

 

BIM World, A Professional BIM Learning Platform

Stay updated on the latest architecture trends and share new building technologies.

Contact UsAbout Us

觉得文章有用就打赏一下小编吧

非常感谢你的打赏,我们将继续提供更多优质内容,让我们一起创建更加美好的网络世界!

支付宝扫一扫

微信扫一扫

Account Login

By signing in, you agree toUser Agreement

Sign Up