Introduced
4.0
Description
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.
Scripting Syntax
OpenXSIExplorer( [Scope], [Viewer], [InputObjs], [ShowToolbar], Title, [Reuse] )
Parameters
|
Parameter |
Type |
Description |
|
Scope |
The tree scope to show in the Explorer Default Value: siExplorerScopeDefault |
|
|
Viewer |
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 Possible Values: • Schematic: Schematic • Object View: Object View • Render Tree: Render Tree • Explorer: Explorer • Texture Editor: Texture Editor • Image Clip Viewer: Image Clip Viewer • Property Editor: Property Editor |
|
|
InputObjs |
List of objects (for example "cone"). Default Value: Currently selected objects |
|
|
ShowToolbar |
Should we show the XSI Explorer toolbar? Default Value: True |
|
|
Title |
Special window title (can be empty for default title). Default Value: "" |
|
|
Reuse |
Set to true to reuse the OpenXSIExplorer with focus; otherwise, a new copy of OpenXSIExplorer is opened. Default Value: True |
Return Value
Returns the new XSI Explorer view as an View object.
Examples
VBScript Example
'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"
See Also
Autodesk Softimage v7.5