1
Python and Java API / 'PhotoScan.Marker.Reference' object attribute 'location' is read-only
« on: April 26, 2017, 02:19:32 PM »
Hi, im trying to add marker with reference coordinates but i am getting that it is read only|, here is the code:
what i am doing wrong ?
Code: [Select]
chunk = PhotoScan.app.document.chunk
m = chunk.addMarker()
m.reference.location = PhotoScan.Vector((0,0,0))
AttributeError: 'PhotoScan.Marker.Reference' object attribute 'location' is read-only
what i am doing wrong ?