BuildingTcl -- addModel: Difference between revisions

From OpenSeesWiki
Jump to navigation Jump to search
No edit summary
No edit summary
 
(2 intermediate revisions by the same user not shown)
Line 15: Line 15:


Different ModelTypes have different input arguments:
Different ModelTypes have different input arguments:
; $ModelTypeLabel
: [[BuildingTcl -- ModelTypeLabel Elevation]]
: [[BuildingTcl -- ModelTypeLabel Elevation]]
: [[BuildingTcl -- ModelTypeLabel Plan]]
: [[BuildingTcl -- ModelTypeLabel Plan]]
Line 22: Line 21:
==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


*'''$ModelDescription : Text. Optional, default = blank {}
;$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.


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




Line 41: Line 40:
==Options ==
==Options ==


== 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