Hi,
I haven't looked into the sources, but I have a solution for you.
It looks like that the export tool is starting fix from the origin at X0,Y0. Your drawing is completely in -Y direction, thus you got always the empty export image.
Move your drawing from its most left/bottom edge to the origin (red cross), using the Modify-Move/Copy tool. On the export dialog set the width and height of the image measured in units from the origin to the drawing most right/top edge.
Seems that this export tool need some refactoring or documentation.
Armin
investing less than half an hour into Search function can save hours or days of waiting for a solution