Multibody DXF Export in SolidWorks — Per-Body Orientation and Why Mirrored Flat Patterns Fight You
The r/SolidWorks thread that prompted this post had a line that anyone who has automated sheet metal exports will recognise: “I can’t for the life of me get the API to cooperate with DXF orientation on sub-bodies at arbitrary angles. Multibody DXF export wants to maintain the base part axis.” The comments offered advice that did not work, because the root problem is not in the macro — it is in how SolidWorks decides where a flat pattern lives in 3D space, and how ExportToDWG2 carries that decision through to the DXF. ...