centerPivotToComponents
Centers the pivot for all selected nodes to the calculated center of all highlighted polymesh components.
Select one or more object's components and run this script. The bounding box center for all selected components is computed and the pivot will be adjusted for all polymesh objects to which the components are part of.