• 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 Scripting - Skill
  3. Open command, axlOpenDesign

Stats

  • Replies 1
  • Subscribers 18
  • Views 8840
  • Members are here 0
More Content

Open command, axlOpenDesign

Cadencer
Cadencer over 4 years ago

Hi!

I have two troubles with Allegro Skill code.

First, how can I open a design to read mode?

I search the reference skill code, but that shows just write mode.

I want to know opening a design to read mode.

Second, if I use a command "open", how can I use a variable value?

For example,

axlShell("open example.brd")   -> This works well

But, 

a = example.brd

axlShell("open a") -> This does not work..Allegro tools warn "a.brd does not exist"

I want to use the variable value..

Thank you

Best regard!

  • Cancel
  • Sign in to reply
Parents
  • B Bruekers
    B Bruekers over 4 years ago

    Use this:

    a= "example.brd"

    axlOpenDesignForBatch(a "wf")

    Regarding the read-only, just open the design and don't save it.

    Also, be aware with axlShell() commands. It can result in strange issues with your own skill code. Interactive commands will cancel/done any running function, even your code.

    So, use axlShell() commands only when you are sure there is no other way to accomplish a task.

    • Cancel
    • Vote Up 0 Vote Down
    • Sign in to reply
    • Cancel
Reply
  • B Bruekers
    B Bruekers over 4 years ago

    Use this:

    a= "example.brd"

    axlOpenDesignForBatch(a "wf")

    Regarding the read-only, just open the design and don't save it.

    Also, be aware with axlShell() commands. It can result in strange issues with your own skill code. Interactive commands will cancel/done any running function, even your code.

    So, use axlShell() commands only when you are sure there is no other way to accomplish a task.

    • 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