for ent in Entities: for pc in ent.GetPropertyClassList(): name = pc.GetName() if name.find("cam") >= 0: print "ยทยท", name