CoCreate User Forum  

Go Back   CoCreate User Forum > Applications > Data Management

Reply
 
Thread Tools Search this Thread Rate Thread Display Modes
  #1  
Old 09-27-2007, 10:29 AM
seb360 seb360 is offline
Registered User
 
Join Date: May 2007
Posts: 170
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
Reply With Quote
  #2  
Old 10-04-2007, 01:00 AM
alexniccoli alexniccoli is offline
Registered User
 
Join Date: Jul 2003
Location: pescia
Posts: 206
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
Reply With Quote
  #3  
Old 10-04-2007, 10:11 PM
wilfried_loewe wilfried_loewe is offline
Registered User
 
Join Date: Jul 2004
Posts: 37
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 ...
Attached Files
File Type: zip pdf.zip (11.3 KB, 545 views)
Reply With Quote
  #4  
Old 12-18-2007, 07:58 AM
seb360 seb360 is offline
Registered User
 
Join Date: May 2007
Posts: 170
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
Reply With Quote
  #5  
Old 12-18-2007, 11:09 AM
wilfried_loewe wilfried_loewe is offline
Registered User
 
Join Date: Jul 2004
Posts: 37
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 ...
Reply With Quote
  #6  
Old 01-14-2008, 11:56 PM
seb360 seb360 is offline
Registered User
 
Join Date: May 2007
Posts: 170
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
Reply With Quote
  #7  
Old 01-17-2008, 08:21 AM
wilfried_loewe wilfried_loewe is offline
Registered User
 
Join Date: Jul 2004
Posts: 37
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 ...
Attached Files
File Type: zip mm_plot_pdf.zip (10.7 KB, 523 views)
Reply With Quote
  #8  
Old 01-23-2008, 02:58 AM
seb360 seb360 is offline
Registered User
 
Join Date: May 2007
Posts: 170
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
Reply With Quote
  #9  
Old 01-23-2008, 08:03 AM
wilfried_loewe wilfried_loewe is offline
Registered User
 
Join Date: Jul 2004
Posts: 37
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
Attached Files
File Type: zip plotdefs.zip (3.2 KB, 435 views)
Reply With Quote
  #10  
Old 02-03-2009, 12:16 AM
teoadams teoadams is offline
Registered User
 
Join Date: Aug 2004
Location: Milano
Posts: 49
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
Reply With Quote
  #11  
Old 02-04-2009, 04:50 AM
wilfried_loewe wilfried_loewe is offline
Registered User
 
Join Date: Jul 2004
Posts: 37
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 ...
Attached Files
File Type: zip pdf_2d.zip (2.3 KB, 377 views)
Reply With Quote
  #12  
Old 07-21-2013, 06:11 AM
ludw ludw is offline
Registered User
 
Join Date: Dec 2006
Location: France
Posts: 86
Re: create pdf with MM

The Model Manager Task Agent module is devoted to.
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -8. The time now is 12:23 AM.



Hosted by SureServer    Forums   Modeling FAQ   Macro Site   Vendor/Contractors   Software Resellers   CoCreate   Gallery   Home   Board Members   Regional User Groups  By-Laws  

Powered by vBulletin® Version 3.8.4
Copyright ©2000 - 2024, Jelsoft Enterprises Ltd.
You Rated this Thread: