Thank you @Daan and @Hamish for your answers. In the first script, I tried to colect the instances first and then get the correspondent family type so I can change it. I’ve based it in the this topic in a script proposed by @archjahzzy, but maybe it not work that fine with system families.
As you both mentioned maybe the problem could be in what should be collected (if types or elements), but even collecting the family types that we want to rename, it still not changing using the clockwork node Element.SetName.
RenameWallSweeps_test001.dyn (8.4 KB)
If this is the problem, i.e., trying to change a Family Type name using a node that, aparently, only change the element name, is there any way to set the name of a family type?
Thank you for helping!