Introduced
5.0
Description
Centers the selection in one or all the 3D views (in the view manager).
Note: This command behaves the same as FrameSelection except that it does not zoom in on the selected object.
Scripting Syntax
CenterSelection( [AllObjects], [AllViews], [View] )
Parameters
|
Parameter |
Type |
Description |
|
AllObjects |
True to center all objects. If this parameter is set to true, the selection is ignored. Default Value: False |
|
|
AllViews |
True to center all views at once. If this parameter set to true, the View parameter is ignored. Default Value: True |
|
|
View |
Viewport in which to center the selection. You must set the AllViews parameter to false in order to affect only this viewport. Default Value: -1 (current viewport) Possible Values: • -1: Current viewport • 0: Viewport A • 1: Viewport B • 2: Viewport C • 3: Viewport D |
See Also
SOFTIMAGE|XSI v6.01