How to change added object's property with python?

I’d like to change the added object’s property. Something like this:

added_object.groupMembers["Regal"].Property["txt"] = own["regalNUM"]

But I have no idea what kind of command should I use.

added_object.groupMembers["Regal"]["txt"] = own["regalNUM"]

that’s it

1 Like

Thank you, works exactly like I needed it.