SaveCopy for MoxyDraw

Saves a copy of the current document.


Syntax:

SaveCopy
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.

Optional.

version:

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


dxf14

dxf2000

dxf2004

dxf2007

dxf2010

dxf2013

dxf2018

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:

Saves a copy of a document without saving or renaming the current document.