2.3.5.1.1.  Key "FileName"

Name of the geometry (content). Name of the content file in pool directory, File extension "pkg".

Default value

FileName(isCreaOptNotSet)=?_CALCNAME.start(0).Format("<GENNAME>")
.RepChar("?<>\\%$~^'\" /@-=,+().|][;:!*#&","_").RepRegExp("^_","",1)
.RepSeq("__,_").MaxLen(128).add(".pkg").value()

<GENNAME>: The file name contains the Standard Name (NB).

RepChar("?<>\\%$~^'\" /@-=,+().|][;:!*#&","_").RepRegExp("^_","",1).RepSeq("__,_"): Replace denied characters

MaxLen(128): Maximal length of file name

[Note]Note

A document has 2 files and 2 display names.

  • FileName = Name of the geometry (content), name of the content file

  • DisplayName = Name of the instance

  • InstanceFileName = Name of the instance file

    If "InstanceFileName" is not set, then for this "DisplayName" is used.

    If "DisplayName" is not set, then for this "FileName" is used.