Apply Material to subsurfaces

I know you can apply materials to a sub surface in rhino but is there a way to do it automatically? I’ve got a piece I’m designing that will be laser cut and I’d like to automatically apply a burned material to all the edge surfaces.