How to rename tool with python script


I’m having a hard time getting things to work in fusion with python script. It’s kind of poorly documented. I have tried TOOLS_Name property as the scripting guide suggested, but neither assigning a string nor use setattr works. Any help is appreciated.


in python you use

comp.Background1.SetAttrs({"TOOLS_Name":"GREEN", "TOOLB_NameSet": True})


Background1:SetAttrs({TOOLS_Name="RED", TOOLB_NameSet = 1})

the secret is to set the “TOOLB_NameSet” attribute to True to change the name