Home > Community > Forums > PCB Design > Creating multiple PDF files in Allegro with Script

Email

* Required Fields

Recipients email * (separate multiple addresses with commas)

Your name *

Your email *

Message *

Contact Us

* Required Fields
First Name *

Last Name *

Email *

Company / Institution *

Comments: *

 Creating multiple PDF files in Allegro with Script 

Last post Mon, Aug 26 2013 8:02 PM by lifemore. 4 replies.
Started by Mstrghettorigg 01 Oct 2012 12:06 PM. Topic has 4 replies and 1549 views
Page 1 of 1 (5 items)
Sort Posts:
  • Mon, Oct 1 2012 12:06 PM

    Creating multiple PDF files in Allegro with Script Reply

    Hello all,

     

    I am trying to find a way to create multiple PDF files with single script. (Separate files)

     

    I would like to select few of the required layers I have setup to be printed through Allegro and use PDF writer to create these files.

     

    For now, I have made a script so that Acrobat would open up ready to print, but I cannot get it to name it and proceed to the next film. 

     

    setwindow pcb

    trapsize 1104

    generaledit

    setwindow form.vf_vis

    FORM vf_vis colorview_list Film: RENAME_BOT 

    setwindow pcb

    plot setup 

    setwindow form.fpfileplotsetup

    FORM fpfileplotsetup done  

    setwindow pcb

    generaledit 

    plot setup 

    setwindow form.fpfileplotsetup

    FORM fpfileplotsetup done  

    setwindow pcb

    generaledit 

    plotwint initialize "Adobe PDF"

    plotwint orientation 2

    plotwint papername "Tabloid"

    plotwint scale 100

    plotwint copies 1

    plotwint defaultsource 15

    plotwint printquality 1200

    plotwint color 2

    plotwint execute 

     

    I would like to name it the same file name as RENAME_BOT since "RENAME" will be the part number and I plan on switching it on the script file by find/replace before running the script. 

     

    I have added other layer name such as RENAME_TOP with same information on the file.  Everything seems to work except I have to rename these files manually which I would like to automate.

     

    Please let me know if anyone can help. 

     

    Thank you in advance

     

    • Post Points: 35
  • Fri, Oct 5 2012 8:22 AM

    • Boma
    • Top 200 Contributor
    • Joined on Mon, Aug 4 2008
    • Posts 37
    • Points 515
    Re: Creating multiple PDF files in Allegro with Script Reply

    The easy way is to purchase a PDF Publishing license from Cadence.  It works off the artwork control form and has the option for seperate files or all in the same PDF file.  

    Boma 

    • Post Points: 20
  • Fri, Oct 5 2012 9:56 AM

    Re: Creating multiple PDF files in Allegro with Script Reply

    Hello Boma,

    Thank you for the feedback. I wasn't aware of the license, but I don't think I will be able to get them to purchase the license for us either way.

    • Post Points: 20
  • Fri, Oct 5 2012 10:16 AM

    • Boma
    • Top 200 Contributor
    • Joined on Mon, Aug 4 2008
    • Posts 37
    • Points 515
    Re: Creating multiple PDF files in Allegro with Script Reply
    I don't think the license is that expensive and it supports schematics in Concept HDL as well.  Has support for searchable text, net names and properties as well on the physical side.  1 license should support both EE's and designers at your company.  Works very good.....
    • Post Points: 5
  • Mon, Aug 26 2013 8:02 PM

    • lifemore
    • Not Ranked
    • Joined on Mon, Aug 26 2013
    • Posts 1
    • Points 5
    Re: Creating multiple PDF files in Allegro with Script Reply

    once you bough the license, you can download its softeware and create multiple files freely. you can also choose to install some free online PDF creator c#, most of them need licenst. but you can make use of its free trial to create multiple pdf files in batch. google around and you can find a lot. more info on the pdf processing function can be found here.

    • Post Points: 5
Page 1 of 1 (5 items)
Sort Posts:
Started by Mstrghettorigg at 01 Oct 2012 12:06 PM. Topic has 4 replies.