06-27-2016 02:32 AM
I got a dialog in View panel. Im trying to reload it with script. Dont find a method to reload it, only find refresh method, which doesnt make the same as if i right click on dialog manually and choose "Reload dialog box". How can i trigger this method by script? Is it possible?
thanks for info
07-08-2016 08:26 AM
Hi,
unfortunately I didn't find any method which would give you same functionality as Reload Dialog Box button from Context menu.
What you can do is to save current View Layout and then load it back. It will load again the Dialog from the file, so its actually a true reload 🙂
call View.SaveLayout(CurrentScriptPath & "View.tdv")
call View.LoadLayout(CurrentScriptPath & "View.tdv")
Hope it helps.
Mateusz