It looks like you're new here. If you want to get involved, click one of these buttons!
Here annexed the script. Usage: layout2fc.py -stack stack_file dxf_file
More details on its utilization can be found at:
The script is updated and successfully tested on a simple case. Updated script and more details at: