Hi, is it possible to get a relationship  from an empty group by script ?

(When you deleted a models in  group, the relationship still existing.  )