| 有人问检查出缺失以后,怎么添加呢? 给一段代码大家自己改下吧! /*下面是给器件添加REF的代码: if(car(n0->violations)->isMirrored then layer = "BOTTOM" else layer = "TOP" ) textstru = make_axlTextOrientation(?textBlock 1 ?mirrored car(n0->violations)->isMirrored ?justify "center") tt = setof(x0 axlDBGetAttachedText(car(n0->violations)) rexMatchp("REF DES/SILKSCREEN_+" x0->layer)) unless(tt axlDBCreateText(car(n0->violations)->refdes car(n0->violations)->xy textstru strcat("REF DES/SILKSCREEN_" layer) car(n0->violations)) ) tt = setof(x0 axlDBGetAttachedText(car(n0->violations)) rexMatchp("REF DES/ASSEMBLY_+" x0->layer)) unless(tt axlDBCreateText(car(n0->violations)->refdes car(n0->violations)->xy textstru strcat("REF DES/ASSEMBLY_" layer) car(n0->violations)) ) |
|
有人问检查出缺失以后,怎么添加呢? 给一段代码大家自己改下吧!, {- D5 n! {' G3 H: c4 I /*下面是给器件添加REF的代码:# c1 y) ]$ y! U* J2 |/ h if(car(n0->violations)->isMirrored then layer = "BOTTOM" else layer = "TOP") h! H5 L2 z7 s: z: I+ T )( {& N! e: a2 j9 u+ d' Q) W textstru = make_axlTextOrientation(?textBlock 1 ?mirrored car(n0->violations)->isMirrored ?justify "center") tt = setof(x0 axlDBGetAttachedText(car(n0->violations)) rexMatchp("REF DES/SILKSCREEN_+" x0->layer)): g/ ?) n w9 a" w# s# R8 F unless(tt axlDBCreateText(car(n0->violations)->refdes car(n0->violations)->xy textstru strcat("REF DES/SILKSCREEN_" layer) car(n0->violations)) ) tt = setof(x0 axlDBGetAttachedText(car(n0->violations)) rexMatchp("REF DES/ASSEMBLY_+" x0->layer)) unless(tt axlDBCreateText(car(n0->violations)->refdes car(n0->violations)->xy textstru strcat("REF DES/ASSEMBLY_" layer) car(n0->violations)): }) k9 Q6 i4 G& w' V) i( n# K7 q; \ ) |
学习一下![]() |
| 学习以下大佬的代码。 |
| 感谢分享 |
| 6666666666666666666 |
| 感谢大佬的分享 |
愤怒的米饭 发表于 2021-9-2 08:59
|
這侽孓譙悴丶 发表于 2021-8-1 18:33& o% a4 _ C; _0 Z8 N: P 大佬,allegro有没快速检查丝印摆放是否对应。0 U( T- p$ N# a; s4 g' e) z |
| 我来看看 说点啥呢 |
| 果然是好资料,感谢分享 |
|
学习一下! |
| 学习一下 |
/1
关于我们|手机版|EDA365电子论坛网 ( 粤ICP备18020198号-1 )
GMT+8, 2025-11-26 18:08 , Processed in 0.203125 second(s), 31 queries , Gzip On.
地址:深圳市南山区科技生态园2栋A座805 电话:19926409050