• 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 19248
  • 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
  • oldmouldy
    oldmouldy over 11 years ago

    You don't need to do this with SKILL, the "artpath" is scanned for "art_param.txt", create the file and the set the preference to pick it up, User Preferences / Paths / Config / artpath, the "ncdpath" is scanned for the "nc_param.txt", that's Config / ncdpath. The artwork gets sent to the directory set in User Preferences / File_management / output_dir / ads_sdart, set the name of a subdirectory, recommended, to send the artwork files to, subdirectory will be created if it doesn't exist when the artwork is generated.

    • Cancel
    • Vote Up +1 Vote Down
    • Sign in to reply
    • Cancel
  • AK20250513568
    AK20250513568 3 months ago in reply to oldmouldy

    This is probably the easiest method. Thanks.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • AK20250513568
    AK20250513568 3 months ago in reply to oldmouldy

    This is probably the easiest method. Thanks.

    • 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