Lock models and delete model versions in the Management Console
In the Management Console, you can lock models for investigation and delete versions from models to resolve issues with changes in the model.
Lock a model for investigation
If a shared model has changes that might cause problems, you can lock the model to prevent any further changes in the model.
After locking the model, you can select a lock owner to investigate the model. While the model is locked, only the lock owner can read in and write out packets.
After investigating the problem, you can delete or unlock the model.
By default, models are locked automatically if malware is detected. For more information, see Manage a model where malware was detected.
Next, the lock owner investigates the model.
Delete a model version
Only an administrator can delete a model version. Before an administrator deletes a model version, the lock owner usually investigates the model to identify which version caused the problem.
When you delete a model version, the shared model reverts to the version before the one that you deleted. If there are newer versions than the one that you deleted, the newer versions are also deleted.
When model versions are deleted, the changes that have been made in those versions are lost from the model. You must make the changes that should be included in the model again and read them in.
-
In the navigation pane of
the Management Console for Tekla Model Sharing, click
Models to list all of
your organization's shared models.
-
In the Versions column for the model, click the
icon.
- Select one or more versions to delete.
- In the Add Comment box, add a comment about why you are deleting the versions.
- To inform users that the versions have been deleted, select Send email to users.
- Click Delete versions.
- To close the dialog, click Close.
If a user of the shared model has
already read in or written out any of the deleted versions, the Write out and Read in icons have red arrows
for the user, and the user must
rejoin the model.
If no users are using any of the deleted versions, the users do not need to rejoin.
A user can reserve the next write out in the model. Other users cannot write out while the next write out is reserved. If needed, you can release the write out reservation in the Management Console by unlocking the model.
After you have deleted the model versions, unlock the model.
Unlock a model
To allow users to read in and write out changes in the shared model again, unlock the model.
Users can now read in and write out changes in the shared model.
Manage a model where malware was detected
All new data that has been
uploaded for baselines and update packets written out using Tekla Structures
is scanned for malware in the Management Console for Tekla Model Sharing. If possible malware is detected, a notification is shown on the Malware scanning tab of the
Notifications page. By default, the model is automatically locked, unless
you have turned off the Lock model when malware is
detected setting.
There can be a delay in scanning a new model for malware. Some users might have already downloaded the content before the scanning was done.
- If the model in which possible malware was found has not been automatically locked, lock it by following the steps in Lock a model for investigation.
-
Investigate the
finding:
-
Take action:
- If the model does not contain malware, unlock the model by following the steps in Unlock a model.
- If the model contains malware, delete the infected version of the
model by following the steps in Delete a model version.Note: Make sure that the local copies of the model on the users' workstations and the malware itself are also removed.
The users of the shared model must rejoin the model.
Example: Locking a shared model and reverting to a previous model version
In this example, the administrator locks a model for investigation to identify a model version that causes problems, and to revert to the last valid version.
For example, a user might have accidentally deleted too many objects. When locking the model, the administrator can select one user as the lock owner who can investigate the model, and read in and write out normally. Other users of the model cannot read in or write out while the model is locked.
When the lock owner finds the model version that causes problems, the administrator deletes the model version in the Management Console for Tekla Model Sharing to restore an earlier version of the model. After the versions have been deleted, the administrator unlocks the model.
In this example, the administrator does steps 1, 3, and 4 in the Management Console. The lock owner does step 2 in Tekla Structures.
icon on the model's
row.
. Only the lock
owner can use the commands.
, and joining a
particular model are available for the lock owner.