I would like to automate the export of some 2D drawings…create the layout (frame, stamp, etc…) and export it as PDF. I haven’t done any of those things before - haven’t programmed anything related to the layout or exported drawings as PDFs…
So, I would like some general advice for starters. What classes to use? For Layout? For PDF export (print)? Of course some code examples would be perfect.
thanks! I will look into it this week. As I understood with this class I can set all the parameters I need (paper size, frame, etc…). And how do I actually automate the export? Printing to PDF? What classes/functions are used for that?
P.S. Additionally to printing automatically to PDF (howdo I set printer properties of the layout? ), can I automatically set all the variables that open in a print dialog( View and Output Scale, Margins and Positions, Linetypes and Line Widths, …)?