+发表新主题
送分天使 发布于2006-12-21 19:05 236 次浏览 16 位用户参与讨论
跳转到指定楼层

自定义键盘命令
(本人根据CAXA小程序2006.12.17制作而成)
以下为cmd.ini文件内容:
;namezg制作2006/12/20
;暂不支持构件库和技术要求库
[config]
num=94
[command0]
comment=两点线
command=ldx
script=lpp;
[command1]
comment=角度线
command=jdx
script=la;
[command2]
comment=角等分线
command=jdfx
script=lia;
[command3]
comment=切线
command=qx
script=ltn;select:2,0;
[command4]
comment=法线
command=fx
script=ltn;select:2,1;
[command5]
comment=平行线
command=pxx
script=ll;
[command6]
comment=圆心半径
command=yxbj
script=ccr;select:2,0;
[command7]
comment=圆心直径
command=yxzj
script=ccr;select:2,1;
[command8]
comment=两点圆
command=ldy
script=cpp;
[command9]
comment=三点圆
command=sdy
script=cppp;
[command10]
comment=两点半径
command=ldbj
script=appr;
[command11]
comment=三点圆弧
command=sdyh
script=appp;
[command12]
comment=圆心起点圆心角
command=yxqdyxj
script=acsa;
[command13]
comment=两点半径圆弧
command=ldbjyh
script=appr;
[command14]
comment=圆心半径起终角
command=yxbjqzj
script=acra;
[command15]
comment=起终点圆心角
command=qzdyxj
script=asea;
[command16]
comment=起终点起终角
command=qzdqzj
script=asra;
[command17]
comment=样条曲线
command=ytqx
script=spline;
[command18]
comment=弧立点
command=gld
script=point;select:1,0;
[command19]
comment=等分点
command=dfd
script=point;select:1,1;
[command20]
comment=等弧长点
command=dhcd
script=point;select:1,2;
[command21]
comment=长短轴椭圆
command=cdz
script=ellipse;select:1,0;
[command22]
comment=两点椭圆
command=ldty
script=ellipse;select:1,1;
[command23]
comment=中心点起点椭圆
command=zxdqd
script=ellipse;select:1,2;
[command24]
comment=两点矩形
command=ldjx
script=rect;select:1,0;
[command25]
comment=长宽矩形
command=ckjx
script=rect;select:1,1;
[command26]
comment=外切多边形
command=wqdbx
script=polygon;select:1,0;select:3,0;
[command27]
comment=内接多边形
command=djdbx
script=polygon;select:1,0;select:3,1;
[command28]
comment=底边多边形
command=dbdbx
script=polygon;select:1,1;
[command29]
comment=中心线
command=zxx
script=centerl;
[command30]
comment=单等距线
command=ddjx
script=offset;select:1,0;
[command31]
comment=链等距线
command=ldjx
script=offset;select:1,1;
[command32]
comment=公式曲线
command=gsqx
script=fomul;
[command33]
comment=边界剖面线
command=bjpmx
script=hatch;select:1,0;
[command34]
comment=点剖面线
command=dpmx
script=hatch;select:1,1;
[command35]
comment=添充
command=tc
script=solid;
[command36]
comment=文字
command=wz
script=text;
[command37]
comment=0°轴
command=ldz
script=hole;select:1,0;set:3,0;
[command38]
comment=90°轴
command=jsdz
script=hole;select:1,0;set:3,90;
[command39]
comment=0°孔
command=ldk
script=hole;select:1,1;set:3,0;
[command40]
comment=90°孔
command=jsdk
script=hole;select:1,1;set:3,90;
[command41]
comment=删除
command=sc
script=del;
[command42]
comment=偏移平移
command=pypy
script=move;select:1,0;
[command43]
comment=两点平移
command=ldpy
script=move;select:1,1;
[command44]
comment=偏移复制
command=pyzf
script=move;select:1,0;
[command45]
comment=两点复制
command=ldfz
script=move;select:1,1;
[command46]
comment=复制镜像
command=fzjx
script=mirror;select:1,0;select:2,0;
[command47]
comment=普通镜像
command=ptjx
script=mirror;select:1,0;select:2,1;
[command48]
comment=角度旋转
command=jdxz
script=rotate;select:1,0;
[command49]
comment=起终点旋转
command=qzdxz
script=rotate;select:1,1;
[command50]
comment=圆形阵列
command=yxzl
script=array;select:1,0;
[command51]
comment=矩形阵列
command=jxzl
script=array;select:1,1;
[command52]
comment=比例缩放
command=blsf
script=scale;
[command53]
comment=快速裁剪
command=kscj
script=trim;select:1,0;
[command54]
comment=边界裁剪
command=bjcj
script=trim;select:1,1;
[command55]
comment=批量裁剪
command=plcj
script=trim;select:1,2;
[command56]
comment=圆角
command=yj
script=corner;select:1,0;
[command57]
comment=多圆角
command=dyj
script=corner;select:1,1;
[command58]
comment=倒角
command=dj
script=corner;select:1,2;
[command59]
comment=外倒角
command=wdj
script=corner;select:1,3;
[command60]
comment=内倒角
command=ndj
script=corner;select:1,4;
[command61]
comment=多倒角
command=ddj
script=corner;select:1,5;
[command62]
comment=尖角
command=jj
script=corner;select:1,6;
[command63]
comment=齐边
command=qb
script=edge;
[command64]
comment=单个拉伸
command=dgls
script=stretch;select:1,0;
[command65]
comment=偏移拉伸
command=pyls
script=stretch;select:1,1;select:2,0;
[command66]
comment=两点拉伸
command=ldls
script=stretch;select:1,1;select:2,1;
[command67]
comment=打断
command=dd
script=break;
[command68]
comment=打散
command=ds
script=explode;
[command69]
comment=改变线型
command=gbxx
script=mltype;
[command70]
comment=改变颜色
command=gbys
script=mcolor;
[command71]
comment=移动图层
command=ydtc
script=mlayer;select:1,0;
[command72]
comment=复制图层
command=fztc
script=mlayer;select:1,1;
[command73]
comment=标注编辑
command=bzbj
script=dimedit;
[command74]
comment=尺寸驱动
command=ccqd
script=drive;
[command75]
comment=格式刷
command=gss
script=match;select:1,0;
[command76]
comment=尺寸风格编辑
command=ccfgbj
script=match;select:1,1;
[command77]
comment=文本参数编辑
command=wbcsbj
script=match;select:1,2;
[command78]
comment=基本标注
command=jbbz
script=dim;select:1,0;
[command79]
comment=基准标注
command=jzbz
script=dim;select:1,1;
[command80]
comment=连续标注
command=lxbz
script=dim;select:1,2;
[command81]
comment=三点角度
command=sdjd
script=dim;select:1,3;
[command82]
comment=角度连续标注
command=jdlxbz
script=dim;select:1,4;
[command83]
comment=半标注
command=bbz
script=dim;select:1,5;
[command84]
comment=大圆弧标注
command=dyhbz
script=dim;select:1,6;
[command85]
comment=射线标注
command=sxbz
script=dim;select:1,7;
[command86]
comment=锥度标注
command=jdbz
script=dim;select:1,8;select:2,0;
[command87]
comment=斜度标注
command=xdbz
script=dim;select:1,8;select:2,1;
[command88]
comment=曲率半径标注
command=qlbjbz
script=dim;select:1,9;
[command89]
comment=消隐
command=xy
script=hide;select:1,0
[command90]
comment=取消消隐
command=qxxy
script=hide;select:1,1
[command91]
comment=粗牙内螺纹
command=nlw
script=sym;select:1,9;select:2,0;select:3,5;
[command92]
comment=粗牙外螺纹
command=wlw
script=sym;select:1,9;select:2,0;select:3,7;
[command93]
comment=圆角箭头
command=yjjt
script=arrow13;
;暂不支持如下格式
;script=conlib;select:1,5;select:2,13;

本帖子中包含更多资源

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

x
回复

使用道具 举报

已有16人评论

zlb_sh 发表于 2006-12-21 19:27:40
namezg,什么时候教教我怎么编写二次程序,呵呵
回复

使用道具 举报

jiffylee 发表于 2006-12-21 20:55:30
好像num=>9是不能用的,提示说未输入菜单名,请教这是怎么回事?
回复

使用道具 举报

送分天使 发表于 2006-12-22 08:23:37

上次发的有点小毛病,两点矩形与链等距线定义的命令重复了,而且上次发的是2005版的,2007版的移动层,复制层与2005版的不一样,故再次发一个修正版的,里面的命令全部测试通过。

以下为修正版文件(里面包含2005及2007版的两个cmd.ini文件)

本帖子中包含更多资源

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

x
回复

使用道具 举报

我心飞翔2008 发表于 2006-12-22 22:30:50
挺好,如何用呀
回复

使用道具 举报

wx2752465 发表于 2006-12-23 00:43:05
以下命令很好记忆的不用自定义的:
lpp     两点线
ll     平行线
la     角度线
lia     角等分线
上面命令中L-直线(Line) P-点(Point) A-角度(Angle) I- 完全相同的(Identically)
ccr     以圆心半径方式绘制圆
cpp     绘制两点圆
cppp     绘制三点圆
cppr     以两点半径的方式绘制圆
上面命令中C-圆(Circle)P-点(Point)R- 半径(Radius)
appp     绘制三点圆弧
acsa     通过圆心_起点_圆心角的方式绘制圆弧
appr     以两点_半径的方式绘制圆弧
acra     以圆心_半径_起终角的方式绘制圆弧
asea     以起点_终点_圆心角的方式绘制圆弧。
asra     以起点_半径_起终角的方式绘制圆弧。
上面命令中第一字线A-圆弧(Arc)P-点(Point)C-圆(Circle)的中心
S-开始(Start)R- 半径(Radius)E-结束(End)A-角度(angle)
回复

使用道具 举报

wqianglf 发表于 2006-12-23 08:18:25
请问您的软件如何用?能不能自己在上面修改扩充?
回复

使用道具 举报

送分天使 发表于 2006-12-23 11:22:54

以下命令很好记忆的不用自定义的:

上楼你没明白这个自定义的意义,这个是用于自定义工具栏的. 比如说自定义工具栏中可用这个增加一个角度线按钮,按此按钮即可执行角度线命令.

本帖子中包含更多资源

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

x
回复

使用道具 举报

songyz 发表于 2006-12-23 13:26:08
是个好软件哦,请问楼主怎么加载进去CAXA里面的呢,谢谢
回复

使用道具 举报

hg773 发表于 2006-12-23 20:07:08
太复杂了 目前不懂
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ| Archiver|手机版|小黑屋| 碧波制图网 Stonespider

Copyright © 2021-2023 Kangli Wu   All Rights Reserved.

Powered by Discuz! X3.5( 苏ICP备18011607号-1 )

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