Hide Table of Contents

Creating a Serial Number from a String

To create a serial number from a string:

  1. Right-click Serial Numbers and select New Serial Number.
  2. In the Serial Number dialog box, type the serial number name.
  3. For Type, select String.
  4. Use the Format string field to build the string:
    1. Type text that you want to stay the same in the string. For example, if you start the format string by typing the letter D, the serial number will always start with D.
    2. Click to select dynamic (changing) variables.

      For example, selecting Counter value and 0001 creates a decimal counter with four digits, using 0 as the place filler.

      The number of digits does not restrict the serial number. If you use four digits and the counter passes 9999, 10000 will be the next value.

      Variables appear as blue controls in the edit field. You can add more than one variable to the field.

    Example text shows how the serial number will read.
  5. In Next counter value, set the starting value for the serial number. You can start from any integer number.
  6. Click OK.
Use the serial number in card controls or template variables.


Provide feedback on this topic

SOLIDWORKS welcomes your feedback concerning the presentation, accuracy, and thoroughness of the documentation. Use the form below to send your comments and suggestions about this topic directly to our documentation team. The documentation team cannot answer technical support questions. Click here for information about technical support.

* Required

 
*Email:  
Subject:   Feedback on Help Topics
Page:   Creating a Serial Number from a String
*Comment:  
*   I acknowledge I have read and I hereby accept the privacy policy under which my Personal Data will be used by Dassault Systèmes

Print Topic

Select the scope of content to print:



x

We have detected you are using a browser version older than Internet Explorer 7. For optimized display, we suggest upgrading your browser to Internet Explorer 7 or newer.

 Never show this message again
x

Web Help Content Version: SOLIDWORKS PDM 2016 SP05

To disable Web help from within SOLIDWORKS and use local help instead, click Help > Use SOLIDWORKS Web Help.

To report problems encountered with the Web help interface and search, contact your local support representative. To provide feedback on individual help topics, use the “Feedback on this topic” link on the individual topic page.