Forum

Show Posts

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.


Messages - velutis

Pages: [1]
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

2
Python and Java API / Re: Adding a new marker with coordinates
« on: April 26, 2017, 02:23:46 PM »
Hi, i am getting error using this code:

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

Anyone knows why?

3
Hi, im trying to add marker with reference coordinates but i am getting that it is read only|, here is the code:

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 ?

Pages: [1]