Your Ad Here

Token (EventInfo)

Description

The connection token for this event. Once an event is bound to an event handler function, XSI creates a connection token that uniquely identifies this connection. The caller uses this token later to delete the connection by passing it to the XSIApplication.Unadvise method.

Return Value

String

Examples

VBScript Example

'VBScript example
on error resume next
Application.Advise "OnBeginSceneSave","C:\MyEventHandler.vbs",,,"ABCSaveSceneEvent"
set info = Application.EventInfos("ABCSaveSceneEvent")
LogMessage "Token: " & info.Token
Application.Unadvise info.Token


 

Return to Softimage XSI Index


Your Ad Here