MyBuildingTcl.tcl: Difference between revisions

From OpenSeesWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 1: Line 1:
<tcl>Example1.1.tcl</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>################################

  1. BuildingTcl Library Files Setup
  2. Silvia Mazzoni, 2008
  3. University of California, Berkeley
  4. place this file in your working directory #
  5. source it within OpenSees #
  6. Folder Path for all BuildingTcl Library Files

variable LibPath "C:/Users/AASilvia/AAProjects/OpenSees/BuildingTcl_All/BuildingTcl_Release1.9/BuildingTclProgramFiles";

  1. Add the BuildingTcl Commands to Tcl

source $LibPath/LibBuildingTclLibraryFiles.tcl;

  1. set up
  2. initialize all data lists and arrays

initializeAll ;

global GlobalizeUnits eval $GlobalizeUnits;

</tcl>