xmind-sdk-python icon indicating copy to clipboard operation
xmind-sdk-python copied to clipboard

How to read a marker in sdk

Open kdlsw opened this issue 9 years ago • 3 comments

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

kdlsw avatar Aug 20 '16 14:08 kdlsw

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.

emanlove avatar Aug 20 '16 15:08 emanlove

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

kdlsw avatar Aug 22 '16 15:08 kdlsw

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

deladriere avatar Apr 16 '18 14:04 deladriere