Set
- Last UpdatedDec 02, 2025
- 2 minute read
This can be seen as an on-line editor of position numbers. The user is prompted for a part type that will be valid for the following settings. Now a position number can be keyed in (possibly including prefix and/or suffix) and parts can be selected. Position numbers are being prompted for until either Operation Complete or Quit is pressed. Choosing Options or Cancel allows the user to select a new part type.
All parts in the drawing that belong to the current scope that carry a position number identical to the given one are now highlighted.
At this point a check is performed to avoid ambiguous behavior later on. Unless all highlighted parts are considered to be equal, a warning message is printed to the message window. This means that the position number is ambiguously given for the specific part type within the current scope. This will also result in that future selections will be rejected due to that it is impossible for a new part to equal all current parts.
All parts that are hereafter selected by the user (until pressing Operation Complete) are compared with parts already carrying the given position number. If the selected part equals all already collected parts it is accepted and its position number is noted for update (within the panel object), hereby highlighting the part.
While selecting parts, pressing Options will display a list window containing all parts currently selected. These are preceded by‘*' to the left. Besides that, all parts within the current scope that already contain the current position number are listed. This could be valuable when the selection of a part is denied due to the equality check.
The part does not get updated with a new position number (if all conditions are set) until Operation Complete has been used to terminate the function. This means that there is always a possibility to regret the latest chosen part in the order of selection. This is done by, when prompted to select a part, pressing Cancel instead. This will deselect the latest approved part and thereby its highlighting is switched off. By doing this repeatedly, all choices in the current session can be made undone.
For all parts for which the updating of the position number did not succeed, there will be a signal in the message window. If no notification is printed, the panel has been updated.
In case an empty position number string is supplied, no comparison neither with already existing parts nor with the selected part type is done. This means that the part position number will be unconditionally blanked.