Access a note in python script

Hi! Is there any way to access the text in a note behavior from python script? I have written a list of values in a note and would need to use those values in the script.

Thanks in advance!

Yes, you can identify the behavior using the behavior type constant VC_NOTE and then get the value of the Note vcProperty in it.

This solved the original issue, thanks! Now I would like to write something to the note via Python script. Is that possible?

Just assign a new string to the Note property.