Kubotek Forum

KeyCreator & KeyCreator Viewer Technical discussion of CAD/CAM and integrated partner products
Subscribe to post
User avatar
Soli - (7/21/2020 11:24:53 PM)
Set the options for exporting PDF
I want to automate the PDF export.
I want this, because I need to set the name and path of PDF file, automatically from
entity properties and file properties..

I found how to export to PDF

---------------------------------------------------
CLEAR nNumSel
  INT nNumSel
 // maskentity 0, 11,12,13,14,15,16,17,22
  // This will invoke the Universal Selection Menu
  GENSEL "Select dimensions to be changed...", nNumSel, 0, 1, 0, 0, 1, 0
  if (@error != 0)
      EXIT
 
  CLEAR aGenSelEnts
  //Populate variable with the entities just selected
  GETSELECTED aGenSelEnts

//SetExportOptionsPdf

ExportEntities aGenSelEnts , PDF , "TEST.PDF"
 
pause "%d" , @error
------------------------------------------------------
For now, in this example the name and path of PDF are fixed.

I need to set the options for PDF export before PDF export (see SetExportOptionsPdf)
I can't find a such function in KXL documentation.

Can Kubotek help me?
Thanks


 
Login