Welcome,
Guest
. Please
login
or
register
.
1 Hour
1 Day
1 Week
1 Month
Forever
Login with username, password and session length
News:
Home
Help
Login
Register
TheSwamp
»
CAD Forums
»
CAD General
»
Topic:
ssx selecting a layers wildcard except keyword
« previous
next »
Print
Pages: [
1
] |
Go Down
Author
Topic: ssx selecting a layers wildcard except keyword (Read 1611 times)
0 Members and 1 Guest are viewing this topic.
MSTG007
Gator
Posts: 2598
I can't remeber what I already asked! I need help!
ssx selecting a layers wildcard except keyword
«
on:
February 09, 2017, 10:54:20 AM »
Through SSX is there a way of selecting all layers that are within this (*C_*) and then Exclude layers with (*C_UTIL*)? I am trying to change the colors of these layers via a script, but did not want to try to use visretain if possible.
thanks guys
Logged
Civil3D 2020
ronjonp
Needs a day job
Posts: 7526
Re: ssx selecting a layers wildcard except keyword
«
Reply #1 on:
February 09, 2017, 12:25:25 PM »
Don't use 'SSX' but this should filter it for you:
Code - Auto/Visual Lisp:
[Select]
(
ssget
(
list
'
(
-
4
.
"<AND"
)
'
(
8
.
"*C_*"
)
'
(
8
.
"~*C_UTIL*"
)
'
(
-
4
.
"AND>"
)
)
)
Logged
Windows 11 x64 - AutoCAD /C3D 2023
Custom Build PC
MSTG007
Gator
Posts: 2598
I can't remeber what I already asked! I need help!
Re: ssx selecting a layers wildcard except keyword
«
Reply #2 on:
February 09, 2017, 02:17:43 PM »
That's a cool way to filter layers out. Thanks Ron!
Logged
Civil3D 2020
ronjonp
Needs a day job
Posts: 7526
Re: ssx selecting a layers wildcard except keyword
«
Reply #3 on:
February 09, 2017, 02:31:58 PM »
Quote from: MSTG007 on February 09, 2017, 02:17:43 PM
That's a cool way to filter layers out. Thanks Ron!
Logged
Windows 11 x64 - AutoCAD /C3D 2023
Custom Build PC
Print
Pages: [
1
] |
Go Up
« previous
next »
TheSwamp
»
CAD Forums
»
CAD General
»
Topic:
ssx selecting a layers wildcard except keyword