Agisoft Metashape > Python and Java API

Latest version broke marker.projections

(1/1)

mutunake:
In 1.2.6 this used to work:
marker.projections[camera] = (x, y)
now, in the latest version 1.4.3 give the error:
TypeError: invalid item value

how to fix it?

Alexey Pasumansky:
Hello mutunake,

Please try:

--- Code: ---marker.projections[camera] = PhotoScan.Marker.Projection((x,y), True)
--- End code ---

mutunake:
this is working now, thx

Navigation

[0] Message Index

Go to full version