CabMasterPro User Guide
In This Topic
    Faces Texture Formula Reference
    In This Topic
    FaceIsMarkedSealedSectionIsMarkedPresentIsTextureTextureIsPresentIsVisiblePlanIsVisibleElevIsVisible3DIsClipTopClipPosTopIsClipLeftClipPosLeftIsClipRightClipPosRightIsClipBottomClipPosBottomIsFlipVertIsFlipHorzMirrorExtendVertMirrorExtendHorzIsTransparentTranspTol (see below for details)TileXTileYSizeXSizeYRepXRepYPlaceFolderNameLibrarySizesSectionsFacesFace TexturesFace TextureModelComponentsMachiningAll AnswersAdvanced Donor AcceptorFace Texture

    Any controls on this page which can be accessed with a formula are marked with a reference number.

    To view the formula name, hover your mouse over the control or click on  to look up the reference in the table below.

    To find out what this property page is used for, see the Faces Texture page under Cabinet Properties.


    Ref Variable Name
    1 Face (see Note 1 below)
    2 IsMarkedSealed
    3 Section (see Note 2 below)
    4 IsMarkedPresent or MarkedPresent
    5 IsTexture (see Note 3 below)
    6 Texture (see Note 4 below)
    7 IsPresent
    8 IsVisiblePlan
    9 IsVisibleElev
    10 IsVisible3D
    11 IsClipTop
    12 ClipPosTop
    13 IsClipLeft
    14 ClipPosLeft
    15 IsClipRight
    16 ClipPosRight
    17 IsClipBottom
    18 ClipPosBottom
    19 IsFlipVert
    20 IsFlipHorz
    21 MirrorExtendVert
    22 MirrorExtendHorz
    23 IsTransparent
    24 TranspTol (see Note 5 below)
    25 TileX (see Note 8)
    26 TileY (see Note 8)
    27 SizeX (see Note 8)
    28 SizeY (see Note 8)
    29 RepX (see Note 8)
    30 RepY (see Note 8)
    31 TileRepeatPlace (see Note 8 below)
    32 Folder (see Note 6 below)
    33 Name (see Note 7 below)

    Note 1

    Face

    If you are evaluating formulas inside Face and you use the variable name it will evaluate there to the Face name, giving the same answer as Face in that context.

    Note 2

    Section

    If you are evaluating formulas inside Section and you use the variable name it will evaluate there to the Section name, giving the same answer as Section in that context. This also applies to...

    • CappingSection
    • Component
    • DimLine
    • Face
    • Section
    • MachineStep
    • Texture
    • VSection

    For example, if you are in a child context such as in a machine step within a component, then Name will evaluate to the name of the machine step. But since you are a child of the component, you can still use Component to get the name of the component you are within.

    Note 3

    IsTexture

    Type radio buttons can be tested: Yes for Picture, No for Label.

    IsClipLabelToFace

    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.

    Example of Text label  -  Click to Expand

    Example of Text label  -  Click to Expand

    Note 4

    Texture

    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.

    Note 5

    TranspTol

    When you specify transparency, you do so by specifying the top left pixel as the transparency color. But colours nearby (within this tolerance) are considered to be the same for transparency purposes. The tolerance is an integer, and when RGB is specified as three integers, they must all be this close to the transparency color. For example, if you specify grey (128,128,128) as the transparency color, and give it a tolerance of 2, then (126,130,129) is also a transparent pixel, but (128,128,131) is not.

    Note 6

    Folder

    The Folder variable returns the path name exactly as it appears in the text box. FullFolder returns an absolute path (as taken from the base Bitmap folder), and ShortFolder returns a path relative to the base Bitmap folder.

    Note 7

    Name

    When you use this variable, you may find it returns the name of the cabinet, face or something else. To correctly address the texture name, you must use Surface.Name, Style.Name or Picture.Name (for the Face Picture page). This also applies to other variables which are used as both surface and style properties.

    Note 8

    TileRepeatPlace

    Values are as follows:-

    0 = Tile

    • When set to Tile, the values of TileX and TileY determine the tile size.

    1 = Repeat

    • When set to Repeat, the values of RepX and RepY (whole numbers) determine how many repetitions of the tile are placed across or up/down on the face.

    2 = Place

    • When set to Place, then TileX TileY gives the size of the single texture tile placed on the face.

    When placing tiles, the placement origin can be offset using the 9-way placement buttons, then further adjusted with X,Y offset amounts, then rotated by the placement Angle specified.

    Tiling

    There are three ways the screen grab appears:

    1. select Fill then select Size, displays and edits the SizeX, SizeY variables

    2. select Fill then select Repeat, displays and edits the RepX, RepY variables

    3. select Place displays and edits the SizeX, SizeY variables, the RepX, RepY variables and allows for an X, Y Offset.

    When placing tiles, the placement origin can be offset using the 9-way placement buttons, then further adjusted with X,Y offset amounts, then rotated by the placement Angle specified - see Face Texture under Cabinet Properties for examples.