Group-keep pivot @ child of grouping

Good day all!

In the following short video,

I show grouping with the typical ctrl-G and then typing group in the MEL command line in Maya.

The first has the expected result, the pivot snaps to the origin/world…no biggy.

However, when I type the group command without any flags(I tried them all-still not the needed result), the pivot neither goes to the origin(as expected),nor the joint, instead it snaps somewhere in between.

Now I’m told, “Well it should go stay at the pivot of the child that the group is over”, however, it’s not doing what it “should.”

Any ideas?

There is a setting under Edit->Group that has this group pivot setting (Center)
checking script editor it’s executing command ‘doGroup’ rather than ‘group’

C:\Program Files\Autodesk\Maya2016\scripts\others\doGroup.mel

doGroup also does this command if Group pivot is set to Origin
“; xform -os -piv 0 0 0”

when grouping with script I usually create empty groups then offset them with constraint or xform. After this they are ready for children

edit: to be clear, ctrl-G is doing doGroup rather than the mel command ‘group’. Hope this helps