XSIApplication.GetObjectFromID
 
 
 

XSIApplication.GetObjectFromID

Introduced

v7.0

Description

Returns the object matching the specified ID. Object IDs are generated by Softimage and can be retrieved with ProjectItem.ObjectID or Shape.ReferenceID.

Note: This method could return an invalid object in python, use XSIApplication.GetObjectFromID2 instead.

C# Syntax

ProjectItem XSIApplication.GetObjectFromID( Int32 in_nID );

Scripting Syntax

oReturn = XSIApplication.GetObjectFromID( ID );

Return Value

An object derived from ProjectItem

Parameters

Parameter Type Description
ID Long The ID of the object to search.

See Also

ProjectItem.ObjectID Shape.ReferenceID