AnsweredAssumed Answered

Change Note Checker

Question asked by Adon Nicholls on Dec 5, 2017
Latest reply on Dec 7, 2017 by David Stockdale

Hi Everyone,

 

I've recently started at a company in an EPDM role but have limited to non existent experience in coding although I have now managed to write a code for an API to automatically create Non Conformance Reports from a file card. I wanted to write another API which would make lives easier for my colleagues checking change notes.

 

For the moment they need to check whether files have been successfully saved in a certain location for our MRP Department. The API Would check this folder for the files; PDF,DXF etc., going off the part number and the revision number of the Solidworks file and then, if the files were present, check a box on a file card. If the file wasn't present it would give an error message (I can make the message appear using the try method)

 

I'm kind of stuck on how to approach the problem, and as I've had no training, I don't really understand the online API Guide.

 

Here's what I have so far.

 

PREState Hook Class:

 

Change Note Checker Class:

 

 

Any help would be greatly appreciated

Outcomes