Review entity count per group/comp?
-
Hi all,
I have a circumstance where I need every group in my model to have exactly 18 entities (12 lines, 6 faces). I have quite a few (hundreds) groups and componants by now that I have to keep track of. I was wondering if there is any way (either natively or ruby) to be able to review these numbers. I'm thinking of something like the outliner where I can see the number of antities. But anything really, as long as I can quickly find anything that does not have the 18 entities I need. My current process is going through each group and checking, which takes quite a while.
Thanks guys,
Scott
-
Scott,
Here's a quickie to count the faces and edges. Adds "Check Groups" option the Plugins menu. This assumes the Groups are all top-level in the model and not nested inside other Groups or Components. If it finds an error, it clears the selection, pop-ups a message, and highlights the bad Group. Repeat until you get no pop-ups.
-
Quite a different topic but have a look at the bit of code in this post:
As it walks through the groups and components, I guess you only need to add some code to count the faces and edges of each.
Outputting to a webdialog would be good so that you could use some javascript to list rogues as links so you can identify and fix them one by one*.
I would be interested to find out if this approach turns out to be useful.
Chris
- edit: or in batches of same problem
Hello! It looks like you're interested in this conversation, but you don't have an account yet.
Getting fed up of having to scroll through the same posts each visit? When you register for an account, you'll always come back to exactly where you were before, and choose to be notified of new replies (either via email, or push notification). You'll also be able to save bookmarks and upvote posts to show your appreciation to other community members.
With your input, this post could be even better π
Register LoginAdvertisement