AnsweredAssumed Answered

C# Export flat pattern DXF

Question asked by Thomas Hotchkin on Feb 2, 2015
Latest reply on Feb 3, 2015 by Thomas Hotchkin


Hoping someone can help me out here. I have previously written a macro in C# to export my drawings in the correct location to PDFs and would like to modify it to export flat patterns of parts to DXF in a similar location. I have gotten to a point where it finds all the part files in a directory and creates the correct path for the dxf. Would anyone be able to provide me the code for solidworks to open a part and save the flat pattern as a dxf with the default settings (just geometry no bend lines or anything else)? I can't seem to find an example and am still new to the Solidworks API.