I would like to export many curves into a single DXF file...but the following fails...

test1 = ParametricPlot[{Cos[t], Sin[t]}, {t, 0, 2 \[Pi]}];
test2 = ParametricPlot[.5*{Cos[t], Sin[t]}, {t, 0, 2 \[Pi]}];

Export["test.dxf", {test1, test2}]

with the error

"The Export element "Graphics3D" contains a malformed data 
structure and could not be exported to "DXF" format"

I can export each curve into their own DXF file but how can I export them together into a single DXF file?


1 Answer 1


Ok...not so obvious

Export["test.dxf", Show[{test1, test2}]]
  • 1
    $\begingroup$ That's what I was about to write if you want them together. If you want them side by side you can use GraphicsRow $\endgroup$
    – bmf
    Jan 14, 2023 at 5:46

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

Not the answer you're looking for? Browse other questions tagged or ask your own question.