Daniel Schleicher

Sheet metal part to dxf flat pattern macro question

Discussion created by Daniel Schleicher on Jun 24, 2020
Latest reply on Jun 25, 2020 by Daniel Schleicher

Hello All,

                I have modified a macro written by Deepak Gupta. It is a macro that takes a Solidworks sheet metal part and exports it in a flat pattern to a dxf. I have added the revision level to the filename. (See Below). The dxf file is made in the same subdirectory. My problem is when I try to redirect the dxf file to another subdirectory I lose the part number portion of the file name.

I want to add to the macro a popup to chose between to subdirectories. I am not new to the forum, but I am to making a macro. Any help will be appreciated.

 

Sample filename: THIS-IS-A-DXF-TEST_Rev C.dxf

Outcomes