Accessing Global Variables

You can insert information such as your user name and the current date with global variables.

Name

Description

%ActiveModel%

(object) Returns the UID of the model. Use %ActiveModel.Name% to obtain the name of the model.

%GenOptions%

(struct) Returns the model generation options.

%PreviewMode%

(boolean) Returns true in the Preview tab, false when generated to a file.

%CurrentDate%

(string) Returns the current system date and time formatted using local settings.

%CurrentUser%

(string) Returns the current user login.

%NewUUID%

(string) Returns a new universally unique identifier.

Example
This file was generated from %ActiveModel.Name% by %CurrentUser% on %CurrentDate%.
Result:
This file was generated from My Model by jsmith on Tuesday, November 06, 2012 4:06:41 PM.