[求助]请教各位大侠两个问题
<P>请教各位大侠两个问题:</P><P>1:如何取得附图上的point的位置?</P>
<P>2:用command "-bolck"做块时,老是生成块后删除原所选对象,怎样才能使所选对象直接转换为图块。</P> <P>1.</P>
<P>(defun c:test()<BR> (setq en (car (entsel "\n选择一个圆")))<BR> (setq pc (cdr (assoc 10 (entget en))))<BR> (setq rd (cdr (assoc 40 (entget en)))) <BR> (setq pt (polar pc (/ pi 4) (+ rd 1)))<BR> (command "line" pc pt "")<BR>(prin1) <BR>) </P>
<P>2. 在插入基准点"插入"不就行了</P> <P>有关第二个问题:(command "block" .........)</P>
<P>(command "oops")加上这一条就可以了</P> <P>谢谢两位大侠</P>
<P> </P>
页:
[1]