Home > Community > Forums > PCB SKILL > Extract UI information in SKILL program

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

 Extract UI information in SKILL program 

Last post Thu, Jan 3 2013 10:47 AM by Yann00. 5 replies.
Started by Yann00 14 Dec 2012 04:53 AM. Topic has 5 replies and 1391 views
Page 1 of 1 (6 items)
Sort Posts:
  • Fri, Dec 14 2012 4:53 AM

    • Yann00
    • Top 200 Contributor
    • Joined on Tue, Dec 4 2012
    • Posts 42
    • Points 585
    Extract UI information in SKILL program Reply
    Hi all,


    Well i am in allegro PCB Design,
    I go tools/reports/New then i save Board_ACCURACY, Board_extents, Board_units,
    etc... and i put that on text file.

    I know how to do that with the user interface, but I need to translate that in
    SKILL program in order to automate this informations record.

    Could anybody help me?

    Best regards,

    Yann
    • Post Points: 35
  • Fri, Dec 14 2012 7:37 AM

    • skillUser
    • Top 10 Contributor
    • Joined on Fri, Sep 19 2008
    • Austin, TX
    • Posts 2,587
    • Points 15,900
    Re: Extract UI information in SKILL program Reply

    Hi Yann,

    First it would be best to post to the correct forum, PCB SKILL

    I have no knowledge of how Allegro operates so I cannot really comment.  In the IC tools we create a CDS.log file which contains all of the commands that were issued (through menus, bindkeys, form entries etc.) and so this information might help you in your task if Allegro has a similar kind of logfile?

    Hope this helps.

    Regards,

    Lawrence.

    • Post Points: 20
  • Sat, Dec 15 2012 7:45 AM

    Re: Extract UI information in SKILL program Reply

    I'll move this to the PCB SKILL forum.

    Andrew.

    • Post Points: 5
  • Fri, Dec 21 2012 3:01 AM

    • GIL2004XP
    • Top 500 Contributor
    • Joined on Mon, Apr 25 2011
    • Dasi, 00-TW
    • Posts 24
    • Points 315
    Re: Extract UI information in SKILL program Reply
    To change Units and Design accuracy use "axlDBChangeDesignUnits" and to change Design Extents you can use the skill function "axlDBChangeDesignExtents" You can refer to Allegro® User Guide: SKILL Reference for these functions.
    • Post Points: 20
  • Fri, Dec 21 2012 4:54 AM

    • Ejlersen
    • Top 10 Contributor
    • Joined on Mon, Jul 28 2008
    • Aalborg, Copenhagen
    • Posts 569
    • Points 10,080
    Re: Extract UI information in SKILL program Reply

    Hi

    From within skill you can use axlExtractToFile to extract data.

    It takes an "extract command file" as input - so you take whatever is in your command file and write that to a file inside skill and then run axlExtractToFile.

    That works really nicely.

    See attached file and remove 3 .txt command files and change the last one to suit your needs.

     

    Best regards

    Ole

    Best regards Ole
    • Post Points: 20
  • Thu, Jan 3 2013 10:47 AM

    • Yann00
    • Top 200 Contributor
    • Joined on Tue, Dec 4 2012
    • Posts 42
    • Points 585
    Re: Extract UI information in SKILL program Reply

    Hi,

     

    You help me a lot Ejlersen. 

    Have you ever use a file.dra?   If you did, could i use axlAttachedFile to write into?

    thank you for your time.

    Best regards,

    Y

    • Post Points: 5
Page 1 of 1 (6 items)
Sort Posts:
Started by Yann00 at 14 Dec 2012 04:53 AM. Topic has 5 replies.