BuildingTcl -- addModel: Difference between revisions

From OpenSeesWiki
Jump to navigation Jump to search
No edit summary
Line 4: Line 4:


:addModelData ModelLabel $ModelLabel
:addModelData ModelLabel $ModelLabel
:addModelData ModelDescription "$ModelDescription"
:addModelData ModelTypeLabel $ModelTypeLabel  
:addModelData ModelTypeLabel $ModelTypeLabel  
:addModelData $RequiredArgument1Label $RequiredArgument1Value
:addModelData $RequiredArgument1Label $RequiredArgument1Value
:addModelData $RequiredArgument2Label $RequiredArgument2Value
:addModelData $RequiredArgument2Label $RequiredArgument2Value
:…
:…
:<addModelData ModelDescription "$ModelDescription">
:<addModelData $InputArgument1Label $InputArgument1Value>
:<addModelData $InputArgument1Label $InputArgument1Value>
:<addModelData $InputArgument2Label $InputArgument2Value>
:<addModelData $InputArgument2Label $InputArgument2Value>
Line 19: Line 19:


*'''$ModelTypeLabel''': Specifies which ModelType is being used
*'''$ModelTypeLabel''': Specifies which ModelType is being used
*'''$ModelDescription : Text. Optional, default = blank {}


*'''$RequiredArgument1Label $RequiredArgument1Value ...''' :Labels and corresponding values for ModelType-specific required argument.
*'''$RequiredArgument1Label $RequiredArgument1Value ...''' :Labels and corresponding values for ModelType-specific required argument.

Revision as of 05:55, 31 October 2009

Commands

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

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

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




BuildingTcl -- BuildAndAnalyze

Return to BuildingTcl Command Language Manual