This is a small piece of my SKILL script. It simply replays an Allegro script
axlCmdRegister("mcadsoldermask" 'MCADsoldermask ?cmdType "interactive" )
axlShell( "replay ./ReplacePadstack.scr" )
Below is the Allegro script that is called
version 17.2setwindow pcbtrapsize 3095replace padstacksetwindow form.miniFORM mini oldname NPIN1929FORM mini newname NPIN1929_SMASKFORM mini replacesetwindow pcbprepopup rel 0.0000 0.0000done
When I run the script in the SKILL interpreter window, it works fine. Replace Padstack updates the padstacks.
When I run the script from the Allegro Command Line, it fails.
It executes the Replace Padstack command fine
When it calls "FORM mini oldname NPIN1929" I get the error message "Form field label not found"
Can anyone please help me?
try to use axlreplacepadstack
You could try changing ?cmdType from "interactive" to "general".Jim O'Mahony
Thanks Jim, That's it!
I'm a SKILL newbie. I read the documentation for axlCmdRegister and am confused about interactive vs. general usage.
Could you please explain for me?
The ?cmdType "interactive" is usually better for programs that expect input from the user. Most other cases
work better with ?cmdType "general".