Object locks, drawing locks, and privileges in Tekla Model Sharing
You can use object locks, drawing locks, and privileges to control user access and editing rights to the shared modelmodel used for collaboration over the Tekla Model Sharing service
With a shared model, each user works with their own model and the changes are shared through Tekla Model Sharing. A shared model requires the use of a single-user model. The same model cannot be a shared model and a multi-user model.
objects and the shared drawings.
You can lockto prevent unwanted action in a model or a drawing
It is possible to lock model objects, reference models, and drawings, for example.
assemblies and model objects to prevent accidental modification and numberingprocess of assigning position numbers to parts, cast units, assemblies, or reinforcement
In Tekla Structures, the position numbers assigned in the numbering are shown in marks and templates, for example.
of objects. This is useful when there are multiple organizations working with the same shared model, and the organizations want to prevent changes to their own organization objects and drawings.
Different organizations can lock model objects so that only the users within the same organization can modify the objects. Users in one organization can change the status of their own locks on the assembly and on the cast unit level, or on the model objectobject that is represented in a model
A model object is either created in a model or imported into it.
The organization information is based on the Windows user account, not on the Trimble Identityuser account to Tekla online services and other Trimble services
For a Tekla Structures user, Trimble Identity is a single sign-on account which enables the user’s online identity management. The organization that the user’s Trimble Identity belongs to, determines the user’s access rights. Trimble Identity is needed, for example, for Tekla Campus and Tekla Warehouse, and to log in to Tekla User Assistance.
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. Additionally, when you start to share the model, the default lock status is set for all assemblies and cast units that do not yet have any lock status. Use the advanced option XS_OBJECTLOCK_DEFAULT to set the default lock status. The default lock status can be ORGANIZATION or NO.
To set the default organization lock status for all new assemblies and cast units:
On the File menu, click Settings > Advanced options > Modeling properties.
Set the advanced option XS_OBJECTLOCK_DEFAULT to ORGANIZATION.
All new assemblies and cast units are locked for your organization, and their lock status in the Object locks dialog box is For others. Only users within the same organization can modify the objects in the assembly.
Change the assembly and object lock statuses
To change the assembly and object lockuser-defined attribute that is used to protect model objects from being accidentally changed
The model objects can be locked and unlocked in the object locks dialog box and the phase manager.
On the Manage tab, click Locks.
The Object locks dialog box opens.
Select the objects in the model.
The object selection can be done on the assembly levelassembly’s place in the assembly hierarchy
The assembly level is expressed as a number.
or on the cast unit level, or on the 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 my organization, and users in my 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 representationrepresentation of a model object or an object group in a model view, such a representation being based on the color and transparency settings applied to the model object or the object group
to visualize the locks. When you share the object representations, other members in the project can visually check the lock statuses.
You can lock drawings to prevent accidental modifications and to reserve drawings for editing. If a drawing is locked and the lock is shared, other users cannot make any changes to the drawing.
To lock a drawing for editing:
Read in all the model changes.
Open the Drawing list , select the drawing and click the Lock On button.
The Locked By column in the Drawing list 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 person 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.
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.
Change the desired settings and save the privileges.inp file to your model folderfolder that is used for storing files associated with a model
Tekla Structures stores all files associated with a model in a folder it creates with the same name as the model database (.db1).
In multi-user mode all users access the same model folder.
Re-open the model.
Write out to share the privileges information.