只需一步,快速开始
发错了,应该是这个_$ (setq y (getpoint))(2943.69 286.239 0)_$ (vlax-curve-getDistAtPoint splineObj selpt)5.17769
为什么这样写就错了(setq y '(2943.69 286.239 0))(2943.69 286.239 0)命令: (vlax-curve-getDistAtPoint xd y)nil
难道这两个点有区别吗
使用道具 举报
点要在曲线上
(vlax-curve-getDistAtPoint xd (vlax-curve-getClosestPointTo xd y))
本版积分规则 发表回复 回帖后跳转到最后一页
小黑屋|手机版|CAD论坛|CAD教程|CAD下载|联系我们|关于明经|明经通道 ( 粤ICP备05003914号 ) ©2000-2023 明经通道 版权所有 本站代码,在未取得本站及作者授权的情况下,不得用于商业用途
GMT+8, 2024-5-12 15:54 , Processed in 0.159852 second(s), 25 queries , Gzip On.
Powered by Discuz! X3.4
Copyright © 2001-2021, Tencent Cloud.