Link Search Menu Expand Document

Available Variables

TouchDraw 2 supports inserting Variables into a text area. Entered variables are replaced with the actual value when the drawing is rendered. The table below provides a list of currently supported Text Variables:

Variable Name Variable Type Description
{MinX} Pre-formatted The minimum X-axis position of the figure bounds + the units abbreviation.
{MaxX} Pre-formatted The maximum X-axis position of the figure bounds + the units abbreviation.
{MinY} Pre-formatted The minimum Y-axis position of the figure bounds + the units abbreviation.
{MaxY} Pre-formatted The maximum Y-axis position of the figure bounds + the units abbreviation.
{Length} Pre-formatted The length of the line (if the text is added to a line or line connection) + the units abbreviation.
{Width} Pre-formatted The width of the figure bounds + the units abbreviation.
{Height} Pre-formatted The height of the figure bounds + the units abbreviation.
{Area} Pre-formatted The area of the figure + the units abbreviation.
{Dxxxx} Decimal The decimal representation (to 4 decimal points) of one of the 7 variables above where xxxx is the name of the variable. For example, {DLength} would return the decimal value of a line length.
{Fxxxx} Fractional The fractional representation of one of the 7 variables above where xxxx is the name of the variable. For example, {FLength} would return the fractional value of a line length.
{DrawingName} Pre-formatted The name of the current drawing.
{Units} Pre-formatted The abbreviation of the unit of measure specified for the drawing.
{UnitsName} Pre-formatted The full name of the unit of measure specified for the drawing.
{Layer} Pre-formatted The name of the layer that the figure is currently in.
{Date} Date The current date.

Copyright © 2010-2022 Elevenworks LLC. All rights reserved.