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. While the model is locked, a user can investigate the model to identify the problem.
Next, the lock owner investigates the model. When the model version that caused the problem has been identified, you can delete it.
Delete a model version
Before deleting a model version, the lock owner can investigate the model to identify which version caused the problem. It is also possible to delete a model version without further investigating it.
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 box, 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.
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 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.
-
As the administrator, lock
the model and select a user as the lock owner.
-
As the named lock owner,
investigate the model.
- Open the locked model in Tekla Structures.
- Read in and write out packets to find the problem.
- When you have identified the problem, inform the administrator which model version to delete.
-
As the administrator, delete
the model version that caused the problems.
- 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.
- Click Delete versions.
-
As the administrator, unlock
the model.