Features
Support
Community
Downloads
Buy
About
Forum
Home
Search
Login
Register
Agisoft Metashape
»
Agisoft Metashape
»
Python and Java API
»
log file in a standalone script
« previous
next »
Print
Pages: [
1
]
Author
Topic: log file in a standalone script (Read 5313 times)
gilrito
Newbie
Posts: 20
log file in a standalone script
«
on:
February 25, 2020, 09:01:26 PM »
Dear all,
It is possible to write the log of MetaShape to a file in a standalone python script?
Thanks, Gil
Logged
Alexey Pasumansky
Agisoft Technical Support
Hero Member
Posts: 15691
Re: log file in a standalone script
«
Reply #1 on:
February 26, 2020, 08:56:15 PM »
Hello Gil,
Have you tried redirecting of the script run outputs with the terminal command parameters? (note that you may need to define stdout and stderr outputs).
Like metashape.exe -r script.py > log.txt
Logged
Best regards,
Alexey Pasumansky,
Agisoft LLC
gilrito
Newbie
Posts: 20
Re: log file in a standalone script
«
Reply #2 on:
February 29, 2020, 01:37:38 AM »
Hi Alex,
I'm using Spyder as my python IDE. So it will be great if I could have a log file for the outputs of metashape processes.
Regards, Gil
Logged
Alexey Pasumansky
Agisoft Technical Support
Hero Member
Posts: 15691
Re: log file in a standalone script
«
Reply #3 on:
March 08, 2020, 07:06:46 PM »
Hello Gil,
The processing log can be intercepted as stdout and stderr streams.
Logged
Best regards,
Alexey Pasumansky,
Agisoft LLC
Print
Pages: [
1
]
« previous
next »
Agisoft Metashape
»
Agisoft Metashape
»
Python and Java API
»
log file in a standalone script
Features
Support
Community
Downloads
Buy
About
Features
Support
Community
Downloads
Buy
About
Metashape presentation
(PDF, 5 Mb)