Function GetFName returns the current file name of the active document.
FUNCTION GetFName : STRING;def vs.GetFName():
return STRINGSee also: GetFPathName, which returns the fully qualified path of the active document.
resultStr := GetFName;import vs
# Function GetFName returns the current file name of the active document.
name = vs.GetFName()
vs.Message('GetFName returned: ' + str(name))Availability: from All Versions