V8i Export to Dxf with fence and a Dws setup file

I have a task where I need to export a smaller area from a designfil to dxf. I have the setup done in a Setup dws file including that it should use the fence in overlab mode.

So I expected these two keyin lines to do the job:

CadInputQueue.SendKeyin "dwg settings open C:\:..\DxfSetup.dws"

CadInputQueue.SendKeyIn "export dxf nameofdxfexport.dxf

But I get an empty dxf file UNLESS  I have made one export manually by the dialog. If I have then it works fine

When I do the manually export and have loaded the dws setup file I can see that the filter option is not set to 'Fence' (and overlab) but to 'Every thing'

So the core problem is how do I tell the system that it should use the fence that is set ?? 

I have tried to make an recorded macro from the manually export, but that does not work since it opens a different saveAs file dialog.

Hopefully somebody knows a trick to set the filter option to 'Fence'

TIA

Erik Wirring

Denmark