I am trying to create a macro to export a view of our part models for our burn table. The macro works fine by selecting the face you want to export but does nothing if no face is selected. I would like to set up the macro to display an error message if it was unable to export the dwg properly but the exporttodwg doesn't seem to throw an error so the On Error GoTo *function doesn't work. Any ideas on how I could get this to work? A suggestion from a colleague was to compare the datestamp of the file to the current time to test if the program did anything but I was hoping there was a better way.
SolidworksApi macros