Macro to transform en masse. SLDPRT of sheet metal in unfolded in . DWG or . DXF

Hello
On my side, with sw open I have this error,



(the title of my piece and ordinary " piece1 ")

No matter how much I redo tests, I can't reproduce this type of crash, the only time the processing is not done is when I remove the display of file extensions in Windows but no crash for all that.
Kind regards

1 Like

Indeed my tests are done with visible file extensions, when I hide them the program quits normally with a message (processing completed), but no dxf file is generated.
It seems to me that it didn't find the part because and unlike the first test (launch the program without an active sw instance) I didn't notice the solidworks windows open,
(in any case thank you for your feedback @d.Roger, it must be a problem with my machine)

Hello
@d.Roger
I'm working on SolidWorks 2023
I launch the app, I select the source and destination folders, it shows me a window saying processing in progress and work done but I don't have the DXF or DWG files?
Any idea to help me?
Thank you

Hello
I don't have a SW2023 to test but it looks like what I wrote above: "the only time the processing is not done is when I remove the display of file extensions in Windows" so are the file extensions displayed in your Windows?
Kind regards

2 Likes

Hello again
Sorry I didn't pay attention to this message, I displayed the extensions and it worked!!
Thank you