TENGOMARK 发表于 2014-7-20 12:59:30

关于(command "-image".....)讨论与求助

(command "-image" "attach" "" "" 1 0 )使用循环语句后,能把所有的图片迅速贴到 (0 0)为插入点的CAD 环境界面中去,但是使用了以下变量后: (command "-image" "attach" word axi_point 1 0 ), 其中word 与 axi_point 随着循环语句运行,其参数变化,就出现了诸如以下的报警:
插入点:   (0.815454 2.98862)
输入字符 :   01.jpg; error: bad argument type: lentityp nil
Enter image file name to attach <02>:
后续手工干预就不能再进入循环进行了。
哪为高手能不能帮忙出出注意,到底怎样使用才能避免此问题?
页: [1]
查看完整版本: 关于(command "-image".....)讨论与求助