Any controls on this page which can be accessed with a formula are marked with a reference number.
To view the formula name, hold your mouse over the control or click on the control to look up the reference in the table below.
For more information on other pages or categories, simply click on the area of interest.
To find out what this property page is used for, see discussion on Walls Tool under Drawing Tools.
Ref | Variable Name |
---|---|
1 | EdgeIndex (See Note 1 below) |
2 | Desc |
3 | ID |
4 | IsPresent |
5 | IsTexture (see Note 3 below) |
6 | IsVisiblePlan |
7 | IsVisibleElev |
8 | IsVisible3D |
9 | Font (see Note 4 below) |
10 | Align (see Note 5 below) |
11 | Text |
12 | IsClipLabelToFace |
13 | TileRepeatPlace (see Face Texture Note 8) |
14 | SizeX (see Face Texture Note 8 ) |
15 | RepX (see Face Texture Note 8) |
16 | OffsetX |
17 | SizeY (see Face Texture Note 8) |
18 | RepY (see Face Texture Note 8) |
19 | OffsetY |
20 | LabelAngle |
21 | hOffset |
22 | vOffset |
23 | LabelPos (see Note 5 below) |
24 | IsClipTop |
25 | ClipPosTop |
26 | IsClipLeft |
27 | ClipPosLeft |
28 | IsClipRight |
29 | ClipPosRight |
30 | IsClipBottom |
31 | ClipPosBottom |
32 | IsFlipVert |
33 | IsFlipHorz |
34 | MirrorExtendVert |
35 | MirrorExtendHorz |
36 | IsTransparent |
37 | TranspTol |
When setting up wall heights and textures, the EdgeIndex combo is used to select an edge of the wall. This variable allows you to write formulas that use the selected EdgeIndex to calculate other properties of that wall edge.
See Built In Variables and tutorial on Wall and PolyItem Edges.
If you are evaluating formulas inside Texture and you use the variable name it will evaluate there to the Texture name, giving the same answer as Texture in that context.
Type radio buttons can be tested: Yes for Picture, No for Label.
The variable name for the yesno-with-formula. This control is only available when the radio button is Yes for Label and allows you to control this clipping per label, making some clip and some not clip depending on the individual setting.
Font is a property which is a map type with these keys:
Ref Variable Name Example “font” Name of font “Arial” “size” Font height in logical units 5 “bold” Is Bold Yes “italic” Is Italic No “underline” Is Underlined Yes “strikeout” Is Strikeout No “weight” Weight of font in range 0 to 1000 400 is normal, 700 is bold, 0 to use default “charset” Character set GREEK_CHARSET etc, lookup system constants “color” Color for text RGB(255,0,0) for red, etc
When placing tiles, the placement origin can be offset using the 9-way placement buttons.
Middleware formula constants for alignment and positioning can be used instead of needing to use magic numbers for LabelPos and Align.
Predefined constants are as follows.
leftedge centerline rightedge frontedge middledepth backedge frontleft frontcenter frontright middleleft middlecenter middleright backleft backcenter backright
Middleware formula constants for alignment can be used instead of needing to use magic numbers.
Predefined constants are as follows.
alignleft aligncenter alignright alignbottom alignbaseline aligntop Examples
SetValue supports "alignh" and "alignv" to set alignment on one axis (h or v) without affecting other axis (v or h)
- SetValue("alignh", alignleft) just changes left-right alignment without altering top-bottom alignment
Also supports the following to edit both together
- SetValue("align", alignleft+alignbottom)