axlCmdRegister("CreateFlash"'createFlash ?cmdType "interactive")
(defuncreateFlash ()
axlShell("setwindow pcb\n")
axlShell("add flash")
axlShell("setwindow form.thermflash")
axlShell("FORM thermflash indiam 40.0 ")
axlShell("FORM thermflash outdia 60.0 ")
axlShell("FORM thermflash spkwdth 10.0 ")
axlShell("FORM thermflash spknum 5 ")
axlShell("FORM thermflash done")
axlShell("Done")
)
E- Can't find window; form.thermflash
E- Form not found
but i use axlShell("replay ./script.scr") ,Not an error