MyBuildingTcl.tcl: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 1: | Line 1: | ||
<tcl> | <tcl>################################ | ||
# BuildingTcl Library Files Setup | |||
# | |||
# Silvia Mazzoni, 2008 | |||
# University of California, Berkeley | |||
################################ | |||
# place this file in your working directory # | |||
# source it within OpenSees # | |||
################################ | |||
# | |||
# Folder Path for all BuildingTcl Library Files | |||
variable LibPath "C:/Users/AASilvia/AAProjects/OpenSees/BuildingTcl_All/BuildingTcl_Release1.9/BuildingTclProgramFiles"; | |||
# | |||
# Add the BuildingTcl Commands to Tcl | |||
source $LibPath/LibBuildingTclLibraryFiles.tcl; | |||
# | |||
# set up | |||
# | |||
# initialize all data lists and arrays | |||
initializeAll ; | |||
# | |||
global GlobalizeUnits | |||
eval $GlobalizeUnits; | |||
# | |||
</tcl> |
Revision as of 20:38, 28 October 2009
<tcl>################################
- BuildingTcl Library Files Setup
- Silvia Mazzoni, 2008
- University of California, Berkeley
- place this file in your working directory #
- source it within OpenSees #
- Folder Path for all BuildingTcl Library Files
variable LibPath "C:/Users/AASilvia/AAProjects/OpenSees/BuildingTcl_All/BuildingTcl_Release1.9/BuildingTclProgramFiles";
- Add the BuildingTcl Commands to Tcl
source $LibPath/LibBuildingTclLibraryFiles.tcl;
- set up
- initialize all data lists and arrays
initializeAll ;
global GlobalizeUnits eval $GlobalizeUnits;
</tcl>