tbexon Posted September 4, 2020 Share Posted September 4, 2020 Ok this one may be a bit of a morph of scripting and more general VW user question. I've made use of the predefined dialog vs.AlertInformDontShowAgain within one of my scripts, which works absolutely fine, however now that i've checked 'don't show again' to test that it did do as advertised I can't seem to find a way to get that alert to show again. Is there a settings dialog or file squirreled away somewhere with a list of all suppressed dialogs? Looking at the python example for the function is looks like the dialog is stored somewhere, but I can't for the life of me find any reference to where! def Example(): arrayText = ('DontShowDialogAgainCategory', 'DontShowDialogAgainItem', #{Should be unique for every AlertInformDontShowAgain} '') # python uses a tuple vs.AlertInformDontShowAgain('This is an invalid item.', '', False, arrayText); Example() Quote Link to comment
Pat Stanford Posted September 4, 2020 Share Posted September 4, 2020 I believe the only way to get these back is to reset ALL of the Always Do options in Vectorworks Preferences:Session tab:Reset Saved Setting button. :-( Quote Link to comment
Andy Broomell Posted September 4, 2020 Share Posted September 4, 2020 (edited) In your User Folder > Settings folder, there should be an .xml file called "SavedSettingsDialog.xml" You can edit this file by deleting an entry which will make that specific warning appear again without having to reset ALL dialog boxes. That being said, this might only be for default Vectorworks warnings and not custom scripted things? No clue... Edited September 8, 2020 by Andy Broomell 4 Quote Link to comment
Pat Stanford Posted September 4, 2020 Share Posted September 4, 2020 Thank you @Andy Broomell I have not seen that information about the XML file before. It should be very useful. Quote Link to comment
tbexon Posted September 5, 2020 Author Share Posted September 5, 2020 Thanks @Andy Broomell I had looked through that folder, don't know how I missed that! 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.