Skip to content
This repository has been archived by the owner on Jun 14, 2019. It is now read-only.

How to read a marker in sdk #19

Open
kdlsw opened this issue Aug 20, 2016 · 3 comments
Open

How to read a marker in sdk #19

kdlsw opened this issue Aug 20, 2016 · 3 comments

Comments

@kdlsw
Copy link

kdlsw commented Aug 20, 2016

I know to set a marker, as the examle shows, is topic.addMarker("yes"). But how to read one? I tried topic.getMarker() not working.
And... besides that, is there any documents, mannual or handbook for this SDK? It is so hard to find some info, basically all I got is the example.py.

Please, any suggestion will be appreciated! Thanks

@emanlove
Copy link

Reading the code it looks like it should be getMarkers() with a plural 's' [xmind-sdk-python/xmind/core/topic.py]. You might try getMarkerId() [xmind-sdk-python/xmind/core/markerref.py] once you have the marker list and going through it one marker at a time.

@kdlsw
Copy link
Author

kdlsw commented Aug 22, 2016

@emanlove This document is a savior, I have been looking for this for quite a while. Thank you very much!

@deladriere
Copy link

@kdlsw can you post an example I just can get it to work with the reference given by @emanlove
thx !

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants