Lee Mac,
This routine works great and does what we were looking for, however, the wildcard was there due that is an old code for a layer on an xref file, and this wildcard can be omitted.
My intension here is not to only be hard coded a specific layer name, meaning if we can use this routine to turn other layers on as well by just changing the layer’s name.
My initial idea was to turn on a specific layer, perhaps our Engineer name on and off with the same routine, so we can just turn on one engineer name and turn another engineer off.
Example: Marc’s is on one layer and it is use for specific project, so I want to turn Marc’s layer on in a bunch of drawing.
Jess is another engineer name in the same xref file, when Marc’s name is no longer needed for this project, I would like to turn Marc’s layer off and turn Jess layer on, can this be done with the same routine?
Thank you…