Convert CAD files With Total CAD ConverterX and Perl

Please, download and install Total CAD ConverterX. Using the sample code below you will be able to convert XLS to PDF, DOC, TXT, etc.


  Example Perl:

use Win32::OLE;

my $src="C:\\test\\test.dwg";
my $dest="C:\\test\\test.pdf";

my $c = CreateObject Win32::OLE 'CADConverter.CADConverterX';
$c->convert($src,$dest, "-c pdf  -log c:\\test\\CAD.log");
print $c->ErrorMessage if -e $dest;
If you need examples on other languages please contact us. We will create any example specially for you.

Related topics