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:
Next, here is how to use this class within Python:
Here is the final result:
Follow me and give a like if you found this helpful.













Must log in before commenting!
Sign Up