Good evening I'm looking for a macro that allows you to save the unfolded or front view of a .sldprt part (not the drawing) in .dxf in the same original folder. I should point out that I don't have the "mycad service" tools. I also tried with the macro recorder but it doesn't work.
Thank you in advance.
3 Likes
pl
October 8, 2015, 7:45pm
2
Hello
In fact it's very simple, and there's no need for a macro, it's doable in three clicks from 3D without creating a drawing and without unfolding :
File > Save As and select Dxf (*.dxf)
Right-click Unfolded State in the FeatureManager Design Tree and select Export to DXF/DWG.
For SolidWorks 2014:
http://help.solidworks.com/2014/french/SolidWorks/sldworks/c_Exporting_to_DXF_or_DWG_Files.htm
For SolidWorks 2013 :
http://help.solidworks.com/2013/french/SolidWorks/sldworks/t_Saving_Sheet_Metal_Flat_Patterns_as_DXF_Files.htm
Edit:
If it's for a macro, there's one available here:
https://forum.solidworks.com/message/122924#122924
But it will probably have to be adapted!
6 Likes
Hi my Fifi,
If you ask this question, I imagine it's because you have a lot to convert?
Maybe you're looking for a macro, to just have one click to do from your 3D to have your dxf flat?
4 Likes
pl
October 9, 2015, 7:48am
4
If it's for a macro, there's one available here:
https://forum.solidworks.com/message/122924#122924
But it will probably have to be adapted!
1 Like
Hello
Thank you pl, your 1st answer suits me very well, I'll look at the macro you propose a little later
A+
pl
October 9, 2015, 4:11pm
6
In this case, please choose my answer:)