Query Layer Properties Editing Command Line

joe_schmidtR6QZX
Explorer

Query Layer Properties Editing Command Line

joe_schmidtR6QZX
Explorer
Explorer

Hello,

 

I need a command that can find any layer with a specified word contained in the layer name and select those layers. Similar to how searching *mech* in the layer properties menu will bring back any layer with "mech" in it. How do I do this but in the command line.

TLDR: select layers containing specific characters (and change their properties) through command line.

0 Likes
Reply
Accepted solutions (1)
316 Views
2 Replies
Replies (2)

Kent1Cooper
Consultant
Consultant
Accepted solution

Change the properties of all such Layers to the same settings?  All the same color, or linetype, or...?  You can already do that -- use the hyphen-prefixed -LAYER command, and choose an option [other than Make or Set] and a value for it, and give it the Layer name(s) to assign that to with wildcards just as you describe, for example *mech* [it's not even case-sensitive].

Kent Cooper, AIA
0 Likes

joe_schmidtR6QZX
Explorer
Explorer

Not sure why this wasn't working earlier but its working now. Thank you!

0 Likes