Author Topic: ssget filter wildcards  (Read 1560 times)

0 Members and 1 Guest are viewing this topic.

Peter Guappa

  • Guest
ssget filter wildcards
« on: September 18, 2013, 05:42:26 PM »
How can I use SSGET to get all lines on the layers that have "_MM" in the layername?

I'm not that familiar using (-4 . ">")........

Thx

Jeff_M

  • King Gator
  • Posts: 4100
  • C3D user & customizer
Re: ssget filter wildcards
« Reply #1 on: September 18, 2013, 06:40:47 PM »
No need to use the <AND AND> operators, they are implied when used like so:
(ssget "x" '((0 . "LINE")(8. "*_MM*")))

Tharwat

  • Swamp Rat
  • Posts: 712
  • Hypersensitive
Re: ssget filter wildcards
« Reply #2 on: September 19, 2013, 12:25:47 AM »
Jeff ,
A space is missing between the group code 8 and the point after it ( 8 . "*_MM*)  :-)

Jeff_M

  • King Gator
  • Posts: 4100
  • C3D user & customizer
Re: ssget filter wildcards
« Reply #3 on: September 19, 2013, 01:01:56 AM »
Good catch, Tharwat! Thanks!