IObjectInstance interface

The IObjectInstance interface represents an instance in Construct.

Methods

GetProject()
Return the IProject representing the instance's associated project.
GetObjectType()
Return the associated IObjectType interface for this instance.
GetUID()
Return the UID (unique ID) the editor has assigned to this instance.
GetPropertyValue(id)
Get the value of a plugin property for this instance by its property ID. Color properties return a SDK.Color.
SetPropertyValue(id, value)
Set the value of a plugin property for this instance by its property ID. For color properties a SDK.Color must be passed as the value.
Addon SDK Manual 2020-11-16

On this page