how to creat TCL/TK file, where to edit them and creat them?
Moderators: silvia, selimgunay, Moderators
how to creat TCL/TK file, where to edit them and creat them?
How to creat TCL file? I creat it by edit them in wordpad. although it is created, it can not work.
Thank you very much!
Thank you very much!
what do you mean "it cannot work'? do you have OpenSees and Tcl installed? are you able to sun tcl commands at the opensees prompt?
an input file should have the extension .tcl, which means that in notepad, or wordpad, you need to save it as
filename.tcl and select the "all files" type below, otherwise it automatically saves it as filename.tcl.txt
then in opensees you type:
source filename.tcl
this should work.
you might want to look at the getting started document at the bottom of the manual:
http://opensees.berkeley.edu/OpenSees/m ... sermanual/
or at:
http://peer.berkeley.edu/~silvia/OpenSe ... ngstarted/
an input file should have the extension .tcl, which means that in notepad, or wordpad, you need to save it as
filename.tcl and select the "all files" type below, otherwise it automatically saves it as filename.tcl.txt
then in opensees you type:
source filename.tcl
this should work.
you might want to look at the getting started document at the bottom of the manual:
http://opensees.berkeley.edu/OpenSees/m ... sermanual/
or at:
http://peer.berkeley.edu/~silvia/OpenSe ... ngstarted/
Silvia Mazzoni, PhD
Structural Consultant
Degenkolb Engineers
235 Montgomery Street, Suite 500
San Francisco, CA. 94104
Structural Consultant
Degenkolb Engineers
235 Montgomery Street, Suite 500
San Francisco, CA. 94104
-
- Posts: 68
- Joined: Fri Jul 02, 2004 6:10 am
- Location: Computers and Structures, Inc.
If you do not have a class defined for tcl files, texpad will try to save it as a text file. You probably ended up saving the file as
Try using quotes when texpad asks for the file name, like this
and you shouldn't have a problem...
Hope this helps...
Code: Select all
TrussExample.tcl.txt
Code: Select all
"TrussExample.tcl"
Hope this helps...
Berk Taftali
Georgia Institute of Technology
Ph.D. Candidate, Structural Engineering, Mechanics, and Materials
School of Civil and Environmental Engineering
Atlanta, GA 30332 USA
Email: gte994y@mail.gatech.edu
Georgia Institute of Technology
Ph.D. Candidate, Structural Engineering, Mechanics, and Materials
School of Civil and Environmental Engineering
Atlanta, GA 30332 USA
Email: gte994y@mail.gatech.edu