Hi Alexey,
Thanks for your reply, this is exactly what I was looking for however when I run the script the point index appears to go out of bounds and I get the error "can't run script - Index error: index out of range". I also don't see a reference to "proj" in the 1.2.5 Python API reference, is there an updated version somewhere?
A bit of context: the tie points I'm trying to filter out belong to the background which are causing PhotoScan to align photos incorrectly. I would like to filter these out and tell PhotoScan to consider the tie points closer to the centre of the image (where the object of the image is) before deciding which ones to use.
Could you tell me a bit about how PhotoScan determines which Tie Points to use? The script you gave me invalidates all tie points more than a specific distance from the center of the image which is great however when I do the inverse (set tie points inside 1500 pixels to valid), I notice that the tie points in the viewer are still gray (being unused?).
Thanks again,
J