@Anonymous wrote:
Yes you are right somewhat.
Now it is working when i type in command window as RUN change-via-by-stack 1 16 <drill_size_in_mm> <pad_size_in_mm> ROUND <press enter> But again one thing. Drill gets change but diameter not. Diameter sets as Auto. Why this is so?
Also it works only for once ; i tried this on command line again and again but it runs for single time only.
I have tried this and and it would seem that there is some "stored state" between invocations of this command. I've just run it several times on a test board with a via using various settings and also changing it manually back to auto at several times, running without the pad diameter specified etc and it picks up the value set from the last time a value was specified. To me this ULP seems way too buggy to be usable.
So in the absence of this ULP being fixed then you can revert to the solution I gave you above. So from the command line:
DISPLAY NONE VIA <press enter>
GROUP <press enter> <drag selection rectangle around all the vias>
CHANGE DRILL <drill_size> <press enter> <hold ctrl and right click the mouse>
CHANGE DIAMETER <pad_size> <press enter> <hold ctrl and right click the mouse>
DISPLAY LAST <press enter>
This works ok if you only have one type of via on the board, if you had a more complex layer setup or lots of different sized vias it would become more complex.
@Anonymous wrote:
Some ULP's are not working from File - RUN ULP like this one as an example.
Some ULP require extra information passing to them so require calling from the command line. This is not a problem with the ULP. Yes they could have a GUI added to them to enable information to be passed but in many cases adding a GUI adds no benefit in terms of increased productivity.
Best Regards,
Rachael