Customization > Automation Interface > Functions > For User Interface > Functions for Models > GetCurrentModelReference function (automation interface)
GetCurrentModelReference function (automation interface)
Syntax:
GetCurrentModelReference
The GetCurrentModelReference function returns the Reference property value of the active Model in Modeler.
Examples
In this example, the Reference property of the active model is displayed in a message box.
strModRef = Studio.GetCurrentModelReference()
Call Msgbox(strModRef)
Was this helpful?