OpenXSIExplorer

Introduced

v4.0

Categories

view

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

oReturn = OpenXSIExplorer( [Scope], [Viewer], [InputObjs], [ShowToolbar], Title, [Reuse] );

Return Value

Returns the new XSI Explorer view as an View object.

Parameters

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

Possible Values:

Description:

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 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

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

OpenView