I’m in need for a script that deletes some parts of an imported model.
It should take the selected tool.
Auto group it.
Then I want to iterate the created groups and by some mean identify the groups i want to delete by the number of polygons or the number of vetices, select the group and then delete it.
Then rename the subtool.
Is this possible?
The auto grouping, duplication and renaming I’m quite sure is possible but can I get access to polygon or vertex count. I have not found anything about that in the references.
Thought I could get the count from it from the Activepoints info in the interface but cant get it to work.
Maybe I can get it from Mesh3DGet?
Still have to figure out how to iterate the polygroups.
Anyone that has a tip on how to do that?
Arrgh, anyone that has any help to offer?