Save flat pattern drawing as DXF

I have a program that takes a selected drawing view and savesout a 1:1 drawing view as a dxf file that we send to the plasma. Ihaven't figured out how to get bend lines to save out so I can putthem on an etch layer.

If I manually save the drawing as a DXF, sometimes I have theoption to uncheck a box at the bottom of the SaveAs dialog to hidebend lines, so unchecking that box lets the bend lines comethrough. But that checkbox isn't always there - haven't figuredthat one out either. I even tried turning off the bend notes to seeif that made a difference - nope.

But anyway, I have instances where I can manually save out the maindrawing and the bend lines show up. And then if I run the programto create a new drawing with the selected flat pattern view, then Idon't get the bend lines.

Any thoughts?

SW2009 SP2
Macro is VB6

WTSolidworksApi macros