[vtkusers] commandline arguments using Tcl and vtk3.2

Christian Poecher poecher at icom-consulting.de
Wed Feb 13 10:30:10 EST 2002


Hello,

I encountered a problem while accessing the commandline arguments I
passed to my vtk-Tcl-Script. I have vtk3.2 and Tcl8.2.3 installed under
Win2k.
It should be possible to pass commandline arguments by calling 
	myApp.tcl myParameter.
Files ending with .tcl are associated with
%VTK_HOME%\lib\tk8.2\wish82.exe. If I try to start myApp this way, I
can't access the arguments.
	$argv
evaluates to
	"".
But if I set PATH to another Tcl/Tk install on my machine and execute
	wish82.exe myApp.tcl myParameter
everything works like I expected.

Where is the differece? Is %VTK_HOME%\lib\tk8.2\wish82.exe no "real"
wish?

chris
-- 
________________________________________________________________________
Christian Poecher                      mailto:poecher at icom-consulting.de
ICOM GmbH   					Phone: +49 241 9367-1554
Schloss-Rahe-Str. 15, 52072 Aachen, Germany     Fax  : +49 241 9367-1589
________________________________________________________________________



More information about the vtkusers mailing list