Author Topic: [XDrX-Function(12)] Supports direct penetration of Layout and Filtered nentsel  (Read 356 times)

0 Members and 1 Guest are viewing this topic.

xdcad

  • Swamp Rat
  • Posts: 527
Enhance the nentsel function function of AUTOLISP and ARX

Supporting direct penetration of layout, it will be much more convenient to write programs in paper space, avoiding the interactive process of requiring users to activate MS space.

Code - Auto/Visual Lisp: [Select]
  1. (xdrx-nentselex [prompt string] [filter list])

1. In the layout space, directly penetrate LAYOUT to select objects without activating LAYOUT.
2. Support filter list (Like ssget)

When an object that is not required for filtering is selected, the following message appears:
*** No eligible entities were picked up, try again!

Code - Auto/Visual Lisp: [Select]
  1. Command: (xdrx-nentselex "\nfaf" '((0 . "attrib")))
  2. faf
  3. *** No eligible entities were picked up, try again!
  4. faf(<Entity name: 2788d1055b0> (54.3711 143.466 0.0) ((1.0 0.0 0.0 0.0) (0.0 1.0 0.0 0.0) (0.0 0.0 1.0 0.0) (0.0 0.0 0.0 1.0)) (<Entity name: 278d09d2770>))
  5.  

« Last Edit: December 09, 2023, 02:15:14 PM by xdcad »
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