AutoCAD Electrical Forum
Welcome to Autodesk’s AutoCAD Electrical Forums. Share your knowledge, ask questions, and explore popular AutoCAD Electrical topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Wht is wrong with ....... (setq ssWire (ssget "X" '((0 . "LWPOLYLINE"))))

1 REPLY 1
Reply
Message 1 of 2
M.Red
275 Views, 1 Reply

Wht is wrong with ....... (setq ssWire (ssget "X" '((0 . "LWPOLYLINE"))))

This returs a 'selection set', but I do not seem to be able to get to it (individual polylines).

1 REPLY 1
Message 2 of 2
dgorsman
in reply to: M.Red

A selection set is a collection (small c, not the same as a Collection object) of entities.  You need to use the (ssname ... ) LISP function to get the individual entities, by index number.

----------------------------------
If you are going to fly by the seat of your pants, expect friction burns.
"I don't know" is the beginning of knowledge, not the end.


Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost