Hello,
I am trying to convert dwg file to jpg, but following error occurs:
Uncaught GroupDocs\Conversion\ApiException: Source document type not supported: dwg in …GroupDocs/Conversion/ConvertApi.php:408
As I understand, GroupDocs supports dwg format, right? Am I missing something?
My code for conversion:
…
$settings = new GroupDocs\Conversion\Model\ConvertSettings();
$settings->setStorageName(“Storage”);
$settings->setFilePath("$filename.dwg");
$settings->setFormat(“jpg”);
$settings->setOutputPath("");
$request = new GroupDocs\Conversion\Model\Requests\ConvertDocumentRequest($settings);
$response = $conversionApi->convertDocumentDownload($request);