James and Alexey,
Thanks very much for the suggestions. I rebuilt the paths very carefully by hand typing rather than copying the path, and the opening of the files works properly when I delimit out the matchphotos and alignphotos, so that is not a problem with the file and pathnames. but when I undelimit the matching and aligning, I get the following errors:
Traceback (most recent call last):
File "J:/alignmodels.py", line 15, in <module>
doc.activeChunk.matchPhotos(accuracy="high", preselection="ground control")
AttributeError: 'NoneType' object has no attribute 'matchPhotos'
The 0.9.1 documentation does not mention that ground control preselection is implemented, can this be the problem?
Has anyone started up a repository of some example or useful scripts? That might be quite helpful, I have not found quite relevent examples in this forum yet for the multi file batch processing I am trying to undertake.
I thought I might query the user for a file name and then print that out with something like this:
import PhotoScan
app = PhotoScan.Application
testfiles = app.getOpenFileName()
but got errors that the getopenFileName object needed a photoscan application object, but tried many but no luck. If anyone has example scripts that do any of these sort of things that would be extremely helpful to review.
Thanks,