I am working on a script to automatically check the constraints of a given schematic. The schematic files are being pulled from a server, where some of the files are old / corrupt and the as a result, the constraint checker does not work on them.
The project can still be opened from the project manager -> design entry, and when I `Save hierarchy` and then `export physical` (both found under the 'file' tab), my script works again.
I have a bunch of these corrupt / old files that basically just need to be re-saved, and then re-exported. The whole point of the constraint checker script is that it can work without having to open design entry. If i have to open these files to re-save them, then it kind of defeats the purpose.
Is there any way to save and export the project (.cpm) file via command line (Windows Power Shell)?
When I save / export the .dcf file is remade, which is what the script looks at to check the constraints. There does not necessarily a need to be an explicit save / export if there is a way to simply remake this .dcf file.
Thank you.