只需一步,快速开始
使用道具 举报
Set Acad = ThisDrawing.Application On Error Resume Next Set VL = Acad.GetInterfaceObject("VL.Application.1") Set VL = Acad.GetInterfaceObject("VL.Application.16") Set VL = Acad.GetInterfaceObject("VL.Application.17") Set VL = Acad.GetInterfaceObject("VL.Application.18") Set Acad = ThisDrawing.Application On Error Resume Next Set VL = Acad.GetInterfaceObject("VL.Application.1") Set VL = Acad.GetInterfaceObject("VL.Application.16") Set VL = Acad.GetInterfaceObject("VL.Application.17") Set VL = Acad.GetInterfaceObject("VL.Application.18") 如果这样也不行,就奇怪了,那你就用sendcommand的方式吧 程序的开头不用改了,你就通过变量的方式传到CAD中,然后SendCommand 把那选择的两行改成: (not (setq e (handent (getvar "users1")))) (not (setq e (handent (getvar "users1")))) 这样也许简单些
本版积分规则 发表回复 回帖后跳转到最后一页
小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 ) ©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途
GMT+8, 2025-6-10 13:18 , Processed in 0.221629 second(s), 19 queries , Gzip On.
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.