Root Product Name

This check verifies whether the name of the product name corresponds to the one specified.

If not, the check fails.

This page discusses:

Context

The check compares the name of the root product with either a list of regular expressions, or with a combination of strings.

Note:
  • The combination of strings can consist of fixed character strings and standard model properties (definition, nomenclature, part number, revision, description).
  • Only checks for formal correctness are performed, not for correctness of the contained information.

If naming rules are not respected, problems may occur when reusing the model. For example:

  • Names can be assigned according to fixed rules so that important information can be inferred directly from the name.

  • Only a certain set of characters can be used in the name to ensure that the data can be processed in subsequent steps. Some applications cannot handle file names containing special characters.

Check Information

Check Details Description
Applicable to: VPMReference
Automatic Solution:
Check Parameters: PatternToMatchForRootName: String type.

Verifies if the name of the root product does not contain any special characters.

Note: By default, the value is ^[A-Za-z0-9/s_]+[A-Za-z0-9/-]+[A-Za-z0-9/-]+[A-Za-z0-9/-]+$.

Check Failure Resolution

If the check fails, right-click the root and select Properties. In the Reference tab, modify the value in the Part Number box.

Example

If the root name starts with any prefix string such as: MyProduct_Physical Product 001123

Then the PatternToMatchForRootName is: ^[A-Za-z0-9_]+[A-Za-z0-9/s]+[A-Za-z0-9]$