[vtk-developers] mccases.tcl (as well as colors.tcl, backdrop.tcl)
Ken Martin
ken.martin at kitware.com
Thu Aug 23 09:04:02 EDT 2001
Hello Folk,
If you need to source a script from another script that is in the same
directory you can also do the folowing which uses the directory for
the current script to locate the sourced script.
source [file join [file dirname [info script]] SliceOrder.tcl]
Ken
> >> package require vtktcl
> >> ::vtk::load_script mccases
> >>
> >>John, Will, what do you think ?
> >
> >It seems reasonable. Where could/would mccases have to be located?
>
> Wrapping\Tcl seems all right.
>
> ::vtktcl::load_script is ready, so basically you can use:
>
> ::vtktcl::load_script mccases
> ::vtktcl::load_script colors
> ::vtktcl::load_script backdrop
> etc.
>
> actually I've modified all examples to catch up with this.
More information about the vtk-developers
mailing list