I am trying to setup model check for the first time. What I am trying to do is prevent a save from happening when an error is reached. I do get a browser pop-up indicating the error but it still saves. Is there some setting I need.
The "Save Mode" in ModelCHECK will always save the model first and then run ModelCHECK as a secondary operation. To this point, ModelCHECK acts as a reporting tool and not a gatekeeper.
There are a couple of options available if you'd like to prevent models with errors from being checked in:
- ModelUPDATE mode allows you to automatically update models for errors generated during ModelCHECK. All the updates possible from the ModelCHECK report <u>that do not require manual interaction</u> (such as typing or selection) are automatically
performed in ModelUPDATE mode. Note: You can run ModelUPDATE only in the ModelCHECK Interactive mode so you would have to run this before saving.
- If you are using a PDM system, you could use PDM as a gatekeeper and prevent it from allowing check-in of files that contain any errors. This could be done by setting a parameter equal to the number of errors found in the file. If the number is greater than 0, check-in would not be allowed.
I hope this provides you with some additional information and options to help you achieve your goal.