Forum

Author Topic: Saving existing .psx project as .psz archive with Python SDK  (Read 2379 times)

hrvoje

  • Newbie
  • *
  • Posts: 3
  • Software developer
    • View Profile
Saving existing .psx project as .psz archive with Python SDK
« on: February 27, 2019, 01:08:57 PM »
Hello community,


Is it possible to to save a .psx project (created with Python SDK in script) as a .psz archive file (includes matched photos, ..)?

Code example:

# open psx
document.open('project.psx', ignore_lock=True)
       
# save as psz
document.save('project.psz', chunks=document.chunks)

Alexey Pasumansky

  • Agisoft Technical Support
  • Hero Member
  • *****
  • Posts: 14854
    • View Profile
Re: Saving existing .psx project as .psz archive with Python SDK
« Reply #1 on: February 28, 2019, 04:29:33 PM »
Hello hrvoje,

doc.save operation should work both for PSZ or PSX formats, do you have any issues with it?
Best regards,
Alexey Pasumansky,
Agisoft LLC

hrvoje

  • Newbie
  • *
  • Posts: 3
  • Software developer
    • View Profile
Re: Saving existing .psx project as .psz archive with Python SDK
« Reply #2 on: June 05, 2019, 02:59:45 PM »
Hello Alexey,

thanks for the answer and sorry for the late reply.
We have no issues at this time with it, and problem was solved.

Thank you again for your time,

Hrvoje