|
EDA365欢迎您登录!
您需要 登录 才可以下载或查看,没有帐号?注册
x
allegro本身的CHANGE只能针对同一CLASS有效,当然可以使用skill实现,不过下面介绍一个通用的方法:! c0 s2 r6 m5 z- C7 M4 O2 n0 ?
1.将需要改变层面的line,利用sub-drawing导出来,比如,导出的文件为1.clp.) T m& }" f5 g6 |, K: p
2.使用写字板或者其它文字编辑工具打开1.clp,如下:找到蓝色部分(表示层面),改为你需要的变更到的层面,注意格式为CLASS/SUBCLASS.然后保存,如果有多个,可以使用替换,然后保存。& y$ P) Z/ Z7 b/ f; l8 y
: R# F" \; e& o3 S
_clp_path = (_clpPathStart (list (_clpAdjustPt 2874.02:1143.06 _clp_cinfo))* b0 u+ |5 c( W7 w9 ?4 [5 L/ X
(_clpMKSConvert 0.000000 _clp_cinfo->t_from_units _clp_cinfo->t_to_units))% y) z" q$ J9 t8 U
_clp_path = (_clpPathLine _clp_path (_clpMKSConvert 0.000000 _clp_cinfo->t_from_units
+ K* r* |: y+ X9 l' {/ v" f. _ _clp_cinfo->t_to_units) (_clpAdjustPt 1397.64:1143.06 _clp_cinfo))8 P6 O+ @! N6 G. O% _
_clpPl = list(
$ e" b* F: r! m/ G% u+ U list("CLIP_DRAWING" _clp_clip_prop_value))
: B3 J6 p8 r c- V5 e_clp_dbid = _clpDBCreatePath(_clp_path "PACKAGE GEOMETRY/ASSEMBLY_TOP" 'line _clp_sym _clpPl). a& A7 d* E. }* }
_clpPl = nil
( ~: i; Q7 m1 I/ Y
5 T$ e7 M9 R a3.然后再导入sub-drawing,删除原来层面的线就可以了。 |
评分
-
查看全部评分
|