Is there a way to export a dxf and have every material on an individual layer? So far all options I tried the files I exported all ended up with the notorious zero layer and a seemingly empty PYDXF layer.
If this question is about the BlenderBIM Add-on: it's not yet possible. The current implementation focus is on SVG. Once we have SVG working successfully, it should be relatively easy to implement DXF.
I know this: https://www.cad4arch.com/dxf_exporter/index.htm it has a cost to it, but he is willing to opensource the code. At least according to his roadmap. Probably he's luring somewhere here around.
You can try https://github.com/Gorgious56/blender_ezdxf_exporter it's an addon I developed a while ago. It does not integrate with Ifc or the BlenderBIM addon though, it's pure Blender commands.
To export objects by material on layers try these options
By default the layer color is set to the material viewport display color. I'm not maintaing this addon anymore so don't expect qui fixes :)
Comments
If this question is about the BlenderBIM Add-on: it's not yet possible. The current implementation focus is on SVG. Once we have SVG working successfully, it should be relatively easy to implement DXF.
I know this: https://www.cad4arch.com/dxf_exporter/index.htm it has a cost to it, but he is willing to opensource the code. At least according to his roadmap. Probably he's luring somewhere here around.
You can try https://github.com/Gorgious56/blender_ezdxf_exporter it's an addon I developed a while ago. It does not integrate with Ifc or the BlenderBIM addon though, it's pure Blender commands.
To export objects by material on layers try these options
By default the layer color is set to the material viewport display color. I'm not maintaing this addon anymore so don't expect qui fixes :)