...
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:
File name that needs to be in ““ on a separate line as it could contain spaces (so we can parse it properly)
_F or _Format keyword to specify format parameters
Format: DXF or DWG
Version: 2018 or R32, 2013 or R27, 2010 or R24, 2007 or R21, 2004 or R18, 2000 or R15
Folder id passed to file upload if next option is true - needs to be on a separate line as well as spaces are allowed
Upload option:
1: the result will be uploaded to API backend (POST /files is done, see API Documentation )
0: the result is uploaded to output bucket (SaaS version) or written to a dedicated script output folder (on-premise version)
...