[求助]怎样得到一个选择集的最大外形?
各位高手,帮帮忙,怎样得到一个选择集的最大外形? <P>(defun C:zd ()<BR> (setq ABC (car (entsel "\nselect object"))<BR> VLAOB (vlax-ename->vla-object ABC)<BR> )<BR> (vla-getboundingbox VLAOB 'X 'Y)<BR> (setq B (mapcar 'vlax-safearray->list (list X Y)))<BR> (command "_.RECTANG" (car B) (cadr B))<BR>)<BR></P><P> </P>
页:
[1]