nCenterSelection
A simple script that takes the selected object(s) bounding box and translates it to the scenes global center. It can be useful when you need to center an object which has had its transformation already been frozen.
Installation
Simply Drag-and-Drop the file onto a custom toolbar to register the script with XSI's CommandMap.
or
Run the script straight from the Script Editor. This will however have a negative impact on performance because the command will be echoed in the History Log.
Usage
1) Select your object(s) (Fig.01)
2) Execute the script
3) The object(s) should now have been moved to the global center. (Fig.02)
| Options |

|
|
Hold down the Shift-key while executing the script to center object(s) individually. This is the same as running the command individually on each object. (Fig.03) |
| Limitations |
| ● |
|
The Shift key only works if the script executes from a custom button. |
| ● |
|
Undefinied behaviour when used with items other than Primitives. |
|