Agisoft Metashape

Agisoft Metashape => Face and Body Scanning => Topic started by: monsterchrist on December 03, 2018, 07:05:08 AM

Title: Calling a batch processes .xml from python
Post by: monsterchrist on December 03, 2018, 07:05:08 AM
Howdy folks,

I am wondering if there's a way to load a batch process .xml from a python script.
With some tinkering, I can write the script to do all the os stuff,  but I can't find reference to loading a batch job process .xml in the api documentation.

Thanks!
Title: Re: Calling a batch processes .xml from python
Post by: monsterchrist on December 03, 2018, 07:50:13 AM
Looks like there's a reply here

http://www.agisoft.com/forum/index.php?topic=7529.msg36060#msg36060

Is it still the case that we cant call the batch job without parsing .xml into the python script? 
Title: Re: Calling a batch processes .xml from python
Post by: Alexey Pasumansky on December 03, 2018, 01:09:21 PM
Hello monsterchrist,

Currently calling the external XML for batch processing from command-line or Python script is not supported, so parsing of the XML file seems to be the only way in the current release version.
Title: Re: Calling a batch processes .xml from python
Post by: monsterchrist on December 07, 2018, 03:33:07 AM
Awesome. Thanks Alexey for clearing that up.