U225X / ENGINEERING UNWARRANTED
Macro for DXF Export
Public record / CHAT-0237 / Revision EXPORT-03
PUBLIC RECORD
U225X
U225X
A conversation-specific public summary of macro for dxf export, distilled from the supplied export. The detailed excerpts remain available in the released note file.
TECHNICAL NOTES
Conversation-specific knowledge extracted from the macro for dxf export discussion.
EXTRACTED KNOWLEDGE / HOW-TO FROM CONVERSATION
QUESTION / CONTEXT: can we write a macro that steps into the flat pattern and exports it as a clean dxf without prompting me for anything? By clean I mean I want everything on the 0 layer, no bend lines, only interior and exterior features, no splines, only polylines, arcs, circles, normal lines ect. I want it saved as the current filename in the same directory.
- works on the active sheet metal part
- saves the DXF as same folder + same filename + `.dxf`
- exports flat pattern geometry only
- exports splines as polylines
- turns off DXF layer mapping
- suppresses thread features, advanced holes, and non-simple Hole Wizard holes before export
- rebuilds, exports, then restores the suppressed features
- Set swApp = Application.SldWorks
SPECIFICATION
SourceSupplied ChatGPT export
CategoryBuild & Tools
Conversation8 user turns / 12 assistant turns
Attachments66 references detected
Public detailExtracted knowledge + excerpts
DEVELOPMENT HISTORY
2026.04.18EXPORT-04Matched to the supplied export; key guidance is surfaced separately and the raw transcript remains unpublished.