Creo™ Schematics 4.0 Help Center > Design Basics > Working with an Internal Catalog > Internal Catalog Parameters > The Name Parameter > About User-Defined Alphanumeric Sequences in Names
  
About User-Defined Alphanumeric Sequences in Names
To apply a user-defined alphanumeric sequence to the Name_Format parameter of an instance, you must implement a Java function for the AlphaNumericSequence interface. This Java function replaces a user-defined pattern (for example, #key#) in the name_format parameter with the corresponding alphanumeric sequence.
The Java function accepts the following parameters:
The name_format parameter.
A serial number whose corresponding alphanumeric sequence is to be used to replace the user-defined pattern.
* 
The Java function must return a valid string, because the string is the instance name. For example, if the Name_Format parmeter maps to P_#key# and the alphanumeric sequence to be used is HH, then the function parameters are P_#key# and the serial number corresponding to HH.
Place the Java function in the directory to which the environment variable CLIENT_CLASSPATH points. This directory is searched at startup. A Java class that implements the AlphaNumericSequence interface is found, and it uses the Java function throughout the design.