BuildingTcl -- addModel

From OpenSeesWiki
Revision as of 05:45, 1 November 2009 by Silviamazzoni (talk | contribs)
Jump to navigation Jump to search

Commands

addModelData ModelLabel $ModelLabel
addModelData ModelTypeLabel $ModelTypeLabel
addModelData $RequiredArgument1Label $RequiredArgument1Value
addModelData $RequiredArgument2Label $RequiredArgument2Value
<addModelData ModelDescription "$ModelDescription">
<addModelData $InputArgument1Label $InputArgument1Value>
<addModelData $InputArgument2Label $InputArgument2Value>
addModel

Different ModelTypes have different input arguments:

BuildingTcl -- ModelTypeLabel Elevation
BuildingTcl -- ModelTypeLabel Plan
BuildingTcl -- ModelTypeLabel 3DFrame

Arguments

  • $ModelLabel: Unique Model Label for reference
  • $ModelTypeLabel: Specifies which ModelType is being used
  • $ModelDescription : Text. Optional, default = blank {}
  • $RequiredArgument1Label $RequiredArgument1Value ... :Labels and corresponding values for ModelType-specific required argument.
  • $InputArgument1Label $InputArgument1Value … : Labels and corresponding values for ModelType-specific Input Arguments (Optional)


Notes

The addModel command must be placed at the end of each Model-data definition, as it takes all data defined since the last addModel command and define the Model.


Options


BuildingTcl -- BuildAndAnalyze

Return to BuildingTcl Command Language Manual