• progeCAD in French Language
  • progeCAD in Spanish Language
  • progeCAD in English Language
Home > Support > Dialog Control Language > Predefined Attributes > About Predefined Attributes 

About Predefined Attributes

About Predefined Attributes

About Predefined Attributes

The program's DCL includes many predefined attributes for tiles. The attributes use three types of values: numeric, strings, and reserved values. The valid attributes for each tile varies.

NOTE Do not use the horizontal_margin, vertical_margin, and type attributes in a DCL file.

Numeric Values

Numeric values are integers and/or real numbers, depending on the attribute. A real number between -1 and 1 must have a leading zero, such as 0.1 and not .1. Examples include:

max_value = 16;

aspect_ratio=0.0;

Strings

A string consists of alphanumeric characters within a pair of quotation marks ("text") and is case sensitive. Examples include:

key = "R2";

action = "(function)";

You can use the following control characters within strings:

Control Character Meaning
\" Quotation mark. (embedded)
\\ Backslash.
\n New-line (carriage return).
\t Tab.

Reserved Values

Some text is used without quotation marks. These are reserved values, which include flags (true and false), color names, and positions, such as left and top. Examples include:

allow_accept = true;

color = blue;

alignment = centered;

Programming Overview of DCL (Dialog Control Language)

Copying Code Examples from the progeCAD Developer Reference

 
DWG is the native file format for Autodesk AutoCAD®. Autodesk and AutoCAD are registered trademarks or trademarks of Autodesk, Inc. in the USA and/or other countries. progeSOFT and progeCAD are registered trademarks or trademarks of progeCAD s.r.l. in the USA and/or other countries.