找回密码
 注册

QQ登录

只需一步,快速开始

扫一扫,访问微社区

巢课
电巢直播8月计划
查看: 1340|回复: 0
打印 上一主题 下一主题

film 文件清除

[复制链接]

18

主题

359

帖子

2046

积分

四级会员(40)

Rank: 4Rank: 4Rank: 4Rank: 4

积分
2046
跳转到指定楼层
1#
发表于 2011-6-24 17:14 | 只看该作者 回帖奖励 |倒序浏览 |阅读模式

EDA365欢迎您!

您需要 登录 才可以下载或查看,没有帐号?注册

x
我写了一个简单的skill加载film底片的!
但是重复加载时,比如我要从8层板改到6层的话就不行了,有没有什么办法,将原有的film里面的内容清除,在导入新的!代码如下:请版主帮忙修改一下!
axlCmdRegister("adgb" 'add_gb ?cmdType "general")
procedure( add_gb(  )
    axlLayerCreateNonConductor("REF DES/LOGO_TOP")
    axlLayerCreateNonConductor("REF DES/LOGO_BOT")
    (axlfcreate "BOTTOM" '(0 0 0 1000 25400 1 0 0 0 0 0 1 1)
'("VIA CLASS/BOTTOM" "PIN/BOTTOM" "ETCH/BOTTOM" "BOARD GEOMETRY/OUTLINE" ))
(axlfcreate "SIGNAL2" '(0 0 0 1000 25400 1 0 0 0 0 0 1 1)
'("VIA CLASS/SIGNAL2" "PIN/SIGNAL2" "ETCH/SIGNAL2" "BOARD GEOMETRY/OUTLINE" ))
(axlfcreate "SIGNAL3" '(0 0 0 1000 25400 1 0 0 0 0 0 1 1)
'("VIA CLASS/SIGNAL3" "PIN/SIGNAL3" "ETCH/SIGNAL3" "BOARD GEOMETRY/OUTLINE" ))
(axlfcreate "SIGNAL4" '(0 0 0 1000 25400 1 0 0 0 0 0 1 1)
'("VIA CLASS/SIGNAL4" "PIN/SIGNAL4" "ETCH/SIGNAL4" "BOARD GEOMETRY/OUTLINE" ))
(axlfcreate "SIGNAL5" '(0 0 0 1000 25400 1 0 0 0 0 0 1 1)
'("VIA CLASS/SIGNAL5" "PIN/SIGNAL5" "ETCH/SIGNAL5" "BOARD GEOMETRY/OUTLINE" ))
(axlfcreate "SIGNAL6" '(0 0 0 1000 25400 1 0 0 0 0 0 1 1)
'("VIA CLASS/SIGNAL6" "PIN/SIGNAL6" "ETCH/SIGNAL6" "BOARD GEOMETRY/OUTLINE" ))
(axlfcreate "SIGNAL7" '(0 0 0 1000 25400 1 0 0 0 0 0 1 1)
'("VIA CLASS/SIGNAL7" "PIN/SIGNAL7" "ETCH/SIGNAL7" "BOARD GEOMETRY/OUTLINE" ))
(axlfcreate "SIGNAL8" '(0 0 0 1000 25400 1 0 0 0 0 0 1 1)
'("VIA CLASS/SIGNAL8" "PIN/SIGNAL8" "ETCH/SIGNAL8" "DRC ERROR CLASS/SIGNAL8" "BOARD GEOMETRY/OUTLINE" ))
(axlfcreate "SIGNAL9" '(0 0 0 1000 25400 1 0 0 0 0 0 1 1)
'("VIA CLASS/SIGNAL9" "PIN/SIGNAL9" "ETCH/SIGNAL9" "DRC ERROR CLASS/SIGNAL9" "BOARD GEOMETRY/OUTLINE" ))
(axlfcreate "TOP" '(0 0 0 1000 25400 1 0 0 0 0 0 1 1)
'("VIA CLASS/TOP" "PIN/TOP" "ETCH/TOP" "BOARD GEOMETRY/OUTLINE" ))
(axlfcreate "drill-1-2" '(0 0 0 1000 25400 1 0 0 0 0 0 1 1)
'("MANUFACTURING/NCDRILL_LEGEND" "MANUFACTURING/NCDRILL_FIGURE" "MANUFACTURING/NCLEGEND-1-2" "BOARD GEOMETRY/OUTLINE" "BOARD GEOMETRY/DIMENSION" ))
(axlfcreate "drill-1-3" '(0 0 0 1000 25400 1 0 0 0 0 0 1 1)
'("MANUFACTURING/NCDRILL_LEGEND" "MANUFACTURING/NCDRILL_FIGURE" "MANUFACTURING/NCLEGEND-1-3" "BOARD GEOMETRY/OUTLINE" "BOARD GEOMETRY/DIMENSION" ))
(axlfcreate "drill-1-4" '(0 0 0 1000 25400 1 0 0 0 0 0 1 1)
'("MANUFACTURING/NCDRILL_LEGEND" "MANUFACTURING/NCDRILL_FIGURE" "MANUFACTURING/NCLEGEND-1-4" "BOARD GEOMETRY/OUTLINE" "BOARD GEOMETRY/DIMENSION" ))
(axlfcreate "drill-1-8" '(0 0 0 1000 25400 1 0 0 0 0 0 1 1)
'("MANUFACTURING/NCDRILL_LEGEND" "MANUFACTURING/NCDRILL_FIGURE" "MANUFACTURING/NCLEGEND-1-8" "BOARD GEOMETRY/OUTLINE" "BOARD GEOMETRY/DIMENSION" ))
(axlfcreate "drill-2-3" '(0 0 0 1000 25400 1 0 0 0 0 0 1 1)
'("MANUFACTURING/NCDRILL_LEGEND" "MANUFACTURING/NCDRILL_FIGURE" "MANUFACTURING/NCLEGEND-2-3" "BOARD GEOMETRY/OUTLINE" "BOARD GEOMETRY/DIMENSION" ))
(axlfcreate "drill-2-4" '(0 0 0 1000 25400 1 0 0 0 0 0 1 1)
'("MANUFACTURING/NCDRILL_LEGEND" "MANUFACTURING/NCDRILL_FIGURE" "MANUFACTURING/NCLEGEND-2-4" "BOARD GEOMETRY/OUTLINE" "BOARD GEOMETRY/DIMENSION" ))
(axlfcreate "drill-3-4" '(0 0 0 1000 25400 1 0 0 0 0 0 1 1)
'("MANUFACTURING/NCDRILL_LEGEND" "MANUFACTURING/NCDRILL_FIGURE" "MANUFACTURING/NCLEGEND-3-4" "BOARD GEOMETRY/OUTLINE" "BOARD GEOMETRY/DIMENSION" ))
(axlfcreate "drill-4-7" '(0 0 0 1000 25400 1 0 0 0 0 0 1 1)
'("MANUFACTURING/NCDRILL_LEGEND" "MANUFACTURING/NCDRILL_FIGURE" "MANUFACTURING/NCLEGEND-4-7" "BOARD GEOMETRY/OUTLINE" "BOARD GEOMETRY/DIMENSION" ))
(axlfcreate "drill-7-10" '(0 0 0 1000 25400 1 0 0 0 0 0 1 1)
'("MANUFACTURING/NCDRILL_LEGEND" "MANUFACTURING/NCDRILL_FIGURE" "MANUFACTURING/NCLEGEND-7-10" "BOARD GEOMETRY/OUTLINE" "BOARD GEOMETRY/DIMENSION" ))
(axlfcreate "drill-7-8" '(0 0 0 1000 25400 1 0 0 0 0 0 1 1)
'("MANUFACTURING/NCDRILL_LEGEND" "MANUFACTURING/NCDRILL_FIGURE" "MANUFACTURING/NCLEGEND-7-8" "BOARD GEOMETRY/OUTLINE" "BOARD GEOMETRY/DIMENSION" ))
(axlfcreate "drill-7-9" '(0 0 0 1000 25400 1 0 0 0 0 0 1 1)
'("MANUFACTURING/NCDRILL_LEGEND" "MANUFACTURING/NCDRILL_FIGURE" "MANUFACTURING/NCLEGEND-7-9" "BOARD GEOMETRY/OUTLINE" "BOARD GEOMETRY/DIMENSION" ))
(axlfcreate "drill-8-10" '(0 0 0 1000 25400 1 0 0 0 0 0 1 1)
'("MANUFACTURING/NCDRILL_LEGEND" "MANUFACTURING/NCDRILL_FIGURE" "MANUFACTURING/NCLEGEND-8-10" "BOARD GEOMETRY/OUTLINE" "BOARD GEOMETRY/DIMENSION" ))
(axlfcreate "drill-8-9" '(0 0 0 1000 25400 1 0 0 0 0 0 1 1)
'("MANUFACTURING/NCDRILL_LEGEND" "MANUFACTURING/NCDRILL_FIGURE" "MANUFACTURING/NCLEGEND-8-9" "BOARD GEOMETRY/OUTLINE" "BOARD GEOMETRY/DIMENSION" ))
(axlfcreate "drill-9-10" '(0 0 0 1000 25400 1 0 0 0 0 0 1 1)
'("MANUFACTURING/NCDRILL_LEGEND" "MANUFACTURING/NCDRILL_FIGURE" "MANUFACTURING/NCLEGEND-9-10" "BOARD GEOMETRY/OUTLINE" "BOARD GEOMETRY/DIMENSION" ))
(axlfcreate "mask-bottom" '(0 0 0 1000 25400 1 0 0 0 0 0 1 1)
'("VIA CLASS/SOLDERMASK_BOTTOM" "PIN/SOLDERMASK_BOTTOM" "PACKAGE GEOMETRY/SOLDERMASK_BOTTOM" "BOARD GEOMETRY/OUTLINE" "BOARD GEOMETRY/SOLDERMASK_BOTTOM" ))
(axlfcreate "mask-top" '(0 0 0 1000 25400 1 0 0 0 0 0 1 1)
'("VIA CLASS/SOLDERMASK_TOP" "PIN/SOLDERMASK_TOP" "PACKAGE GEOMETRY/SOLDERMASK_TOP" "BOARD GEOMETRY/OUTLINE" "BOARD GEOMETRY/SOLDERMASK_TOP" ))
(axlfcreate "outline" '(0 0 0 1000 25400 1 0 0 0 0 0 1 1)
'("BOARD GEOMETRY/OUTLINE" ))
(axlfcreate "paste-bottom" '(0 0 0 1000 25400 1 0 0 0 0 0 1 1)
'("VIA CLASS/PASTEMASK_BOTTOM" "PIN/PASTEMASK_BOTTOM" "PACKAGE GEOMETRY/PASTEMASK_BOTTOM" "BOARD GEOMETRY/OUTLINE" ))
(axlfcreate "paste-top" '(0 0 0 1000 25400 1 0 0 0 0 0 1 1)
'("VIA CLASS/PASTEMASK_TOP" "PIN/PASTEMASK_TOP" "PACKAGE GEOMETRY/PASTEMASK_TOP" "BOARD GEOMETRY/OUTLINE" ))
(axlfcreate "silk-bot" '(0 0 0 1000 25400 1 0 0 0 0 0 1 1)
'("PACKAGE GEOMETRY/SILKSCREEN_BOTTOM" "BOARD GEOMETRY/OUTLINE" "BOARD GEOMETRY/SILKSCREEN_BOTTOM" ))
(axlfcreate "silk-top" '(0 0 0 1000 25400 1 0 0 0 0 0 1 1)
'("PACKAGE GEOMETRY/SILKSCREEN_TOP" "BOARD GEOMETRY/OUTLINE" "BOARD GEOMETRY/SILKSCREEN_TOP" ))
(axlfcreate "drill-1-10" '(0 0 0 1000 25400 1 0 0 0 0 0 1 1)
'("MANUFACTURING/NCDRILL_LEGEND" "MANUFACTURING/NCDRILL_FIGURE" "MANUFACTURING/NCLEGEND-1-10" "BOARD GEOMETRY/OUTLINE" "BOARD GEOMETRY/DIMENSION" ))
分享到:  QQ好友和群QQ好友和群 QQ空间QQ空间 腾讯微博腾讯微博 腾讯朋友腾讯朋友 微信微信
收藏收藏 支持!支持! 反对!反对!
您需要登录后才可以回帖 登录 | 注册

本版积分规则

关闭

推荐内容上一条 /1 下一条

巢课

技术风云榜

关于我们|手机版|EDA365 ( 粤ICP备18020198号 )

GMT+8, 2024-11-15 13:00 , Processed in 0.055895 second(s), 33 queries , Gzip On.

深圳市墨知创新科技有限公司

地址:深圳市南山区科技生态园2栋A座805 电话:19926409050

快速回复 返回顶部 返回列表