• 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 19150
  • 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
  • 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
  • thewill2live
    thewill2live over 11 years ago

    I understand that Allegro pulls the art_param settings from art_param.txt The point is that by running the artwork output from a batch file it no longer outputs a art_param.txt file in the output directory like it would if I were to physically click on "artwork" in Allegro.

     

    As for the file outputs I want to be able to say "All of these files I'm about to output, i want to put into a 'Foo' folder in my current directory" this will be for more than just art files as I am outputting pdfs, drls, etc.  

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

    Have you considered using ODB++ or IPC2581?

    Don't believe suppliers who tell you that they "prefer" Gerber or their software can't import ODB++.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • thewill2live
    thewill2live over 11 years ago
    I actually output both of those as well (well actually ipc356) it's just part of the company policy to output gerber along with it. I'm not actually part of the process I am just meant to script it so that it's easier for the designers to package their files together before sending them out. I was simply handed a list of files I need to get to output and zipped up into a file to deliver and told to make this into a progam we can run instead of manually doing it.
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
  • eDave
    eDave over 11 years ago

    OK. My sympathies! Dozens, if not hundreds, of companies have done the same thing. I have more than 10,000 lines of code to automatically generate a specification sheet, bundle all the outputs and email and/or ftp it all.

    You can temporarily change the current working directory by using changeWorkingDir. Remember to set it back. Use getWorkingDir to record it.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
>
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