Author Topic: [XDrX-PlugIn(150)] Zoom to the extents of selected objects.  (Read 161 times)

0 Members and 1 Guest are viewing this topic.

xdcad

  • Swamp Rat
  • Posts: 505
[XDrX-PlugIn(150)] Zoom to the extents of selected objects.
« on: April 18, 2024, 08:38:33 AM »
Code: [Select]
(defun c:xdtb_qzoom (/ ss)
  (if (setq ss (xdrx-ssget
(xdrx-string-multilanguage
   "\n选择要zoom的对象<退出>:"
   "\nSelect the object to zoom <Exit>:"
)
       )
      )
    (xdrx-document-zoomentities ss 0.95)
  )
  (princ)
)
The code I wrote uses XDRX-API,which can be downloaded from github.com and is updated at any time.
===================================
https://github.com/xdcad
https://sourceforge.net/projects/xdrx-api-zip/
http://bbs.xdcad.net