Basics for MoxyDraw

Welcome to the MoxyDraw basics.


MoxyDraw can work with both spreadsheet and text files but the latter are much faster.


As mentioned previously, MoxyDraw is an AutoCAD® add-in. And AutoCAD® works with coordinates.


The best way to calculate the coordinates of your drawing is from a spreadsheet. From there, you export all the commands and coordinates to a text file via a macro.


VBA macros are not your cup of tea? Here are some links to start with:

Export macro in text file because some people may not like spreadsheets with embedded macros.

Export macro embedded in Excel.


How to Export an Excel Range to a text file (VBA code included)?Youtube

Tests can be made with our free-ware MoxyDrawLite.


How to Install and Uninstall MoxyDrawLite (Free and Very easy)?Youtube

How to test MoxyDrawLite with the online examples?Youtube

Keep in mind MoxyDrawLite has only 7 commands, so some drawings will be missing some objects.


Type "MoxyOptions" in "Search..." for more details on how MoxyDraw is configured.


Syntax


Syntax in Excel:

Command
argument1
argument2
argument3
argument4
argument5
argument6
argument7
argument8
argument9
argument10

Syntax in a text file:

Command
tab
argument1
tab
argument2
tab
argument3
tab
argument4
tab
argument5
tab
argument6
tab
argument7
tab
argument8
tab
argument9
tab
argument10

Tabs

In the text file, each argument must be separated by a tab (not a space).

Less arguments

Some commands need less argument or even none. All data (or blanks) after necessary arguments will not be considered by MoxyDraw.

Case sensitive

Commands in MoxyDraw are NOT case sensitive. So, for example, if you want to use the command "Circle", you can type "circle", "Circle", "cirCLE", "CIRCLE" or even "C i    R c Le". At the end, it will always give a plain circle very fast. Same thing applies to argument like "True", "TRUE" or "true". Uppercase are used in this command list just to make it easier to read.

Examples

If you need examples on any commands please refer to examples section of this web site.

Optional arguments

In some commands, some of the argument are in red which means they are optional. Optional means empty but the space has to be reserved to the empty argument. Here are some examples:

Optional arguments in Excel:

Command
argument1
argument2
argument3
argument4
argument5
optional6
argument7
argument8
argument9
argument10

Should be like this as it is very important the leave a blank space:

Command
argument1
argument2
argument3
argument4
argument5
                
argument7
argument8
argument9
argument10


Optional arguments in a text file:

Command
tab
argument1
tab
argument2
tab
argument3
tab
argument4
tab
argument5
tab
optional6
tab
argument7
tab
argument8
tab
argument9
tab
argument10

Should be like this as it is very important the leave a tab space:

Command
tab
argument1
tab
argument2
tab
argument3
tab
argument4
tab
argument5
tab
tab
argument7
tab
argument8
tab
argument9
tab
argument10


Consequently a command with optional arguments like follow:

Command
argument1
argument2
argument3
argument4
argument5
optional6
argument7
argument8
argument9
argument10

Could be as short as this:

Command
argument1
argument2
argument3
argument4
argument5