• 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. Problem Calling batch programs in SKILL

Stats

  • Replies 3
  • Subscribers 161
  • Views 13489
  • Members are here 0
More Content

Problem Calling batch programs in SKILL

thewill2live
thewill2live over 11 years ago

Hey guys,

I'm thinking I may have a setting wrong or am missing something here but I'm trying to call the "artwork" batch progrm  C:\Cadence\SPB_16.6\tools\pcb\bin\artwork.exe in my code and I'm using the following lines

artworkLay = axlGetParam("artwork")->groupMembers

sprintf(artCmd "artwork -f %s" nth( 0 artworkLay))

axlRunBatchDBProgram("artwork" artCmd)

However running this results in Allegro bringing up a window with a progress bar and running indefinitely (it never ends, just keeps counting the time). I ran into this once before when I tried to run the dumb_libraries program that eDave suggested to me in another post (www.cadence.com/.../1336333.aspx. Same thing happens, the command appears to run but never finishes and nothing ever outputs. Is there a setting somewhere to point Allegro to those .exe files? My guess was that the program is hanging while it searches the computer for the .exe it needs. Any thoughts? I've tested the axlRunBatchDBProgram command with calling something simple like notepad and that works fine it's just the allegro ones that I can't seem to call.

 

-Will 

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

     You should use the 

          sprintf(artCmd "artwork -f %s %%s")

    This will use the current in-memory design.

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

     You should use the 

          sprintf(artCmd "artwork -f %s %%s")

    This will use the current in-memory design.

    • 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