SetShowResultViewer
setShowResultViewer
Enables or disables whether the diagrams created will be shown in the Result viewer-dialog when the script has been executed successfully.
Syntax
setShowResultViewer(enabled)
Arguments
enabled: Is a boolean expression. If true the Result viewer-dialog will be opened when the script is executed successfully.
Return type
empty
Examples
setShowResultViewer(false);
bool b = getShowResultViewer();
if (b) print("Current state of the show result viewer is Enabled.");
else print("Current state of the show result viewer is Disabled.");
//Result: Current state of the show result viewer is Disabled.
Availability
Version 5.4