Filehost.ro - gazduire fisiere
lisp2arx
Visual Programming for AutoLisp Mathématiques en programmation Lisp.. doc2cpp,doc2lsp, sld2lsp, bmp2dcl, free__GifCcapture for all-CAD'platforms..
Nou pe simpatie:
Lolo
Femeie
24 ani
Galati
cauta Barbat
25 - 52 ani
lisp2arxReguliInregistrareLoginPozeNu sunteti logat. Lista Forumurilor Pe Tematici
lisp2arx / Listof AutoLisp.100 /

vla-AutoLispR4-Cnvert PickSet to List or Ssget"X" fast mode

Pagini: 1 Moderat de zauchan
#1
admin
Administrator
Din: Bucharest
Postari: 523
Ticks=tldr use (cons 410 (getvar 'ctab)) with your ssget to limit your selection set.


The only chance currently, to get around this problem, is to also check the 410 dxf group cde and compare with current layout;
when using (ssget), the filter list should also contain (list 410 (getvar "CTAB") to prevent selecting entities from other layouts.

Code:

s1p=ssget("");
        s1l=vl.remove_if(quote(listp),mapcar(quote(cadr),ssnamex(s1p)));

But even Acad has a very strange problem here - unfortunately, that (similar) issue comes very rarely, but as verified with other developers, some mysterious problems are caused by that similar issue in Acad as well.

Code:

(setq s1p (ssget "_P" (list (cons 8 "pattern_1")))
     s1l (vl-remove-if (quote listp) (mapcar (quote cadr) (ssnamex s1p))))



vla-AutoLispR4-Cnvert PickSet to List or Ssget"X" fast mode - Ticks=tldr use (cons 410 - Listof AutoLisp.100
vla-AutoLispR4-Cnvert PickSet to List or Ssget"X" fast mode – poza de admin, in Listof AutoLisp.100 · 30.7KB


_______________________________________
http://www.puiubrat.3x.ro/lisp2arx/lisp ... O2UTM2.pdf

 
   
Pagini: 1  
Mergi la