Go to: Synopsis. Return value. MEL examples.

Synopsis

untitledFileName()

Obtain the base filename used for untitled scenes. In localized environments, this string will contain a translated value.

Return value

None

MEL examples

              // Obtain the default file name in the current language
                // 
                string $fileBaseName = untitledFileName();
                // Result: "untitled"