XSIApplication.GetObjectFromID2

Introduced

v11.0 (2013)

Description

Returns the object matching the specified ID. This method is similar to XSIApplication.GetObjectFromID but specific to the python language.

C# Syntax

Object XSIApplication.GetObjectFromID2( Int32 in_nID );

Scripting Syntax

oReturn = XSIApplication.GetObjectFromID2( 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