relume Posted August 13, 2014 Share Posted August 13, 2014 VW 2014 Hello We have to export automatized by a vectorscript a batch of small cutout plans to a raster image format like tif or jpg. Until today we did the export to PDF files. As VW 2014 gives us some problems on the PDF rendering in the export and the export to a raster image format does not, we would like to adapt our existing vectorscript. In our vectorscript we used the PDF functions like this: # START of the script : reading the PDF-Settings once AcquireExportPDFSettingsAndLocation(TRUE); # Start Loop : loop all cutout plans and export to independent files OpenPDFDocument(vMyFileName1ToN); ExportPDFPages(vMyFileName1ToN); ClosePDFDocument; # End Loop For exporting to a raster image file format we are looking for a vectorscript function/command that is analogue to the ones for PDF-export. It is really true, that there is no similar vectorscript function despite in the VectorWorks Menue /File/Export/Export to image.. the functionality is given? Many thanks for any hints, best regards, relume Quote Link to comment
CodeGier Posted August 13, 2014 Share Posted August 13, 2014 DoMenuTextByName('Export Image File',0); But you have to manually type the filename for every item in the Loop... Not the best solution. Quote Link to comment
relume Posted August 13, 2014 Author Share Posted August 13, 2014 Hello Thank you very much. Exporting up to 600 cutouts and manually type the filename on every exported file is a an issue :-) looking forward for a possibility to circumvent this approach. Quote Link to comment
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.