• 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. Allegro -> Design Workflow - workspace - custom-menu ->...

Stats

  • Replies 2
  • Subscribers 161
  • Views 2458
  • Members are here 0
More Content

Allegro -> Design Workflow - workspace - custom-menu -> system command

rs ms aricent
rs ms aricent over 5 years ago

Hi,

currently looking at creating new workflow items in custom workspace 

would like to be able to call out windows system variables and or allegro enviroment variables with the "system" command in conjunction

help desc

system
The system command executes the operating-system command you have specified. The system command supports the redirection and wildcard notation of the host operating system.
Syntax
system <OS command>
Example
system mv abc.brd /home/usr/brddir

------------------------------

currently I have to use a .BAT file to do that 

-->

<task name="edit env" command="system 'notepad %HOME%\pcbenv\env'"></task>
<task name="test env .bat" command="system 'C:\tmp\test_env.bat'"></task>

bat file example

notepad %HOME%/pcbenv/env

once I figure it out,  there are many things that could be put in the design workflow - workspace  menu

if you have other wrapper cgywin, etc. please post.

note:  looks like a lot easier to change workspaces - menus ,  then edit custom skill code driven menu system :-)

appreciate any tips/tricks/examples      :-)  Robert

  • Sign in to reply
  • Cancel
Parents
  • EvanShultz
    EvanShultz over 5 years ago

    axlGetVariable() and axlGetVariableList() will get Allegro and system variables. Does that help?

    I would also like to call the OS shell, for example to run PowerShell commands, from within Allegro but I don't know how to do it. Any tips?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • EvanShultz
    EvanShultz over 5 years ago

    axlGetVariable() and axlGetVariableList() will get Allegro and system variables. Does that help?

    I would also like to call the OS shell, for example to run PowerShell commands, from within Allegro but I don't know how to do it. Any tips?

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Children
  • DavidJHutchins
    DavidJHutchins over 5 years ago in reply to EvanShultz

    I have been using the skill system() call to run compression programs on specific output files for years, can you try something like:

    Command >  skill system("powershell")

    • 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