谢谢李,
你的想法更简洁。
我在想这样的事情:
- (setq [color=red]litos[/color] ([color=blue]list [/color][color=magenta]"_end,_mid,_cen,_nod[/color][color=magenta]"[/color])) ; [color=red]has a variable content[/color]
- (setq llitos (length litos) i -1 op nil) ;_ end of setq
- (while (< (setq i (1+ i)) llitos)
- (setq el (nth i litos)) ;_ end of setq
- (if (setq op (osnap p el)) (setq i llitos)) ;_ end of if
- ) ;_ end of wh <
但是当litos列表呈现出这种形式时,我无法获得ENDP,
或者,如果列表中有直线、象限和圆心,则无法获得圆心等的OSMODE。
本主题是以下内容的继续:
http://www.cadtutor.net/forum/showthread.php?77110-vla移动和OSMODE问题。
因为我必须重新发明OSMODE标志。
如何将字符串显示为鼠标光标附近的注释(例如OSMODE值)? |