Hello All. I have 72 shapes to manually assign with unnamed net(UNNAMED....) so I start to write a little skill routine. (in fact,it is the same problem with named shapes, it misses a pick feature in the shape assignment Allegro's feature.) I want it to allow me to click on a via or pin and then assign via/pin's net to the visible shape at via/pin's location the routine: axlCmdRegister( "aas" 'Auto_Assign_Shape ?cmdType "interactive") defun(Auto_Assign_Shape () axlSetFindFilter(?enabled '(noall pins vias) ?onButtons '(noall pins vias)) pin=car(axlGetSelSet(axlSingleSelectPoint())) X_Loc=car(pin->xy) Y_Loc=cadr(pin->xy) Script_File=outfile("aas.scr" "w") fprintf(Script_File "setwindow pcb\n\nshape select\n") fprintf(Script_File "pick %f %f\n" X_Loc Y_Loc) fprintf(Script_File "setwindow form.mini\nFORM mini dyns_netname %s\n" pin->net->name) fprintf(Script_File "setwindow pcb\n") fprintf(Script_File "done\n") close(Script_File) axlShell("replay aas.scr") ) but this returns an error: "E- Form field label not found" I guess it is the form field "dyns_netname" but it works via a script replay! I checked the dyns_shape in Allegro FORMPATH, the field name is OK What's wrong? Any solution would be appreciate. Thanks in advance. William PS I tried to do it through axlShell: axlShell("setwindow pcb") axlShell("shape select") axlShell("pick $xloc $yloc") ;I think I need to use the axlSetVariable (and then unset) to do it via axlShell, isn't it? No way with %f and %s to work with xy and netname? but I have a new problem: how to convert X_Loc to string or int to be able to export it with axlSetVariable? but even if I define xloc and yloc with test value like "2150.00" "1234.56", the axlShell("pick $xloc $yloc") does nothing in Allegro....(no error message, but no shape selection) Thanks for these tips... I am a poor SKILL novice beginner.... ----------------------------------------------------------- To subscribe/unsubscribe: Send a message to icu-pcb-forum-request@xxxxxxxxxxxxx with a subject of subscribe or unsubscribe To view the archives of this list please login at //www.freelists.org. Our list name is icu-pcb-forum or go to //www.freelists.org/archives/icu-pcb-forum/ Problems or Questions: Send an email to icu-pcb-forum-admins@xxxxxxxxxxxxx Want to post a job listing ? DON'T DO IT HERE! Better yet, join our jobs listing forum. SUBSCRIBE: icu-jobs-forum-subscribe@xxxxxxxxxx POST: icu-jobs-forum@xxxxxxxxxx -----------------------------------------------------------