Please enable JavaScript to view this site.

Knowledge Base

Navigation: Scripting Language > System

currentfilename

We've made some changes. Use 'Ctrl-F5' to clear your browser cache.
Scroll Prev Top Next More

Returns the current project filename and directory.

 

Supported Product: FDTD, MODE, DEVICE, INTERCONNECT

 

Syntax

Description

out = currentfilename;

Returns the current filename as a string.

If the current filename is not defined, this function returns an empty string "".

 

Examples

Gets the current filename.

?out=currentfilename;

C:/Users/myname/Documents/FDTD/myfile.fsp

 

See Also

System level, fileexists, getpath, which, pwd, fileextension, filebasename, filedirectory, currentscriptname

Copyright Lumerical Inc. | Privacy | Site Map