Sequence Editor

The sequence editor is used to create and edit the sequences.


Required settings:

Sequence name Defines the name of the sequence.
Min value Defines the minimum value of the sequence. The value equals with the Next value by default.
Max value Defines the last code available for the sequence. Once the maximum value is reached, no more codes can be generated until the sequence is modified.
Next value Defines the value of the first code generated from the sequence.
Increment by Determines how much the sequence increments when the user generates the next value from the sequence.
Format data Specifies the format string for the sequence and how the code will be generated. Zeros (0) will be added in front of the number if the current document number is shorter than the formated style.
Info TIP: Right-click on the Format data box or click the # button to select the numbering format.


Format Data Blob Colors:

The Format data box in the sequence editor is used to specify the formatting of the code retrieved from the sequence. In the Format data box in the sequence editor you can use the pre-defined formattings for the sequence to define the amount of digits the sequence code is presented with. The following colors are used to identify the blobs in the sequence data formatting:

  Pre-defined function
  Invalid item

If you get the invalid item blob into the Format data box, please ensure that the item selected in the format data exist.



Optional settings:

Use project specific sequence numbering The sequence starts from the first number in each project where the sequence is used. Select this option to use the project specific document codes starting from the first value with each project.

If this option is not selected, the sequence is used globally and the new numbers are generated continously with all projects.

Rollback value after associated file is deleted The value that was in use by a document referenced in an assembly is rolled back for new use when the document used to have the code earlier, is deleted from inside the assembly it was referenced in.

This option works also project specific way so, if the project specific numbering is in use, the sequence number is rolled back only in the project where the deleted document was assigned to.

Next value generated based on value of property Select CustomProperty from the Next value generated based on value of property box to determine the desired CustomProperty which value the code generation from the selected sequence depends on.


Rolling Back the Sequence:

The sequence number is rolled back to release the code from the deleted file for the later usage when the file is being deleted in the following use cases:



Use Case Examples:

Case 1: A sub-assembly is deleted from inside the upper level assembly

When you delete a whole sub-assembly from the parent assembly, all sequence numbers used by the sub-assembly and its' components are released for the later use with the new components created into the same assembly.


Case 2: A part is deleted from inside the assembly

When you delete a part from the assembly, the number reserved by the part from the sequence having the Rollback value after associated file is deleted option selected is also released so that the number used by the part will be available for the other parts you create later inside an assembly the old part was deleted from.

Info NOTE: Any sequence number does not roll back for later use when the files are deleted for example using the Delete File command available in File Operations menu in the CustomTools Commands bar. This apply to all dialog boxes and use cases when the Delete File command is used from the CustomTools Commands bar.




Related Topics

Sequence options
Setup your CustomTools projects using the Projects options

Tutorial: Using Sequences

Back to Top