Nik Posted July 14, 2019 Share Posted July 14, 2019 Everytime I exit Plug In Manager I get a pop up that says "Only Plug-in Objects in the active document have been updated. You must close and open the other documents to update them". How do I get this this warning to stop appearing? Not having a second VW file open is not a useful answer... Quote Link to comment
JBenghiat Posted July 18, 2019 Share Posted July 18, 2019 I think this isn’t a warning you can opt not to show again, as it only arises in specific circumstances. Are you frequently entering and exiting the plug-in Manager? A better consideration might be how to avoid this. Using include files, turning on developer mode, and turning off caching (there should be some discussion of this in the archive) helps avoid regularly entering the plug-in Manager. Quote Link to comment
Nik Posted July 18, 2019 Author Share Posted July 18, 2019 Mostly just pop in and out when I'm testing snippets of code, or setting up a new tool. Quote Link to comment
Peter Vandewalle Posted July 29, 2019 Share Posted July 29, 2019 I just have this inside the plugin manager: import <name of py-file> <name of py-file>.<name of routine to run>() i.e.: The py-file contains the complete script, so you hardly ever have to enter the plugin manager... Quote Link to comment
JBenghiat Posted July 29, 2019 Share Posted July 29, 2019 In addition to enabling developer mode in Preferences>Session, add this line to your include: vs.SetPref(412, True) #Turns off include caching If your include includes other modules that you are modifying (for example common include libraries), you need to tell Python to reload the included modules: import imp import externalLib imp.reload(externalLib) Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.