Easy separate different primitive groups into their own geometry containers
Sets the Pivot of each group to its centroid
Removes the shop_materialpath primitive attribute
Creates a subnet for all the individual Group containers
Centers each of the groups
This function can also be called via python
from OD import shelftools
shelftools.primGroupSplit(nodes=None, pivot=-1, stripPrior=-1, subnet=-1, zeroTrans=-1)
# nodes is an array of nodes
# for any parameter thats -1, you will get a popup asking for your choice, otherwise
# 0 is disabling the option
# 1 is enabling the option