pyrevitlabs / pyRevit

Rapid Application Development (RAD) Environment for Autodesk Revit®
http://wiki.pyrevitlabs.io
GNU General Public License v3.0
1.32k stars 337 forks source link

The modeless window is running the plug-in #870

Closed lcwewei closed 4 years ago

lcwewei commented 4 years ago

I wrote a plugin to create a wall decoration layer. It needs to run in a modeless window and create external events in your way. But the plug-in I wrote to test removing objects in the same way didn't have any problems.

revit 2019 test.zip create.zip

eirannejad commented 4 years ago

See this template for best practices in creating non-modal GUI on Revit https://github.com/mitevpi/revit-wpf-template