very happy to solve an annoying thing of our 3D-PTV software

Since I know this software,, I’m very happy with it, besides few annoying things. One of them is that every time you move your source directory, you have find the file “ptv.tcl” and manually edit it. I couldn’t believe it’s not possible in Tcl/Tk to make it programmically. Now, during the last visit I was just so annoyed by this thing (especially because we set up the SVN control and everyone of us changes this file according to his directory) that I looked for it and found the solution:

lappend auto_path [file dirname [info script]]
lappend auto_path “.”

Replace the

set auto_path

line by the two lines above and you’ll never have to touch the ptv.tcl file again.

Leave a Reply

Please log in using one of these methods to post your comment: Logo

You are commenting using your account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s