Mindmanager set roll-up for all subtopics by macro

  • 1
  • Question
  • Updated 2 years ago
Hello Community,
I am relatively new to MM macro development. Although I found some sample code over the WWW and also have the API documentation it is difficult for me to find the right methods or properties to directly set values by code. At the moment I am struggling on rolling up all tasks for a topic or the central topic.
Please help

Thanks a lot
Markus
Photo of Mark Usc Haller

Mark Usc Haller

  • 2 Posts
  • 0 Reply Likes

Posted 2 years ago

  • 1
Photo of Nick Duffill

Nick Duffill, Champion

  • 512 Posts
  • 170 Reply Likes
Hello Markus

ActiveDocument.CentralTopic.IsTaskRollupTopic = True

will set enable task rollup on the central topic of the active document. You can use the .IsTaskRollupTopic property on any topic in the map as well.
Photo of Mark Usc Haller

Mark Usc Haller

  • 2 Posts
  • 0 Reply Likes
Hello Nick,
thanks once more for your prompt reply. I searched the API-Documentation for Methods of Topic and Task, and also scanned the Properties, but it didn't catch my eye.
The good thing: I found out today that one can also use wildcards in the API-search.