SIObject.Application
 
 
 

SIObject.Application

Description

Returns the XSIApplication object. It is rarely necessary to call this method because an instance of XSIApplication is available to scripts as an "intrinsic" (global) object by the name "Application".

C# Syntax

// get accessor
Application rtn = SIObject.Application;

Examples

VBScript Example

'
'       This example displays the application's name
'
set oObj = ActiveProject.ActiveScene.Root.AddGeometry("Sphere", "NurbsSurface")
LogMessage oObj.Application.Name