Unfortunately only some exporters accept a hash as arguments. To the best of my knowledge DXF is not one of them. The last options set manually are always used irrespective of the passed arguments...