An automated way of exporting part contours and pockets into 2D vector with different layers?

Hi, I've been using onshape for few months now and It is a great software. I am trying to improve my workflow for routing and cutting 2d shapes in my cnc and laser cutter. For the moment I am forced to create manually the 2d views for each part, export them and edit the vector drawing to split the vectors in different layers. The process is quite repetitive so I think it can be automated. My question is related to Onshape 2d vector export layer support, is there any? If not, does anyone have an idea on how I could solve that? Many thanks! 

Answers