摘要
由于AutoCAD只有Area查寻面积命令,没有重量查寻命令,不能自动计算零件重量。根据AutoLISP程序语言格式,创建求零件重量ZL自定义函数。打开AutoCAD源代码程序,将求重量ZL函数加载。二维平面的AutoCAD增加了一条计算零件重量ZL新命令,特别方便使用,不必用小计算器辅助求零件重量。
Since the fact that AutoCAD's merely Area's hunting is ordered, rather than the weight hunting order, it can not automatic calculation spare parts weight. On the basis of AutoLISP's program language standard, spare parts weight ZL's self-defining functions is requested in the creating, unfold AutoCAD's source order, and shall request weight ZL's function loading in it, so that two dimension plane AutoCAD added calculation spare parts weight new orders of ZL. It particularly convenient use, so need not employed the little electronic calculator requesting spare parts weight.
出处
《煤矿机械》
北大核心
2006年第3期446-447,共2页
Coal Mine Machinery