1
Python and Java API / Re: Adding a new marker with coordinates
« on: April 27, 2017, 10:09:20 AM »
so strange, now it wokrs after pc restart, sorry
This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.
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
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