v4.0
Opens the XSI Explorer with the viewer (right-hand side) set to the input view. The explorer tree (left-hand side) shows the input object(s) with the input objects already selected.
oReturn = OpenXSIExplorer( [Scope], [Viewer], [InputObjs], [ShowToolbar], Title, [Reuse] ); |
Returns the new XSI Explorer view as an View object.
Parameter | Type | Description | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
Scope | siExplorerScope |
The tree scope to show in the Explorer Default Value: siExplorerScopeDefault |
||||||||||||||||
Viewer | String |
Which viewer to show in the XSI Explorer (for example "Object View"). Default Value: None - the XSI Explorer will default to the last viewer shown
|
||||||||||||||||
InputObjs | String |
List of objects (for example "cone"). Default Value: Currently selected objects |
||||||||||||||||
ShowToolbar | Boolean |
Should we show the XSI Explorer toolbar? Default Value: True |
||||||||||||||||
Title | String |
Special window title (can be empty for default title). Default Value: "" |
||||||||||||||||
Reuse | Boolean |
Set to true to reuse the OpenXSIExplorer with focus; otherwise, a new copy of OpenXSIExplorer is opened. Default Value: True |
'Create an object and set a key on it CreatePrim "Cone", "MeshSurface" Translate , -7.92963227268228, 5.31226706028277, -0.531226706028277, siRelative, siView, siObj, siXYZ SaveKey "cone.kine.local.posx,cone.kine.local.posy,cone.kine.local.posz", 1 'Open the XSI Explorer with the default viewer OpenXSIExplorer 'Open the XSI Explorer with the Object Viewer as the viewer and automatically show the input object OpenXSIExplorer "Object View", "cone" |