Lt Dan's l 发表于 2022-7-6 10:33:15

减去距离

我不知道该怎么解决这个问题。一旦我设定了距离,我该如何从中减去?8“典型

Michaels 发表于 2022-7-6 10:50:44

你的意思是说这条线已经做好了,你想从这条线上剪下8英寸?
 
谢谢

Lt Dan's l 发表于 2022-7-6 11:01:15

这是正确的
 
(defun c:example (/)
(setq di (getdist))
(setq disub (- di ...;;however it needs to be worded

jammie 发表于 2022-7-6 11:12:11

CVUNIT功能有帮助吗?有关信息,请查看AutoCAD developers帮助文件

Tharwat 发表于 2022-7-6 11:16:23

查看此链接,Alanjt的帖子#7就是您要找的。
 
http://www.cadtutor.net/forum/showthread.php?50762-强制命令行或PLine按英寸单位跳转。
 
当做
 
塔瓦特

Lee Mac 发表于 2022-7-6 11:28:00

我不确定我是否完全理解你关于措辞的问题?

Lt Dan's l 发表于 2022-7-6 11:38:25

对不起,我不知道为什么早些时候它不起作用。我必须检查一下工作中的打字错误
 
我想要的
(defun c:example (/ di disub)
(setq di (getdist "\nSpecify distance: "))
(setq disub (- di )
(alert (strcat "Outside dimension = " (rtos di 4) ". Inside dimension = " (rtos disub 4) "."))
(princ)
)
页: [1]
查看完整版本: 减去距离