I have learnt Skill language for about 1month. Because some accidental courses, I need to change a lot of padstacks' hole tolerance.
I tried using loadPadStack("padname") to get dbid of target padstack, but I couldn't found any properties about hole tolerance.
Can someone kindly help me solve this question?
Thanks and Sincerely,
I too now have a need to do this ie. change alot of padstacks' hole tolerances.
Searching thru the archives yields a few hits, saying you can't GET hole tolerance programmatically. Is this still true? Are there any "private" functions that can get the tolerance info?
Searching thru the15.5 Skill Reference Guide on Sourcelink shows you can SET hole tolerance programmatically by using make_axlPadStackPad So it seems I'll need something along the lines of
[pre]axlPurgePadstacks( 'padstacks nil)foreach( padstack_db axlDBGetDesign()->padstacks nname = padstack_db->name
holeplating = axlDBGetDrillPlating( nname)
Anyone have a copy of something like this that works that they'd care to share?
local Cadence guru
One way (maybe the only way) is to use extracta.
These are fields I use in one utility that needs the tolerances:
COMPOSITE_PAD DRILL_HOLE_NAME != "" PAD_STACK_NAME DRILL_HOLE_TYPE DRILL_HOLE_NAME DRILL_HOLE_NAME2 DRILL_HOLE_NONSTANDARD DRILL_HOLE_PLATING DRILL_HOLE_POSTOL DRILL_HOLE_NEGTOL DRILL_HOLE_X DRILL_HOLE_Y DRILL_ARRAY_LOCATIONS START_LAYER_NAME END_LAYER_NAME START_LAYER_NUMBER END_LAYER_NUMBER DRILL_FIGURE_CHAR DRILL_FIGURE_SHAPE DRILL_FIGURE_WIDTH DRILL_FIGURE_HEIGHT DRILL_FIGURE_ROTATION