BuildingTcl -- addModel: 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 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>
:…
:…
:'''addModel'''
:'''addModel'''
Different ModelTypes have different input arguments:
: [[BuildingTcl -- ModelTypeLabel Elevation]]
: [[BuildingTcl -- ModelTypeLabel Plan]]
: [[BuildingTcl -- ModelTypeLabel 3DFrame]]


==Arguments ==
==Arguments ==


*'''$ModelLabel''': Unique Model Label for reference
;$ModelLabel: Unique Model Label for reference


*'''$ModelTypeLabel''': Specifies which ModelType is being used.
;$ModelTypeLabel: Specifies which ModelType is being used


*'''$RequiredArgument1Label $RequiredArgument1Value ...''' :Labels and corresponding values for ModelType-specific required argument.
;$ModelDescription : Text. Optional, default = blank {}


*'''$InputArgument1Label $InputArgument1Value …''' : Labels and corresponding values for ModelType-specific Input Arguments (Optional)
;$RequiredArgument1Label $RequiredArgument1Value ... :Labels and corresponding values for ModelType-specific required argument.
 
;$InputArgument1Label $InputArgument1Value … : Labels and corresponding values for ModelType-specific Input Arguments (Optional)




Line 33: Line 40:
==Options ==
==Options ==


* [[BuildingTcl -- ModelTypeLabel]]
 
 
 
== Examples ==
*[[BuildingTcl -- addModel Examples -- 2D Models]]
*[[BuildingTcl -- addModel Examples -- 3D Models]]
 





Latest revision as of 00:39, 5 November 2009

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

Examples




BuildingTcl -- BuildAndAnalyze

Return to BuildingTcl Command Language Manual