SCIRun User Mailing List

Text archives Help


Re: [SCIRUN-USERS] net execution from script


Chronological Thread 
  • From: McKay Davis <mdavis@sci.utah.edu>
  • To: Elisha Hughes <erh0509@westminstercollege.edu>
  • Cc: scirun-users@sci.utah.edu
  • Subject: Re: [SCIRUN-USERS] net execution from script
  • Date: Mon, 17 Jan 2005 13:49:12 -0700

Elisha,
Run your TCL script with the following command at the 'scirun>' prompt:

uplevel #0 source scriptfile

This command executes the commands in your script at the global scope in the TCL environment. All the module variables reside in the global scope in TCL, so this should solve your problem.

Hope this helps,
-McKay Davis
SCIRun Developer





Elisha Hughes wrote:

Dear SCIRun,

I would like to write a script that executes a network repeatedly, and
changes some of the module UI variables with each iteration.

I have been able to produce this behavior by typing a series of tcl
commands into the SCIRun shell.
I tried putting the same series of commands into a tcl script for
execution in the SCIRun shell but - from the script - my module
variables are not recognized.

Thank you for any advice you can offer,
Elisha
===========================================================================
== The SCIRun Users mailing list: send email to majordomo@sci.utah.edu   ==
== for more details.                                                     ==
== Please acknowledge use of SCIRun in your papers and reports:          ==
==   see http://software.sci.utah.edu/scirun-biopse_citation.bib         ==
===========================================================================


===========================================================================
== The SCIRun Users mailing list: send email to majordomo@sci.utah.edu   ==
== for more details.                                                     ==
== Please acknowledge use of SCIRun in your papers and reports:          ==
==   see http://software.sci.utah.edu/scirun-biopse_citation.bib         ==
===========================================================================





Archive powered by MHonArc 2.6.16.

Top of page