Getting and setting object name in GHPython

I’m not entirely sure what you’re aiming for, but this example might help with reading object attribute user texts in GHPython:

If you want to also set these, you can use rs.SetUserText:

https://developer.rhino3d.com/api/RhinoScriptSyntax/#userdata-SetUserText

1 Like