Go Back   AC3D Forums > Resources > AC3D Scripts and Mods
Register FAQ Members List Calendar Today's Posts

 
 
Thread Tools Display Modes
Prev Previous Post   Next Post Next
Old 27th August 2013, 07:32 AM   #3
Geoffm
Junior Member
Member
 
Geoffm's Avatar
 
Join Date: Aug 2013
Location: London UK
Posts: 22
Default Re: Importing other Tcl packages

I found after experiment that if I copied the entire directory TclOO1.0 from the ActiveState installation of Tcl/Tk 8.5 then the command

package require TclOO

does not give an error. I assume that I can then add commands and create scripts using TclOO extensions (which can of course call standard Tcl as used in AC3D). For completeness, the directory resides in this directory IF you have installed Tcl8,5 in /Tcl8.5:

\Tcl8.5\lib\teapot\package\win32-ix86\lib

However this technique did not work for the ITcl extension.
Geoffm is offline   Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off



All times are GMT -4. The time now is 04:14 AM.


AC3D Forum
(C) Inivis Limited 2020