[vtk-developers] RE: mccases.tcl

Lorensen, William E (CRD) lorensen at crd.ge.com
Wed Aug 22 10:03:40 EDT 2001


I have some tests that need to source tcl files. How do you do that? They work fine by hand, buy fail
in the nightly.

Do I have to add them as a package?

Bill

-----Original Message-----
From: Will Schroeder [mailto:will.schroeder at kitware.com]
Sent: Wednesday, August 22, 2001 10:05 AM
To: Lorensen, William E (CRD)
Cc: vtk-developers at public.kitware.com
Subject: mccases.tcl


Hi Bill-

I added mccases.tcl to the VTK/Wrapping/Tcl/ directory plus an entry in pkgIndex.tcl. So you can say:

package require vtktcl_mccases

and the script will find it. (You don't need both the "package require vtktcl" and "package require
vtktcl_mccases" because mccases requires vtktcl.)

There are some regression tests that use it (e.g., Graphics/Testing/Tcl/clipTet.tcl)

Will




More information about the vtk-developers mailing list