Preliminary Marks extension
Purpose and description
The extension allows writing and clearing the Part position and Assembly position number for All or Selected parts into/from Preliminary Mark & Preliminary Assembly mark of the part UDA (User Defined Attribute) located on the Parameters tab of the Part and Assembly.
Following UDAs
- USERDEFINED. PRELIM_MARK
- USERDEFINED. PRELIM_ASSEM_MARK
might be called on reports and drawings templates for tracking numbering changes is suitable.
The extension always warns the user before any change is made.
Also catching if numbering on parts is up to date and warning on overriding values (if any were set previously) before writing/updating the UDAs.
Requirements
The tool is available for Tekla Structures 2019+with corresponded TSEP installed to each version.
Environments: All
Languages: English
Installing Preliminary Marks
To install the extension:
- Download the extension from Tekla Warehouse.
- Make sure that Tekla Structures is closed.
- Run the installation by double-clicking on the TSEP icon.
- Select the corresponding version and click Import.
- Open Tekla Structures - the extension will be installed and available for the version installed under the Applications & components side pane of Tekla Structures:
Uninstalling Preliminary Marks
To uninstall the extension:
- Open Tekla Structures.
- In the quick launch type Extension Manager and run it:
3. Search for the extension typing Preliminary Marks. Click on the Remove button as shown below. Then the extension
will be queued for removal:
- RestartTekla Structures and the extension will be uninstalled.
Using Preliminary Marks
After launching the extension from the Applications&Component side pane, the user will see the following dialogue on the screen:
By default, the extension runs on Selected Parts, but the user can change the selection to All if required.
- If the user tries to run the extension with Tekla Structures closed or any other version of Tekla Structures opened, the following message will display (2021 is an example below). The extension can be closed by clicking the OK button.
If “Ok” is selected, the extension will be closed.
- ASSIGNING MARKS: If the extension is run on “All Parts” (Save or Clear), and the model doesn’t contain any parts, the user will get a “There is no parts in the current model” message in the status bar (located at the bottom left corner of Tekla Structures):
- If the extension is run on “Selected Parts” (Save or Clear), and the model doesn’t contain any parts or a part(s) not selected, the user will get a message “Please select Parts to run the tool” in the status bar:
-
SCENARIO 1 (Numbering is up to date – Preliminary marks are empty on parts):
If All or Selected parts are selected and numbering is up to date for all or selected parts and preliminary marks UDAs are all empty (haven’t been set before) then on the Save Marks button, the user will get the following message prompt:
For “Selected parts”:
For “All parts”:
-
SCENARIO 2 (Numbering is not up to date – preliminary marks are empty on parts):
If All or Selected parts are selected and numbering is not up to date for all or selected parts and preliminary marks UDAs are all empty (haven’t been set before) then on the Save Marks button, the user will get the following message prompt:
For “Selected parts”:
For “All parts”:
If “No” is selected, the extension does nothing.
If “Yes” is selected, then the extension will be writing preliminary marks with the following message:
and after the run following will message will be displayed:
For “Selected parts”:
For “All parts”:
-
SCENARIO 3 (Overriding existing Preliminary marks – Numbering is up to date):
If All or Selected parts are selected and numbering is up to date for all or selected parts and preliminary marks UDAs have been previously assigned then on the Save Marks button, the user will get the following message prompt checking if any parts have preliminary marks set previously (both or one of the marks were set previously):
If any parts with previously marks assigned are found, then the extension will display the following message prompt:
For “Selected parts”:
For “All parts”:
If “No” is selected, the extension does nothing.
If “Yes” is selected, then the extension will be overriding existing preliminary marks on parts with the following message:
and after the run following will message will be displayed:
For “Selected parts”:
For “All parts”:
-
SCENARIO 4 (Overriding existing Preliminary marks – Numbering is not up to date):
If All or Selected parts are selected and numbering is not up to date for all or selected parts and preliminary marks UDAs have been previously assigned then on the Save Marks button, the user will get the following message prompt:
For “Selected parts”:
For “All parts”:
If “No” is selected, the extension does nothing.
If “Yes” is selected, then the extension will be checking if any parts have preliminary marks set previously with the following message:
If any parts with previously marks assigned are found, then the extension will display the following message prompt:
For “Selected parts”:
For “All parts”:
If “No” is selected, the extension does nothing.
If “Yes” is selected, then the extension will be overriding preliminary marks with the following message:
and after the run following will message will be displayed:
For “Selected parts”:
For “All parts”:
- CLEARING MARKS: If All or Selected parts are selected, the extension will warn the user with the following message before clearing marks from parts:
For “Selected parts”:
For “All parts”:
If “No” is selected, the extension does nothing.
If “Yes” is selected, then preliminary marks will be cleared from All or Selected parts and the message will be displayed respectively:
For “Selected parts”:
For “All parts”:
If “No” is selected, the extension does nothing.
Additional information
The user can check the assigned value of the attribute on the tab specified above.
Alternatively, using custom Display settings for PRELIM_MARK and PRELIM_ASSEM_MARK as:
USERDEFINED. PRELIM_MARK
USERDEFINED. PRELIM_ASSEM_MARK
Then use the redraw view command to update the view after the extension completes each change and check that the changes are completed as expected.