Quantcast
Channel: Scripting - McNeel Forum
Viewing all articles
Browse latest Browse all 5749

"None does not exist in GroupTable"

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 5749

Trending Articles