SaveAs for MoxyDraw

Saves the current document.


Syntax:

SaveAs
file name
overwrite
version

file name:

Sets the file name. Full path is needed.

overwrite:

Optional. Sets the target object(s). If omitted, all object(s) will be purged. Here are the available objects:

Ask = Ask to overwrite if the file exists.

True = Always overwrites the file, without asking.

False = Never overwrites the file, without asking.

version:

Optional. Sets the AutoCAD version. If omitted, drawing will be saved into the current version. Here are the available versions:

dwg14

dwg2000

dwg2004

dwg2007

dwg2010

dwg2013

dwg2018

Note: Using "version" can cause the saved file to need a recovery in some AutoCAD versions. This is due to a limitation of AutoCAD API.

Note:

This command does not save as DXF.