Home > Community > Forums > PCB SKILL > How To Get And Set Global Dynamic Shape Parameters By Using SKILL?

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: *

 How To Get And Set Global Dynamic Shape Parameters By Using SKILL? 

Last post Mon, Oct 21 2013 7:11 PM by edaMac. 7 replies.
Started by MaHongbing 20 Feb 2010 06:42 PM. Topic has 7 replies and 5886 views
Page 1 of 1 (8 items)
Sort Posts:
  • Sat, Feb 20 2010 6:42 PM

    • MaHongbing
    • Not Ranked
    • Joined on Sun, Aug 17 2008
    • shenzhen, Guangdong
    • Posts 2
    • Points 155
    How To Get And Set Global Dynamic Shape Parameters By Using SKILL? Reply

    Hi,

        All, When I Open The Artwork Control Form To Setup The General Parameters In PCB Editor, The System  Always Required To Confirm "Artwork output type (GERBER6X00) does not match the format used in dynamic shapes parameters (GERBER_RS274)....". And My Question is "How To Get And Set Global Dynamic Shape Parameters By Using SKILL?" Thanks.

    Daniel
    • Post Points: 35
  • Sat, Feb 27 2010 12:31 AM

    Re: How To Get And Set Global Dynamic Shape Parameters By Using SKILL? Reply

     Hi MaHongbing,

    This isn't exactly the answer to your question, but it might be helpful nonetheless: Have you tried using an art_param.txt file? This file is generated automatically whenever you adjust your artwork parameters and it's in the \physical folder of your project directory structure. You copy the art_param.txt file to $CDS_SITE\pcb or $ALLEGRO_SITE and have the artwork parameters applied to all PCBs at your location.

    This is attacking your problem from the other direction, but hopefully it is of some use to you.

    • Post Points: 20
  • Mon, Mar 1 2010 9:29 PM

    • Ejlersen
    • Top 10 Contributor
    • Joined on Mon, Jul 28 2008
    • Aalborg, Copenhagen
    • Posts 556
    • Points 9,795
    Re: How To Get And Set Global Dynamic Shape Parameters By Using SKILL? Reply

    Hi

    To my knowledge you would have to do this by writing a script and executing that from within Skill

    Best regards

    Ole

    Best regards Ole
    • Post Points: 20
  • Wed, Dec 12 2012 5:57 PM

    Re: How To Get And Set Global Dynamic Shape Parameters By Using SKILL? Reply

    Shape->Global shape parameters->void controls-> set gerber type or modify the artwork control film 中的gerber type使两者的type一致。

    Shape->Global shape parameters->void controls-> set gerber type or modify the artwork control film  gerber type, and make they are the same gerber type selected.
    • Post Points: 5
  • Fri, Dec 21 2012 3:18 AM

    • GIL2004XP
    • Top 500 Contributor
    • Joined on Mon, Apr 25 2011
    • Dasi, 00-TW
    • Posts 24
    • Points 315
    Re: How To Get And Set Global Dynamic Shape Parameters By Using SKILL? Reply

    As what Ole have suggested here is an example; 

    PORT = (outfile "d:/skills/shape_param.scr" "w")

    (fprintf PORT "# Allegro script\n")

    (fprintf PORT "setwindow pcb\n")

    (fprintf PORT "generaledit\n")

    (fprintf PORT "shape global param\n")

    (fprintf PORT "generaledit\n")

    (fprintf PORT "setwindow form.dyn_xshape void_control\n")

    (fprintf PORT "FORM dyn_xshape art_format Gerber RS274X \n")

    (fprintf PORT "FORM dyn_xshape apply \n")

    (fprintf PORT "FORM dyn_xshape done \n")

    (fprintf PORT "setwindow pcb\n")

    (close PORT)

     

    (axlShell "replay d:/skills/shape_param.scr")

    deleteFile("d:/skills/shape_param.scr") 

    • Post Points: 20
  • Mon, Oct 21 2013 6:31 PM

    • edaMac
    • Not Ranked
    • Joined on Fri, Jan 18 2013
    • Olongapo City, Philippines
    • Posts 6
    • Points 360
    Re: How To Get And Set Global Dynamic Shape Parameters By Using SKILL? Reply
    Hi, How can i get the value of suppress shapes in void control for SKILL? I need the value to do some checking. Thanks in advance
    • Post Points: 20
  • Mon, Oct 21 2013 6:45 PM

    • eDave
    • Top 10 Contributor
    • Joined on Sun, Jul 13 2008
    • Christchurch, 00-NZ
    • Posts 707
    • Points 15,395
    Re: How To Get And Set Global Dynamic Shape Parameters By Using SKILL? Reply
    One way might be to use axlExportXmlDBRecords to dump the parameter groups and then look through the dynfill_parm_type section.
    Dave Elder, Tait Communications
    • Post Points: 20
  • Mon, Oct 21 2013 7:11 PM

    • edaMac
    • Not Ranked
    • Joined on Fri, Jan 18 2013
    • Olongapo City, Philippines
    • Posts 6
    • Points 360
    Re: How To Get And Set Global Dynamic Shape Parameters By Using SKILL? Reply
    Thanks! I'll check this one. May I also know the other ways to get this value? Thank you very much
    • Post Points: 5
Page 1 of 1 (8 items)
Sort Posts:
Started by MaHongbing at 20 Feb 2010 06:42 PM. Topic has 7 replies.