Features
Support
Community
Downloads
Buy
About
Forum
Home
Search
Login
Register
Agisoft Metashape
»
Agisoft Metashape
»
Python and Java API
»
I want to get a marker
« previous
next »
Print
Pages: [
1
]
Author
Topic: I want to get a marker (Read 2711 times)
Natsumi
Newbie
Posts: 12
I want to get a marker
«
on:
August 24, 2021, 03:49:56 AM »
Hello everyone,
I want to get a marker.
Although it is described as follows, the obtained list is empty.
How can I get it?
Code:
[Select]
m = []
for item in chunk.markers:
m.append(item)
print(m)
Logged
Paulo
Hero Member
Posts: 1352
Re: I want to get a marker
«
Reply #1 on:
August 24, 2021, 10:40:55 AM »
Natsumi,,
maybe you can check if chunk is correctly defined (chunk = Metashape.app.document.chunk)
also are there any markers in your chunk? if not you can add one....in markers window of reference pane....
Logged
Best Regards,
Paul Pelletier,
Surveyor
Natsumi
Newbie
Posts: 12
Re: I want to get a marker
«
Reply #2 on:
August 25, 2021, 04:50:48 AM »
Hi Paulo,
That was exactly right.
I had to redefine the chunk after saving it with a name.
I didn't do that.
Thank you for your kindness.
Logged
Print
Pages: [
1
]
« previous
next »
Agisoft Metashape
»
Agisoft Metashape
»
Python and Java API
»
I want to get a marker
Features
Support
Community
Downloads
Buy
About
Features
Support
Community
Downloads
Buy
About
Metashape presentation
(PDF, 5 Mb)