Grouping note boxes in Dynamo through a ViewExtenson button using C# and the Dynamo API

Hi Dynamo Developers, Im looking to add note boxes into individual groups based on the text inside the note box. So therefore my logic is to loop through the list of note elements, extract the text, compare specific strings and group based on the comparison. I cannot find a way to make this work.

I have made a fabricated example to hopefully convey my requirements. The image below shows 5 note blocks, i would like to put the box test 2 in an individual group and test 5 in an individual group. In addition i would like to colour test 2 group and test 5 group differently.

.

Thanks in advance for your help!
Ash

Going to need you to share where you have gotten so far. (Link to github, code, etc)

This post is a helpful read:

1 Like