MyBuildingTclViewer.bat: Difference between revisions

From OpenSeesWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(6 intermediate revisions by the same user not shown)
Line 1: Line 1:
<code language=tcl>
__NOTOC__
################################
[[Image:BuildingTclLogo.gif|link=BuildingTcl|right]]
# BuildingTcl Library Files Setup             
The following command needs to be in one line. It calls the OpenSeesTk executable and automatically sources MyBuildingTclViewer.tcl
#
<source lang="Tcl">
#      Silvia Mazzoni, 2008                         
"C:/Users/AASilvia/AAProjects/OpenSees/BuildingTcl_All/BuildingTcl_Release1.9/OpenSeesProgramFiles/OpenSeesTk" "C:/Users/AASilvia/AAProjects/OpenSees/BuildingTcl_All/BuildingTcl_Release1.9/myBuildingTclViewer.tcl"
#        University of California, Berkeley     
 
################################
 
# place this file in your working directory #
</source>
source it within OpenSeesTk                #
 
################################
 
#
 
# Folder Path for all BuildingTcl Library Files
 
variable LibPath "C:/Users/AASilvia/AAProjects/OpenSees/BuildingTcl_All/BuildingTcl_Release1.9/BuildingTclProgramFiles";
----
#
Return to [[BuildingTcl Installation Instructions]]
# 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
#
<code>

Latest revision as of 17:10, 30 October 2009

The following command needs to be in one line. It calls the OpenSeesTk executable and automatically sources MyBuildingTclViewer.tcl

"C:/Users/AASilvia/AAProjects/OpenSees/BuildingTcl_All/BuildingTcl_Release1.9/OpenSeesProgramFiles/OpenSeesTk" "C:/Users/AASilvia/AAProjects/OpenSees/BuildingTcl_All/BuildingTcl_Release1.9/myBuildingTclViewer.tcl"




Return to BuildingTcl Installation Instructions