Hi,
When you run a script within Vizard, it is actually executed twice. It is first executed to check for errors. If there are no errors then the script is passed on to the graphics engine. During this first execution you can prevent certain code from being executed by doing the following:
Code:
if viz.running():
#This code won't be called during first execution
viz.message works because it suppresses itself if it is called during the first execution. Vizard 2.5 will also suppress print statements during the first execution.