DXF recording with color

Hello, I have a drawing with X sketches on soliwoks 2016. I would like to save it in DXF with a sketch layer by assigning a color.

Can someone give me the procedure to follow?

Regards

 

Hello

All the information is here:

http://help.solidworks.com/2013/french/SolidWorks/slddxf/t_map_entities_on_export_to_dwg.htm

 

Define layers

When exporting drawings as .dxfou .dwg files , you can define layers in the SolidWorks Projection to DFX/DWG dialog box.

To add or edit a layer:

  1. Follow the main procedure for projecting features through step 5.
  2. Under Set Layers, select the layer row and follow these steps:
    1. Click in the Layer column and type a number or name for the new layer.
    2. Click in the Layer Color column and select an element from the grid.
    3. Click in the Layer Line Style column , and select a line style.
  3. If necessary, repeat step 2 to specify more layers.
  4. Specify the entities or projection colors as needed.
  5. To save the DXF/DWG export projection file settings, click Save Projection File.
  6.  Click OK.

See also this video in French:

https://www.youtube.com/watch?v=pCsFfS16H1U

Thanks for the tutorial, the video, but it doesn't work, because you can choose only one Gemometry

DOnc it will probably be possible with a VBA macro, but you have to know the programming and spend a few days on it!