BuildingTcl -- ModelTypeLabel Plan: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
(3 intermediate revisions by the same user not shown) | |||
Line 21: | Line 21: | ||
==Required Arguments == | ==Required Arguments == | ||
;$ModelLabel : Unique | ;$ModelLabel : Unique ModelLabel for reference | ||
===Geometry Data === | The following data may need an indeterminate number of input lines, indicated by the parentheses () | ||
<blockquote> | |||
=== Geometry Data === | |||
<blockquote> | |||
==== Grid-Line Labels ==== | |||
<blockquote> | <blockquote> | ||
;iVerticalGridLineLabel "$vLabel1 $vLabel2 ..." : Tcl list specifying the labels of the individual vertical grid lines | ;iVerticalGridLineLabel "$vLabel1 $vLabel2 ..." : Tcl list specifying the labels of the individual vertical grid lines | ||
Line 31: | Line 34: | ||
;iHorizontalGridLineLabel "$hLabel1 $hLabel2 ..." : Tcl list specifying the labels of the individual horizontal grid lines | ;iHorizontalGridLineLabel "$hLabel1 $hLabel2 ..." : Tcl list specifying the labels of the individual horizontal grid lines | ||
: The first grid vertical grid line is located at the TOP | : The first grid vertical grid line is located at the TOP | ||
</blockquote> | |||
==== Bay Widths ==== | |||
<blockquote> | |||
;HorizontalBayWidth Bay $hBay1 Width $hWidth1 : Horizontal bay $hBay1 (numerical value) has a width of $hWidth1 | ;HorizontalBayWidth Bay $hBay1 Width $hWidth1 : Horizontal bay $hBay1 (numerical value) has a width of $hWidth1 | ||
: Horizontal-Bay counting starts at the LEFT | : Horizontal-Bay counting starts at the LEFT | ||
;VerticalBayWidth Bay $vBay1 Width $vWidth1 : Vertical bay $vBay1 (numerical value) has a width of $vWidth1 | ;VerticalBayWidth Bay $vBay1 Width $vWidth1 : Vertical bay $vBay1 (numerical value) has a width of $vWidth1 | ||
: Vertical-Bay counting starts at the TOP | : Vertical-Bay counting starts at the TOP | ||
</blockquote> | |||
</blockquote> | |||
</blockquote> | </blockquote> | ||
Line 48: | Line 56: | ||
* The Z axis is along the vertical axis (positive downwards) | * The Z axis is along the vertical axis (positive downwards) | ||
There are three ways to specify the above data | |||
* Individual Value | |||
** The value is specified individually | |||
* List of quantities | |||
**The quantities are specified individually in a Tcl list "$Quantity1 $Quantity2 ..." | |||
* Range of quantities with the same value | |||
**Quantities are specified by a start value and an end value placed in a Tcl list "$StartQuantity $EndQuantity" | |||
Latest revision as of 06:55, 12 November 2009
Commands
- addModelData ModelLabel $ModelLabel
- addModelData ModelTypeLabel Plan
- addModelData iVerticalGridLineLabel "$vLabel1 $vLabel2 ..."
- addModelData iHorizontalGridLineLabel "$hLabel1 $hLabel2 ..."
- <addModelData ModelDescription "$ModelDescription">
- (addModelData -HorizontalBayWidth Bay $hBay1 Width $hWidth1)
- (addModelData -HorizontalBayWidth Bay "$hBay2 $hBay3" Width $hWidth2)
- (addModelData -HorizontalBayWidth BayRange "$hStartBay1 $hEndBay1" Width $hWidth3)
- …
- (addModelData -VerticalBayWidth Bay $vBay1 Width $vWidth1)
- (addModelData -VerticalBayWidth Bay "$vBay2 $vBay3" Width $vWidth2)
- (addModelData -VerticalBayWidth BayRange "$vStartBay1 $vEndBay1" Width $vWidth3)
- …
- addModel
Required Arguments
- $ModelLabel
- Unique ModelLabel for reference
The following data may need an indeterminate number of input lines, indicated by the parentheses ()
Geometry Data
Grid-Line Labels
- iVerticalGridLineLabel "$vLabel1 $vLabel2 ..."
- Tcl list specifying the labels of the individual vertical grid lines
- The first grid vertical grid line is located at the LEFT
- iHorizontalGridLineLabel "$hLabel1 $hLabel2 ..."
- Tcl list specifying the labels of the individual horizontal grid lines
- The first grid vertical grid line is located at the TOP
Bay Widths
- HorizontalBayWidth Bay $hBay1 Width $hWidth1
- Horizontal bay $hBay1 (numerical value) has a width of $hWidth1
- Horizontal-Bay counting starts at the LEFT
- VerticalBayWidth Bay $vBay1 Width $vWidth1
- Vertical bay $vBay1 (numerical value) has a width of $vWidth1
- Vertical-Bay counting starts at the TOP
Optional Input Arguments
- $ModelDescription
- Text. Optional, default = blank {}
Notes
- The origin of the coordinate system is located at the Top-Left corner.
- The X axis is along the horizontal axis (positive to the right)
- The Z axis is along the vertical axis (positive downwards)
There are three ways to specify the above data
- Individual Value
- The value is specified individually
- List of quantities
- The quantities are specified individually in a Tcl list "$Quantity1 $Quantity2 ..."
- Range of quantities with the same value
- Quantities are specified by a start value and an end value placed in a Tcl list "$StartQuantity $EndQuantity"
Options
Return to BuildingTcl Command Language Manual