version 6.0
4D Draw is a plug-in that adds almost 150 commands to the 4th Dimension procedural language. With these commands, you can automate tasks typically done manually on a document, such as:
Execute 4D Draw menu commands
Open and save documents
Draw, select, and modify objects
4D Draw documentation
The documentation available for 4D Draw consists of two manuals, the 4D Draw User Reference and the 4D Draw Language Reference. The purpose of this manual (4D Draw Language Reference) is to describe the use of the programming language of 4D Draw. For more information about how to use 4D Draw, please refer to the 4D Draw User Reference manual.
Language Conventions
All the 4D Draw commands are preceded by the letters DR to distinguish them from standard 4th Dimension commands and from commands added by the other plug-ins.
In this manual, 4D Draw commands are printed in uppercase in a special font: DR LOCK. 4D Draw functions are shown with an initial capital letter: DR Count.
When 4D Draw commands or functions appear in methods, they are displayed in a bold italic typeface to differentiate them from built-in 4th Dimension commands and functions. Non-italic bold text indicates 4th Dimension language terms.
In some examples in this manual, a line of code may be continued on a second or third line due to space limitations. However, when you type these examples, keep those lines of code on a single linedo not press the Return key and cause a break in the flow.