GetDocTitle
Returns the data file name.
Syntax
GetDocTitle(doc)
Parameters
Parameter |
Type |
Description |
---|---|---|
doc |
documentReference |
Reference to the document |
Return
Returns the data file name. For example, if the document has the path “C:\Data\data1.nex”, this function will return “data1.nex”
Examples
Python
import nex
doc = nex.GetActiveDocument()
fileName = nex.GetDocTitle(doc)
NexScript
doc = GetActiveDocument()
fileName = GetDocTitle(doc)