Dear Concerned
I've developed an workflow process with multiple scripts designed for each stage of image process and saved the result of each stage as individual project file. (xxxx_01.psx, xxxx_02.psx, xxxx_03.psx, etc)
They are all done in agisoft GUI with "Tools->Run Script".
I'm wondering how to open each project file (such as xxxx_01.psx)using python with all processed results in there?
Namely how to use python to replace the action of double clicking on .psx to open project and run script
I've tried to run doc.open in a script within a new blank project under "Tools->Ru Script"but in the console it says the project is loaded but nothing is there.
Script:
doc = Metashape.Document()
doc.open(path="Y:/PierCrackDetection/03_Data/Scripts/Testing/ShekPik_20221206/Processing/ShekPik_03.psx")
Console:
2023-02-15 11:45:43 LoadProject: path = Y:/PierCrackDetection/03_Data/Scripts/Testing/ShekPik_20221206/Processing/ShekPik_03.psx
2023-02-15 11:45:43 Loading project...
2023-02-15 11:45:43 loaded project in 0.017 sec
2023-02-15 11:45:43 Finished processing in 0.018 sec (exit code 1)
Nothing of the "ShekPik_03.psx" is shown, chunk is blank.
I would really appreciate if someone can help here.
Thank you in advance!