求助如何在CAD里分别点击两个数得它两个的乘积
<p>求助如何在CAD里分别点击两个数得它两个的乘积,急用,各位大侠帮帮忙啊</p> <p>(defun test()</p><p>(setq n1(atof(cdr(assoc 1 (entget(car(entsel "\n选数字1: ")))))))</p><p>(setq n2(atof(cdr(assoc 1 (entget(car(entsel "\n选数字2: ")))))))</p><p>(setq s(* n1 n2))</p><p>(princ s)(princ)</p><p>)</p><p></p>
页:
[1]