Depending on the number of text_box items in the schematics, sch.text_box is either the item itself or a collection, which is not easy to handle.