Search the Community
Showing results for tags 'vanilla'.
-
Hello everyone. I have tried to select all entities in the current workspace based on the properties in the ent_list list (see an example below). I notice that the ent_list could contain several names of entities and/or other properties thereof. ;| ent_list example (((0 . "CIRCLE") (8 . "R_30m") (62 . 7) (410 . "Model")) ((0 . "MTEXT") (8 . "Pen_No__12") (62 . 3) (410 . "Model")) ((0 . "LWPOLYLINE") (8 . "Limits") (62 . 256) (410 . "Model")) ((0 . "LWPOLYLINE") (8 . "Pen_No__1") (62 . 5) (410 . "Model")) ((0 . "LINE") (8 . "Pen_No__7") (62 . 256) (410 . "Model")) ((0 . "ARC") (8 . "Pen_No__31") (62 . 256) (410 . "Model"))) |; ;;This returns nil: (setq S_LIGH (ssget "_X" (append (cons '(-4 . "<and") ent_list) (list '(-4 . "and>"))))) So I found a "bypass route" but I do not like the solution (see below). (setq SS_LST (mapcar (function (lambda (x) (ssget "_X" x))) ent_list)) ;| Returns: ( <Selection Set: ff8b7860> <Selection Set: ff8b7820> <Selection Set: ff8b7940> <Selection Set: ff8b79a0> <Selection Set: ff8b77e0> <Selection Set: ff8b79c0>) |; (setq S_LIGH (if (= (length SS_LST) 1) (car SS_LST) ;;https://www.cadtutor.net/forum/topic/39716-how-to-join-selection-sets/ ;; Selection Set Union - Lee Mac ;; Returns the union of a list of Selection Sets (LM:ss-union SS_LST) ;;Returns <Selection Set: ff8b7940> ) ) Another approach or idea? Thank you in advance.
-
what is the meaning of word "vanilla" used in threads
khoshravan posted a topic in AutoCAD Beginners' Area
I can't figure out the meaning of "vanilla" used in some threads in this forum. Does it mean my most favorable software? -
How do i run Vanilla AutoCAD from AutoCAD MEP 2011?
Jesse posted a topic in Autodesk Software General
How do i run Vanilla AutoCAD from AutoCAD MEP 2011? The "Right click on the AutoCAD MEP shortcut icon on your desktop and look for the 'Open File Location" does not work Thanks- 1 reply
-
- autocad mep
- autocad
-
(and 2 more)
Tagged with: