XSIApplication

Object Hierarchy

Inheritance

SIObject
   Application
       XSIApplication

Introduced

1.5

Description

The XSIApplication object derives from the Application; its properties and methods are specific to Softimage, whereas Application contains only generic properties and methods. XSIApplication manages access to high-level objects such as the Softimage active Project, Selection object, Softimage Command objects, etc.

XSIApplication is an intrinsic object that represents the running instance of the Softimage application. An intrinsic (global) object is one that you can refer to by name in your code without creating an instance of it first; in this case the name is Application. In other words, script writers can assume that there is a global variable with the name 'Application' of type 'XSIApplication'.

However, within NetView scripts this object is not available as an intrinsic so it is neccessary to explicitly create an instance of the XSIApplication object. The scripting syntax for explicitly creating an XSIApplication object within NetView is illustrated below in the examples.

In normal (non-Netview) VBScript and JScript code it is possible to drop the "Application." prefix and call methods and properties of this object directly. For example calling "LogMessage" is actually a short form for "Application.LogMessage". This syntactic shortcut is not available to Python or PerlScript.

It is also possible to invoke all Softimage Commands as if they were methods of XSIApplication. This is the best way to invoke commands inside Python and PerlScript and for all script languages that run inside Netview.

Methods

ActivateWorkgroup

AddCommand

AddWorkgroup

ClassName

CreateAddon

CreateCommand

CreateProject

ExecuteCommand

ExecuteScript

ExecuteScriptCode

ExecuteScriptCommand

GetCommandByScriptingName

GetInstallationPath2

GetObjectFromID

GetShaderDef

InstallAddon

IsClassOf

IsEqualTo

LoadPlugin

LogMessage

RegisterShaderCustomParameterType

RegisterShaderFamily

RemoveCommand

RemoveWorkgroup

RescanWorkgroups

UnInstallAddon

UnloadPlugin

UpdatePlugins

Version

 

 

 

Properties

ActiveProject2

ActiveSceneRoot

ActiveToolName

Application

Categories

Commands

Desktop

Devices

Dictionary

EventInfos

FCurveSelection

Filters

FullName

Help

InstallationPath

Interactive

License

Name

NestedObjects

Origin

OriginPath

Parent

Platform

Plugins

Preferences

Renderers

Selection

ShaderDefinitions

StatusBar

Type

Workgroups

 

See Also

Application

Examples

• See XSIApplication.1.vbs

• See XSIApplication.2.vbs

• See XSIApplication.3.js

• See XSIApplication.4.js

• See XSIApplication.5.pys

• See XSIApplication.6.pys

• See XSIApplication.7.pys



Autodesk Softimage 2011