<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2//EN">
<HTML>
<HEAD>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=iso-8859-1">
<META NAME="Generator" CONTENT="MS Exchange Server version 5.5.2654.45">
<TITLE>[vtkusers] VTK-TCL/Tk users</TITLE>
</HEAD>
<BODY>
<P><FONT SIZE=2>First of all thanks Rasmus, Kevin Wright and Tim Hutton for the hints.</FONT>
</P>
<P><FONT SIZE=2>I replaced the </FONT>
<BR><FONT SIZE=2>"catch {load vtktcl}"</FONT>
<BR><FONT SIZE=2>by</FONT>
<BR><FONT SIZE=2>package require vtk</FONT>
<BR><FONT SIZE=2>package require vtkinteraction</FONT>
<BR><FONT SIZE=2>and now I can run some tcl files, but in a diferent way when I was using VTK3.2.</FONT>
<BR><FONT SIZE=2>If I double click any VTK-Tcl file I get the error:</FONT>
<BR><FONT SIZE=2>"canīt find package vtk while executing "package require vtk"...</FONT>
<BR><FONT SIZE=2>I suspect something wrong with enviroment variables. I checked autoexec.bat and it seems fine.</FONT>
<BR><FONT SIZE=2>The only way to run vtk-tcl files is openning a vtk-shell and typing the command "source" before the vtk-tcl file name. Is it the expected behavior? If not, what might be wrong with my installation? (I would like to get it running in WinMe and Win98)</FONT></P>
<P><FONT SIZE=2>Thanks again,</FONT>
</P>
<P><FONT SIZE=2>Marcio.</FONT>
</P>
<P><FONT SIZE=2>-----Original Message-----</FONT>
<BR><FONT SIZE=2>From: Rasmus Reinhold Paulsen</FONT>
<BR><FONT SIZE=2>To: Marcio Antonio Mathias (EDB)</FONT>
<BR><FONT SIZE=2>Cc: 'vtkusers@public.kitware.com'</FONT>
<BR><FONT SIZE=2>Sent: 3/28/02 4:57 PM</FONT>
<BR><FONT SIZE=2>Subject: Re: [vtkusers] VTK-TCL/Tk users</FONT>
</P>
<P><FONT SIZE=2>Do you use something similar to</FONT>
</P>
<P><FONT SIZE=2>load vtktcl</FONT>
</P>
<P><FONT SIZE=2>in your script? If you do you should change it to</FONT>
</P>
<P><FONT SIZE=2>package require vtk</FONT>
</P>
<P><FONT SIZE=2>also take a look at the sample in </FONT>
</P>
<P><FONT SIZE=2>..\VTK\Examples\Tutorial\Step1\Tcl</FONT>
</P>
<P><FONT SIZE=2>Regards</FONT>
<BR><FONT SIZE=2>Rasmus</FONT>
</P>
<BR>
<BR>
<P><FONT SIZE=2>On Thu, 28 Mar 2002, Marcio Antonio Mathias (EDB) wrote:</FONT>
</P>
<P><FONT SIZE=2>> " I have just upgrade from VTK3.2 to the new release VTK 4.0. </FONT>
<BR><FONT SIZE=2>> Trying to run my vtk-tcl files I got the following error message: </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> "invalid command name "vtkRenderer while executing "vtkRenderer</FONT>
<BR><FONT SIZE=2>renderizador" ... </FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> I am using Windows 98. Before installing this new VTK release I</FONT>
<BR><FONT SIZE=2>removed completely all VTK 3.2 files. I am running</FONT>
<BR><FONT SIZE=2>> ActiveStateActiveTcl 8.3.4.2 without any trouble for other Tcl/Tk</FONT>
<BR><FONT SIZE=2>applications.</FONT>
<BR><FONT SIZE=2>> </FONT>
<BR><FONT SIZE=2>> What can I do to get VTK4.0 running? </FONT>
</P>
</BODY>
</HTML>