[vtkusers] Re: tcl/tk error

Goodwin Lawlor goodwin.lawlor at ucd.ie
Thu Dec 2 16:44:48 EST 2004


Hi Jens,

SetUserMethod is depreciated now.
Use:

package require vtkinteraction
iren AddOberserver UserEvent {wm deiconify .vtkInteract}

hth

Goodwin



"Jens Frederich" <jfrederich at mac.com> wrote in message
news:ABF33F04-44A5-11D9-87D1-000A95A0B65C at mac.com...
> 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