I updated my old batch DXF exporter to work a bit better. I know it was useful to a few people here. It takes all sheet metal files in a folder and automatically exports a DXF flat pattern for each.
-Start Solid Edge and open any file in a project folder. (assembly, part, sheetmetal, does not matter)
-Run the exe. You can do this one of three ways- Double click on the file OR go to File/Tools/Run Macro in Solid Edge OR customize your ribbon, change the Choose Commands From dropdown to Macro, navigate to where you have downloaded the macro, and add it to your toolbar of choice.
-The macro will look in the folder for all .PSM files and export them to .DXF if a flat pattern exists. If a flat pattern does not exist, it will list the filename and exit. It will NOT look in subfolders. It gives a status in a console window.
-Exported DXF's will be located in a created subfolder called DXF.
-Tested with ST7-ST9
-Now recognizes when no flat pattern exists and warns the user, instead of creating a blank DXF
-Now correctly uses OleMessageFilter, crashes much less often
Attached is the file. You cannot attach an .EXE here, so please rename it from .txt to .EXE after downloading.
Hi Tushar. Do you perhaps have two instances of Solid Edge running? I don't check for that. Here's a screenshot of the pertinent code- please excuse the simplistic nature. Open to any suggestions.
That seems to be the case for I can reproduce the error again only by starting two instances of Solid Edge.