Hello ,

I try set a user tex to a group , I find this for Vb

There is some Python or C# function for do the same?


I see this: Group.SetUserString Method

Thank you @fraguada

There is some pratical example?

Best Regards

This works in Python:

import scriptcontext as sc

for grp in sc.doc.Groups:
    grp.SetUserString('Test', 'Hello Rhino!')

for grp in sc.doc.Groups:
    print grp.GetUserString('Test')

– Dale

Thank you @dale