2 Replies Latest reply on Jul 1, 2015 10:35 AM by Jordan Wigley

    Capturing and handling a file not found error.

    Jordan Wigley

      When a assembly is loaded in to solidworks and it cant find one of the files, it says the file couldn't be found. Ideally when this happens i would like to then search through a external file sharing system. In order to do that i need to create an addin. I could create an addin that a user clicks on and then searches manually for the file and then is loaded in, but it would be better to have it done automatically, but to do that i would need a way of catching that file not found error and handling it my own way. Is there a specific way to capture this and other type of errors for dealing with manually in the api?