Features
Support
Community
Downloads
Buy
About
Forum
Home
Search
Login
Register
Agisoft Metashape
»
Agisoft Metashape
»
Python and Java API
»
Script run via cmd with additional parameters
« previous
next »
Print
Pages: [
1
]
Author
Topic: Script run via cmd with additional parameters (Read 4549 times)
PAPA2137
Newbie
Posts: 8
Script run via cmd with additional parameters
«
on:
July 28, 2017, 01:58:21 AM »
Hello,
is it possible to run python script for photoscan via cmd (photoscan.exe -r script.py) with additional parameters for python scipt ( I would like to pass additional configuration for processing). Is it possible to achive?
Logged
Alexey Pasumansky
Agisoft Technical Support
Hero Member
Posts: 15465
Re: Script run via cmd with additional parameters
«
Reply #1 on:
July 28, 2017, 11:44:32 AM »
Hello PAPA2137,
You can add arguments after the path to the script file to the command line and access them, for example, via
sys.argv
.
Logged
Best regards,
Alexey Pasumansky,
Agisoft LLC
Print
Pages: [
1
]
« previous
next »
Agisoft Metashape
»
Agisoft Metashape
»
Python and Java API
»
Script run via cmd with additional parameters
Features
Support
Community
Downloads
Buy
About
Features
Support
Community
Downloads
Buy
About
Metashape presentation
(PDF, 5 Mb)