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?
axlShell("open example.brd") -> This works well
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..
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.