Notifications
Clear all
[Closed] Objects not in groups
Mar 30, 2016 12:56 am
What is the right way to find objects in the scene that are NOT grouped?
4 Replies
Mar 30, 2016 12:56 am
arr = for o in objects where not (isgroupmember o or isgrouphead o) collect o
3 Replies
To cover open groups you have to ause this:
arr = for o in objects where not (isgroupmember o or isgrouphead o or isOpenGroupMember o or isOpenGroupHead o) collect o
No, isGroupHead and isGroupMember return true for grouped objects even if the group is open.