...
outputPath - optional path to store resulting file(s) like script output and all files generated by the script (e.g. an exported pdf file); if not specified the files are written to current working directory
fileType - PDF (coming soon with , since 1.151: DWG, DXF, PNG, SVG, BMP, JPG)
dwgVersion - 2018, R32, 2013, R27, 2010, R24, 2007, R21, 2004, R18, 2000, R15 (only for DWG and DXF)
...