Set object locks, drawing locks, and privileges in Tekla Model Sharing
You can use object locks, drawing locks, and privileges to prevent other users from accidentally modifying the shared model objects and the shared drawings, and to control other users' access to particular attributes, files, and settings.
Set object locks
You can lock assemblies and cast units, and model objects to prevent accidental modification and numbering of objects. This is useful when there are multiple organizations working with the same shared model, and the organizations want to prevent changes to the assemblies, cast units, and model objects that they have created.
Organization lock means that assemblies, cast units and model objects are locked so that users who are not employees of a particular organization cannot modify them. The assemblies, cast units and model objects are marked as locked For others in the Object locks dialog box (Manage > Locks). We recommend that you use the Assemblies option for locking as this also prevents the editing of objects in the assembly.
The organization information is based on the Windows user account, not on the Trimble Identity.
We recommend that you use the
XS_OBJECTLOCK_DEFAULT advanced option to set the default lock status to
ORGANIZATION so that assemblies, cast units and model objects are automatically locked
For others when they are created.
Set the default organization lock status
You can automatically set the default lock
status for all new assemblies and cast units when they are created. Use the
XS_OBJECTLOCK_DEFAULT advanced option to set the default lock status.
The default lock status can be
NO. When you start to share the model, the default lock
status is set for all assemblies and cast units that do not have any lock status
To set the default organization lock status:
On the File menu, click .
Set the XS_OBJECTLOCK_DEFAULT advanced option to
All new assemblies and cast units are locked for your organization, and their lock status in the Object locks dialog box is For others. The users in your organization can modify the objects in the assemblies and cast units. Note that users who are not in your organization see the locked status as For us.
Change the lock statuses
To change the lock statuses:
On the Manage tab, click Locks.
The Object locks dialog box opens.
Select the objects in the model.
You can select the objects on the assembly and cast unit level, or on the model object level. Use the Assemblies and All object types options, and the Sub-objects check box to define the level of selection.
Click the Add objects button to add the assemblies, cast units, or the objects to the list.
Once the objects are on the list, you can check their Object type, Name and Locked status.
To change the status of the locks, select the assemblies or objects in the list or in the model, and a new lock value from the list at the bottom of the dialog box, and click Set.
The lock status is changed.
How the object locks are set What is locked
Assembly is set to Organization (the Locked status is For others) and the objects in the assembly are set to No.
Assembly and the objects in the assembly are locked for your organization, and users in your organization can modify the assembly or the objects in the assembly.
Users in other organizations cannot modify the assembly or the objects in the assembly. Assembly and the objects in the assembly are green in the model.
Assembly is set to Yes and the objects in the assembly are set to No.
Assembly and the objects in the assembly are locked for all users, no one can modify the object.
Assembly and the objects in the assembly are red in the model. It is not possible to delete, modify or number the assembly or the object.
Assembly is set to No and the objects in the assembly are set to No.
Assembly or the objects in the assembly do not have any locks, anyone can modify the objects.
Assembly and the objects in the assembly are green in the model.
If you want to clear the list, click the Reset data button .
In addition, you can use the object representation to visualize the locks. When you share the object representations, other members in the project can visually check the lock statuses.
Set drawing locks
You can lock drawings to prevent accidental modifications and to reserve drawings for editing. If a drawing is locked and the lock is shared, use a snapshot instead.
Read in all the model changes.
Open Document manager, enable direct editing , and click the Lock column next to the drawing.
The Locked by column in the Document manager shows the user who has locked the drawing.
Write out to share the drawing lock information.
To edit the drawing, open the drawing locks.
Edit the drawing as needed.
Write out to share the updated drawings.
The drawing can also be unlocked, unless unlocking drawings has been limited to only particular users in the privileges.inp file. If the drawing is unlocked and a user writes out the changes they made, the changes made by the original lock owner are overridden.
The user who has created the model, or anyone in the same organization, can control certain access rights to the model using privileges. In practice, the privileges of the model are controlled via the privileges.inp file. All users can change the status of locks unless the access rights are limited in the privileges.inp.
By modifying the privileges.inp file, you can control the access to:
To change the access rights:
Close the model.
Open the privileges.inp file in any text editor.
The privileges.inp file is usually found under the ..\ProgramData\Trimble\Tekla Structures\<version>\environments\<environment>\ folder. The exact file location may vary depending on the folder structure of your environment files.
Change the desired settings and save the privileges.inp file to your model folder.
Re-open the model.
Write out to share the privileges information.