#1
|
|||
|
|||
create pdf with MM
Hi,
When i want to create pdf from a drawing automatically when i save it in MM, the pdf is always printed on A4 sheet format !!! How can i configure the pdf printer from MM (v15) in order that pdf will be print on the drawing's format ?? Thanks |
#2
|
|||
|
|||
Re: create pdf with MM
I don't know if there are some easy settings but until now i have extended
ndm_am_addpdf lisp macro,inquiring drawing horizontal and vertical size etc.. and setting PDF_GENERIC properties before print in PDF(plot format,orientation,scale, etc..). Alessandro Niccoli
__________________
alessandro niccoli pescia(PT)-italy |
#3
|
|||
|
|||
Re: create pdf with MM
There is good description in the Model Manager Customization Guide - Section "Customize PDF generation". I use own PDF-Styles in Annotation for every format size and orientation. Then I calculate the use of PDF-Style in mm_customize_2D file (?? C:\Program Files\CoCreate\OSD_Modeling_2007\personality\sd_customize\ModelManager ??) You will find the required Files in Attachment.
Notice: In the Printerstyle files e.g. "am_Plot_PrinterStyle_PDF-A??.lsp" you had to set the destination parameter to an real path of temp. PDF-Dump ... |
#4
|
|||
|
|||
Re: create pdf with MM
Hi,
Thank you very much for the tip It seems to be great !! But it doesn't work for drawing with 2 sheets ?? It doesn't create a pdf with 2 sheets as well ?? I changed the pdf style to print all the drawing and it works fine when i use the print command of modeling with the pdf style. But it doesn't work with model manager pdf command ?? Is there a solution ? Thanks |
#5
|
|||
|
|||
Re: create pdf with MM
Hi,
sorry for my mistake. In the Files am_plot_PDF-A[0-4]H/Q.lsp the line: "Source" :SHEET should changed to "Source" RAWING to print all Sheets !!!! I will have a look the next days, if there is solution using the MM PDF Command ... |
#6
|
|||
|
|||
Re: create pdf with MM
It seems also not working for Portrait drawing ?? The drawing is always print in landscape format... Have you got the same problem ?
And it also remain the problem for multiple sheet drawing ! In model manager, the pdf have always only one sheet... (even if i change "source" to "drawing"...) Thanks for your answer |
#7
|
|||
|
|||
Re: create pdf with MM
Hi,
I have done some improvements to the MM -- PDF-Plots. 1.) Now I am working throw all Anno-Sheets to find the largest one. This founded size is used for all all sheets - see mm_customize_2D. To get more Information when calculate the values of limits, set den "Print-Debug" Flag in Line 4 to: (defvar *kl_wl_print_debug* t) 2.) More PDF-Printers - for fitting the drawing, if there was no Sheetsize found running the PDF-Plot ... 3.) Inserted 4 Papersizes in the plotdefs of Annotation - for Portrait Orientation. So the viewing users must not rotate the PDF-Results, when y-size is larger then x-size. Attachment Files: 1.) Default_Settings.zip -- Default_Settings folder of Annotation customize - see PDF customization Section in customize.chm of MM 2.) ModelManager.zip - Main PDF-Sektion - see PDF customization Section in customize.chm of MM 3.) in_plotdefs_anno.zip -- Extension of Annotation plotdefs - PDF_GENERIC If you get not expected results, check the Printersettings in Anno-Config ... |
#8
|
|||
|
|||
Re: create pdf with MM
It seems to work fine for multiple sheets pdf !! Great !!
But i don't understand what shall i do with the file "in_plotdefs_anno" for printing in portrait format ? Thanks |
#9
|
|||
|
|||
Re: create pdf with MM
Dear seb360,
the extension of plotdefs from Annotation ist used for sheets in portrait orientaion of Annotation (default is landscape template). So the Viewers of the PDF-Plot don't need to rotate the Drawing in PDF-Reader. The new lines in plotdefs (Row 11 to 15) are used by the Printerstyles - e. g.: am_Plot_PrinterStyle_PDF-A0H.lsp --> "PaperSize" :A2H_______420_MM_X_594_MM___ is used -- same for all other A[4-0]H Types ... ... this approach requires no rotation of the document before consideration of the beholder |
#10
|
|||
|
|||
Re: create pdf with MM
Wilfried, your suggestions work very good with annotation, any idea how to make the same with Designer Drafting?
I've noticed that for creating PDF while saving Drawing Manager uses the macro "Wui_awm_m_add_pdf" so it'd be enuogh to insert into this macro the code for choosing the right format and assigning the right printer configuration...maybe, but I can't modify this macro. thank you very much Teo |
#11
|
|||
|
|||
Re: create pdf with MM
Hi teoadams,
for drafting/annotation I have done same small modifications (also of problems with formatsize and orientation) order_sheets ist a modified macro based on PTC/CC-macro order_sheets. The call to this macro is set in comments (2 times) - if you want to use this, you had to uncomment. Both macros had to input from API (e.g. Drafting/Annotation) Good luck ... |
#12
|
|||
|
|||
Re: create pdf with MM
The Model Manager Task Agent module is devoted to.
|
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
|
|