Hello,
I want to convert node's name to uppercase with On Name Changed event.
So I tried this code
node = kwargs["node"]
name = node.name()
node.setName(name.upper(), True)
But if I try to rename the node, I get error
Unknown error when generating backtrace.
And the name is converted to uppercase but from node abc becomes node ABC498
Not sure where this 498 number and error come from.
I guess I am doing some beginner mistake.
Thanks,
Juraj