MyBuildingTclViewer.bat: Difference between revisions
(New page: <nowiki>################################ # BuildingTcl Library Files Setup # # Silvia Mazzoni, 2008 # University of California, Berke...) |
No edit summary |
||
Line 6: | Line 6: | ||
################################ | ################################ | ||
# place this file in your working directory # | # place this file in your working directory # | ||
# source it within OpenSeesTk # | # source it within OpenSeesTk # | ||
################################ | ################################ | ||
# | # | ||
# Folder Path for all BuildingTcl Library Files | # Folder Path for all BuildingTcl Library Files | ||
variable LibPath "C:/Users/AASilvia/AAProjects/OpenSees/BuildingTcl_All/BuildingTcl_Release1.9/BuildingTclProgramFiles"; | variable LibPath "C:/Users/AASilvia/AAProjects/OpenSees/BuildingTcl_All/BuildingTcl_Release1.9/BuildingTclProgramFiles"; | ||
# | # | ||
# Add the BuildingTcl Commands to Tcl | # Add the BuildingTcl Commands to Tcl | ||
source $LibPath/LibBuildingTclLibraryFiles.tcl; | source $LibPath/LibBuildingTclLibraryFiles.tcl; | ||
# | # | ||
# set up | # set up | ||
# | # | ||
# initialize all data lists and arrays | # initialize all data lists and arrays | ||
initializeAll ; | initializeAll ; | ||
# | # | ||
global GlobalizeUnits | global GlobalizeUnits | ||
eval $GlobalizeUnits; | eval $GlobalizeUnits; | ||
# | # | ||
# | # | ||
# run viewer | # run viewer | ||
# | # | ||
BuildingTclViewer | BuildingTclViewer | ||
#</nowiki> | #</nowiki> |
Revision as of 21:41, 28 October 2009
################################ # BuildingTcl Library Files Setup # # Silvia Mazzoni, 2008 # University of California, Berkeley ################################ # place this file in your working directory # # source it within OpenSeesTk # ################################ # # 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; # # # run viewer # BuildingTclViewer #