MyBuildingTclViewer.bat: Difference between revisions

From OpenSeesWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(13 intermediate revisions by the same user not shown)
Line 1: Line 1:
<nowiki>################################
__NOTOC__
# BuildingTcl Library Files Setup             
[[Image:BuildingTclLogo.gif|link=BuildingTcl|right]]
#
The following command needs to be in one line. It calls the OpenSeesTk executable and automatically sources MyBuildingTclViewer.tcl
#      Silvia Mazzoni, 2008                         
<source lang="Tcl">
#        University of California, Berkeley     
"C:/Users/AASilvia/AAProjects/OpenSees/BuildingTcl_All/BuildingTcl_Release1.9/OpenSeesProgramFiles/OpenSeesTk" "C:/Users/AASilvia/AAProjects/OpenSees/BuildingTcl_All/BuildingTcl_Release1.9/myBuildingTclViewer.tcl"
################################
# place this file in your working directory #


#  source it within OpenSeesTk                #


################################
</source>


#


# 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
 
#</nowiki>

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