Set Type Parameter

I tried this and it works. Great Script Martin_Spence1. Thanks, but I am confused.
Why you select an Element one by one instead o whole Family Type?
In another thread I asked for a node like yours but for change a “Type Comment” of a whole Family Type.
Maybe you know how. Thanks again