The !exlayers Command: List layers by Applied Keywords
Syntax: !exlayers
This command will list in the console window layers in the current
technology that have the following keywords set:
Conductor, Routing, GroundPlane, Contact,
Via, Dielectric, Planarize, DarkField.