Announcements
Attention for Customers without Multi-Factor Authentication or Single Sign-On - OTP Verification rolls out April 2025. Read all about it here.
Anonymous
in reply to: GeorgK

Here are the part and drawing files.

 

And the code is here:

SyntaxEditor Code Snippet

strFolder = ThisDoc.WorkspacePath() & "\Layouts and Details\DXFs\" & ThisDoc.FileName(False)
ThisDoc.Document.SaveAs(strFolder & (".dxf") , True)
MessageBox.Show("DXF file created/updated", "What a lovely drawing!")

And I have checked that the folder it is trying to save to definitely exists