@Ncik wrote:
G’day Everyone,
Just a quick explanation before I leave work. Can add more details later if required.
The grouping script works fine the first time, but as I work to debug a second time the above error message appears and the script stops at rs.ObjectsByGroup. The previous group has been deleted, cannot purge any groups as there are none, cannot selGroup because there are none. But for some reason the group will not create or rename if the name has already been used.
Thoughts?
group = rs.AddGroup() group = rs.RenameGroup(group, strName) groupObjects = rs.ObjectsByGroup(group, True)
regards,
Nick
Posts: 1
Participants: 1