ds-blue-logo
Preview  |  SOLIDWORKS USER FORUM
Use your SOLIDWORKS ID or 3DEXPERIENCE ID to log in.
MAMahir Abrahim23/09/2015

How do I use the API to export a closed sketch curve to DXF/DWG/PDF? It looks like I can do it manually by creating a surface from the sketch and doing a SaveAs. However, when I try to record a macro to do this, the results are convoluted. It looks like behind the scenes SW is creating a drawing, placing a view on that drawing, then exporting the drawing to DXF. This seems like a roundabout way to export a 1:1 DXF of a sketch curve.

Does anyone already have a solution to this? Thank you.