OriginPath (SIObject)

Introduced

4.0

Description

Returns the installation path for this object as a String. Native XSI objects return the application path (default factory) whereas custom objects return the path where the plug-in file was installed.

C# Syntax

// get accessor
String rtn = SIObject.OriginPath;

Examples

VBScript Example

'
'  This example returns the current installation path 
'
set cone = ActiveSceneRoot.AddPrimitive( "cone" )
Application.LogMessage "Cone's origin path: " & cone.OriginPath

See Also

SIObject.Origin



SOFTIMAGE|XSI v6.01     

Return to Softimage XSI Index