5.12.11.29.1.2. Classify by using a prefix or regular expression

[Note]Note

For a large number of connection points which have to be classified in the same way, using a prefix or a regular expression makes sense. In this way the specified number of points has only to be classified one time.

It doesn't matter if the points are applied separately or as pattern.

This procedure is also useful for different groups of patterns.

5.12.11.29.1.2.1. Classify a number of connection points in the same way

If a large number of connection points are to be classified in the same way, it makes sense to use a prefix or regular expression. In this way, you only have to classify the specified number of points once. To do this, use the context menu command Select connection points via formula [Choose connection points via formula].

[Note]Note

It doesn't matter if the number of points have been created separately or as pattern or if some points are only displayed conditionally.

  1. Parts with conditional connection points should be classified in the state where all available points are shown in the 3D view.

    Therefore, first select the tab file and then the last line in the table (or the line where all connection points are displayed).

    In this example of Wago connector, all connection points are shown when selecting row 23.

    In this example of Wago connector, all connection points are shown when selecting row 23.

  2. Select the 3db file. All available connection points are now displayed. All points are also displayed in the Select connection point [Choose connection point] dialog box. You can now classify individual connection points, which would not make sense in this case because a large number of connection points are classified in exactly the same way.

  3. Therefore, call up the context menu command Select connection points via formula [Choose connection points via formula]. This function allows you to classify a set of connection points in exactly the same way in a single step.

    -> The same-named dialog box is opened.

  4. Enter "L" under Prefix with which the name begins [Prefix at the beginning of the name] and confirm with OK.

    -> Classes and features are displayed below the preview [Preview]. The following features are already filled:

    • 3D Filename

    • 3D identification: A regular expression was automatically generated.

      L.*

      Meaning: "L followed by a number of any characters." [Point stands for any character, asterisk for any number of times.

  5. Under Class name, select the Electrical Connection option and activate the checkmark at the beginning of the line.

    -> An entry appears under Published elements.

  6. Set all desired characteristics. (Here, for example, only connection type [Connection type] = push-in.)

  7. Click on Save. (If necessary, close and restart PARTproject.)

  8. Click on the Show texts and classes iconicon to show the labels.

    -> The desired attribute has been set for all connection points, whose name begins with "L".

    The characteristic "Connection type [Connection type] = push-in" was set as an example.

    The characteristic "Connection type [Connection type] = push-in" was set as an example.

  9. Select the project file and open by clicking on ... to open the characteristics of the CNS classification.

    [Note]Note

    Only ONE instance of 3D identification was created for all connection points beginning with "L".

5.12.11.29.1.2.2. Classify groups of patterns

For products with different classifications for groups of connection points, we recommend using the function Select connection points via formula [Choose connection points via formula], whereby you name those connection points that you want to classify in the same way with the same prefix.

You then only need to enter the prefix in the Add points [Choose connection points via formula] dialog via Select formula [Choose connection points via formula]. Here in the example once "A_" and once "B_". Otherwise, see the description at Section 5.12.11.29.1.2.1, “Classify a number of connection points in the same way”.