How can I remove all locks from a model?
Not version-specific
Tekla Structures
Environment
Not environment-specific
Sometimes there can be locked objects in a model that are difficult to find and unlock. This article shows how to select and unlock all locked objects in the model. The objects.inp file and filter described below are included in the attachment at the bottom of this article.
First create an objects.inp file that contains the OBJECT_LOCKED attribute as shown below or use the attached file.
Image
Copy this inp file to the model folder and open the model (the model needs to be reopened after the objects.inp file has been placed in the model folder for it to be read).
Open the User Defined Attributes diaog box for steel beams and leave this dialog box open.
Create a selection filter that will select only objects with OBJECT_LOCKED attribute set to "Yes" or copy the attached "OBJECT_LOCKED.SObjGrp" file to the "attributes" folder inside the model folder and reopen the model.
Image
Click inside a model vied to select it (it does not matter which view). As shown below, select the Select objects in components switch (1), select the selection filter described above (2), press Control+A on the keyboard and check the number of selected objects(3). This number shows how many objects have been selected.
Image
Then, as shown below, untick all selection boxes in the User defined attributes dialog box (1) and then tick the "Locked" attribute tick box (2) so that only this attribute will be modified when you click Modify. Select either blank or “No” from the drop-down list and click Modify. This will remove the lock from all the selected objects.
Image