MyBuildingTclViewer.tcl: Difference between revisions
Jump to navigation
Jump to search
(New page: <tcl>MyBuildingTclViewer.tcl</tcl>) |
No edit summary |
||
Line 1: | Line 1: | ||
< | <source lang="Tcl"> | ||
################################ | |||
# 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 | |||
# | |||
</source> | |||
---- | |||
Return to [[BuildingTcl Installation Instructions]] | |||
Return to [[BuildingTcl]] |
Revision as of 02:41, 30 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
#
Return to BuildingTcl Installation Instructions
Return to BuildingTcl