I'm writing a lisp routine to vpfreeze/vpthaw or freeze/thaw layers based on parameters. My problem is that my company designates layers with existing equipment using the format 'AR.[E].EQUIP' or 'EL.[E].EQUIP' or 'ME.[E].EQUIP' and so on.
when I invoke (command "VPLAYER" "T" "AR.[E].EQUIP" "C" "") or (command "-LAYER" "T" "AR.[E].EQUIP" "") in my routine, it crashes because AutoCAD is trying to match what it thinks is a wildcard and of course there is no matching layer 'AR.E.EQUIP'
This is also a problem when I'm just using these commands straight from the command line but I'm only concerned with getting my routine to run.
Is there any way to turn off or override the wildcard matching in -LAYER and VPLAYER or is there any LISP workaround for this?