Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

You can run _DOSAVEAS command from a script to convert your drawing passing parameters as followed:

Code Block
_DOSAVEAS
"test.dxf"
_F DXF 2013
""
0

Command parameters:

  1. File name that needs to be in ““ on a separate line as it could contain spaces (so we can parse it properly)

  2. _F or _Format keyword to specify format parameters

  3. Format: DXF or DWG

  4. Version: 2018 or R32, 2013 or R27, 2010 or R24, 2007 or R21, 2004 or R18, 2000 or R15

  5. Folder id passed to file upload if next option is true - needs to be on a separate line as well as spaces are allowed

  6. Upload option:

    1. 1: the result will be uploaded to API backend (POST /files is done, see API Documentation )

    2. 0: the result is uploaded to output bucket (SaaS version) or written to a dedicated script output folder (on-premise version)

...