[vtkusers] tcl/tk error

Lederer, Maitland mlederer at foster-miller.com
Thu Dec 2 16:06:11 EST 2004


hi jens-

i believe you want 

iren SetUserMethod [wm deiconify .vtkInteract]

(square brackets instead of curly)

hth
-maitland

-----Original Message-----
From: Jens Frederich [mailto:jfrederich at mac.com] 
Sent: Thursday, December 02, 2004 4:04 PM
To: vtk
Subject: [vtkusers] tcl/tk error

Hi,

can anyone help my. What is my problem.

Here is the error output:

Error in startup script: Object named: iren, could not find requested  
method: SetUserMethod
or the method was called with incorrect arguments.

     while executing
"iren SetUserMethod {wm deiconify .vtkInteract}"
     (file  
"/Volumes/jf/local/share/nast3dgp/tools/visualization/vtk/ 
viewNaSt3DGP.tcl" line 189)


and now the lines on viewNa..tcl:

# render the image
#
iren SetUserMethod {wm deiconify .vtkInteract}
set cam1 [ren1 GetActiveCamera]
$cam1 Zoom 1.5
iren Initialize



Jens

_______________________________________________
This is the private VTK discussion list. 
Please keep messages on-topic. Check the FAQ at:
http://www.vtk.org/Wiki/VTK_FAQ
Follow this link to subscribe/unsubscribe:
http://www.vtk.org/mailman/listinfo/vtkusers



More information about the vtkusers mailing list