powered by CADENAS

Manual

Manual

2.3.3.1.1.  Key "FileName"

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

Default value

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

<GENNAME><MATERIAL(_)>: The file name contains the Standard Name (NB) and the material (if existing). Additional information on Material with or without integration is found below.

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

MaxLen(128): Maximal length of file name

Customers updating the PARTsolutions from version 8.1 to 9/10 please take care to get the same behavior again. In case of doubt please contact CADENAS Consulting.

[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.