• 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. Changing the artwork output dir

Stats

  • Replies 7
  • Subscribers 161
  • Views 16652
  • Members are here 0
More Content

Changing the artwork output dir

Adamsen
Adamsen over 13 years ago

I want to write artworks to a design dependent output directory.

I have a script to create artworks,  

olddir = "output"
outdir = "output/123456-ND-A"
axlSetVariable("ads_sdart" outdir)  ; set working directory to output directory
 sprintf(script
 "scriptmode +i +n +w +c\n
 setwindow pcb\n
 artwork\n
 setwindow form.film_control\n
 FORM film_control select_all\n

 FORM film_control database_check YES\n
 FORM film_control create\n
 setwindow form.film_control\n
 FORM film_control ok\n
 setwindow pcb\n ")  ;end sprintf
 
 COD_replay_script(script)

 axlSetVariable("ads_sdart" olddir)  ;  

If I set "ads_sdart" using setup user preferences, it works fine. If I use this script, the artworks is generated in "output" and art_param.txt is generated in "output/123456-ND-A". That does not make any sense to me. Any surgestions?

Alternatively I could move the files afterwards, but that requires much more unessesary coding.

  • Sign in to reply
  • Cancel
Parents
  • wilef
    wilef over 12 years ago
    I have the same issue.  Did a hotfix update this issue?
    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • wilef
    wilef over 12 years ago
    I have the same issue.  Did a hotfix update this issue?
    • 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