Macro works fine for me. Please change 6 to 7 in this line:
PathNoExtension = Strings.Left(FilePath, PathSize - 7)
The only thing is that exported flat pattern view is rotated by 90°. If you still have issue then try this macro: Re: Sheetmetal part to DXF 90 degrees output
Oke Thanks Deepak,
i will work further with this, this is my first one that can export.
What I'm trying to make is that when colleagues save a sheet metal part with a macro button, the macro automatically export a flat pattern dxf, set configuration to default, save and close the active part.