Bendlines in DXF

I’m exporting sheet metal parts from a SolidWorks 2025 assembly using a VBA macro to generate DXF files for laser cutting.

The DXF export itself works, but the main issue is that bend lines are still appearing in the exported DXF files.

What I want is a clean flat pattern DXF with:

  • Outer profile only
  • No bend lines
  • No sketch or construction geometry related to bends

I have already tried multiple approaches to remove bend lines, including:

  • Suppressing bend-related features in the FlatPattern
  • Trying DXF export settings through the API
  • Using different export methods like ExportFlatPatternView, ExportToDWG2, and SaveAs with DXF data
  • Attempting to disable bend lines through SolidWorks preferences and API toggles

However, none of these approaches reliably remove bend lines in SolidWorks 2025 VBA. In some cases, the settings are ignored, and in others the export method does not seem to fully control how bend lines are generated in the DXF output.

So the issue is specifically:
👉 Even though I’m exporting flat pattern DXFs, bend lines are still being included in the output, and I cannot find a consistent VBA method in SolidWorks 2025 to fully suppress them during export.