Q4: Callbacks, Import Namespace's, Send or Socket-Programing
Alex Kraemer
akraemer at biochem.uni-kiel.de
Fri Oct 29 08:12:19 EDT 1999
Hallo,
i would like to pass some variables to a tcl script that is evaluated
by vtk as follows:
#aVtkScript.tcl
puts "$someName"
#end aVtkScript.tcl
#some tcl script that calls vtk via exec
set someName toNobody
exec vtk aVtkScript.tcl
#end some tcl script that calls vtk via exec
This dose not work since "vtk aVtkScript.tcl" lives in a different
namespace.
Could you please tell me what is the best (or most pragmatic) way to
pass the variable "someName" into "vtk aVtkScript.tcl namespace".
(Callbacks, Import Namespace's, Send or Socket-Programing )
Many thanks to you Now !
Sincerely, Alexander Kraemer
-----------------------------------------------------------------------------
This is the private VTK discussion list. Please keep messages on-topic.
Check the FAQ at: <http://www.automatrix.com/cgi-bin/vtkfaq>
To UNSUBSCRIBE, send message body containing "unsubscribe vtkusers" to
<majordomo at gsao.med.ge.com>. For help, send message body containing
"info vtkusers" to the same address. Live long and prosper.
-----------------------------------------------------------------------------
More information about the vtkusers
mailing list