Hey guys!
I would like to change many text notes on various views. I have successfully sorted through sheets that have the views with Text Notes that I want to change. When I am sorting through TextNotesType I encounter an issue and I have no clue what is the correct way to do it.
Hi,
in your “isEqual”-node you compare different types of variables. You’re comparing Parameters with Strings, if you want to make this one work you have to translate the Output from GetParamValueByName to string.
What exactly do you want to change within your text notes?
The result of the All Elements of Category in View has lists of lists - so a flatten node after the node will remove the nesting - this should remove the issue with the python node. It might also be worth placing a List.Clean after as well to remove the empty lists.
At first you have to retrieve the TextNoteType you want to set your textnotes to.
I used “TextNoteType.ByName” for that and feed it a string.
To apply the new Type you can just use the “Element.SetParameterByName” and feed it the textnotes, the Type parameter as string (this is language specific) and your new TextNoteType. This works for me.
(I just realised you are working with a newer Dynamo version, this could not be working for you)
Thank you a lot! It worked ![]()


