Author Topic: How to Filter an entsel?  (Read 7505 times)

0 Members and 1 Guest are viewing this topic.

csgoh

  • Newt
  • Posts: 176
Re: How to Filter an entsel?
« Reply #15 on: June 24, 2006, 04:29:51 AM »
Can a initget be added to the code as posted by CAB
Code: [Select]
(initget "Layer Property") ;added for keywords
(prompt "\nLayer / Continue / <select a polyline>")
(setq ss (ssget "_+.:E:S" '((0 . "LWPOLYLINE,POLYLINE"))))
(and ss (setq sel (ssname ss 0)))
[/code


Does any word that start with L a forbidden keyword as this will return the last entity in the dwg?