• Skip to main content
  • Skip to search
  • Skip to footer
Cadence Home
  • This search text may be transcribed, used, stored, or accessed by our third-party service providers per our Cookie Policy and Privacy Policy.

  1. Community Forums
  2. Allegro X PCB Editor
  3. Set NC Parameter and Art Parameters from SKILL?

Stats

  • Replies 15
  • Subscribers 161
  • Views 19245
  • Members are here 0
More Content

Set NC Parameter and Art Parameters from SKILL?

thewill2live
thewill2live over 11 years ago

Hey guys,

 I'm currently working on a program to output artwork and NC Drill files. I have them outputting by calling the batch commands "artwork" and "nctape" respectively. However, this doesn't output the standard Art_param.txt and NC_param.txt files that are normally output when you manually output artwork and NC Drill data from Allegro. My work around for now is that I noticed these .txt files are generated when accessing the parameters tab on each of those windows (even without changing anything, you just have to access the pages) so I recorded a script of me opening those windows, changing to the parameters tabs, and closing the window. By running these scr files using the "replay" command I am able to generate the param.txt files I want. I wanted to ask if anyone knows of a true SKILL way of outputting these files and/or setting these parameters? Workaround is fine but I'd rather not rely on the .scr file being called.

 

Bonus question: Is there a way to modify the default directory of the files I am currently outputting? For instance when I run "artwork" right now it outputs all the .art files into the same directory that my .brd file currently resides in. Is there a way of saying put everything in this FOO folder I made in this directory?

  • Sign in to reply
  • Cancel
Parents
  • thewill2live
    thewill2live over 11 years ago

    Seeing as how I am wanting to edit the output locations to the specific directory I am currently in for each board that I run this on, I don't think editing the env permanently would be good practice. But good information anyways. Thanks for the heads up about that existing program. I'll take a look at that if I really can't figure out how to get Python to be called from SKILL. 

     

    Side question while I got all you geniuses here: anyone know of a way to figure out which env/.men/.ilinit files Allegro is currently pulling it's information from? I was editing some other coworker's files to include my new skill prorgams but they have multiple instances of Cadence (due to older versions and whatnot) so I don't know which env files Allegro is pulling from and I'd rather not append to all .env files. Is there somewhere in Allegro to check which files it's pulling from? I'd look in the env file for this type of info normally but as you can see this is a chicken and the egg type problem haha

     

    Thanks again, all. I appreciate the help. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • thewill2live
    thewill2live over 11 years ago

    Seeing as how I am wanting to edit the output locations to the specific directory I am currently in for each board that I run this on, I don't think editing the env permanently would be good practice. But good information anyways. Thanks for the heads up about that existing program. I'll take a look at that if I really can't figure out how to get Python to be called from SKILL. 

     

    Side question while I got all you geniuses here: anyone know of a way to figure out which env/.men/.ilinit files Allegro is currently pulling it's information from? I was editing some other coworker's files to include my new skill prorgams but they have multiple instances of Cadence (due to older versions and whatnot) so I don't know which env files Allegro is pulling from and I'd rather not append to all .env files. Is there somewhere in Allegro to check which files it's pulling from? I'd look in the env file for this type of info normally but as you can see this is a chicken and the egg type problem haha

     

    Thanks again, all. I appreciate the help. 

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
No Data
Cadence Guidelines

Community Guidelines

The Cadence Design Communities support Cadence users and technologists interacting to exchange ideas, news, technical information, and best practices to solve problems and get the most from Cadence technology. The community is open to everyone, and to provide the most value, we require participants to follow our Community Guidelines that facilitate a quality exchange of ideas and information. By accessing, contributing, using or downloading any materials from the site, you agree to be bound by the full Community Guidelines.

© 2025 Cadence Design Systems, Inc. All Rights Reserved.

  • Terms of Use
  • Privacy
  • Cookie Policy
  • US Trademarks
  • Do Not Sell or Share My Personal Information