This command returns the coordinates of the center of the bounding box of the specified object. If one coordinate only is specified, it will be returned as a float. If no coordinates are specified, an array of floats is returned, containing x, y, and z. If you specify multiple coordinates, only one will be returned.
Return positional values in global coordinates (default). Flag can have multiple arguments, passed either as a tuple or a list.
Return positional values in local coordinates.
Return X value only
Return Y value only
Return Z value only
Derived from mel command maya.cmds.objectCenter