Object locks, drawing locks, and privileges in Tekla Model Sharing

Tekla Structures
2018
Tekla Structures
Tekla Model Sharing

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 model objects and the shared drawings.

Object locks

You can lock assemblies 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 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 object level.

Note:

The organization information is based on the Windows user account, not on the Trimble Identity.

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:

  1. On the File menu, click Settings > Advanced options > Modeling Properties.

  2. Set the advanced option XS_​OBJECTLOCK_​DEFAULT to ORGANIZATION.

  3. Click OK.

    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 lock statuses:

  1. On the Manage tab, click Locks.

    The Object locks dialog box opens.

  2. Select the objects in the model.

    The object selection can be done on the assembly level 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.

  3. 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.

  4. 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.

You can use the following template fields in report templates to report the lock statuses: ASSEMBLY.OBJECT_​LOCKED , ASSEMBLY.OWNER_​ORGANIZATION and ASSEMBLY.LOCK_​PERMISSION.

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.

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, other users cannot make any changes to the drawing.

To lock a drawing for editing:

  1. Read in all the model changes.

  2. 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.

  3. Write out to share the drawing lock information.

  4. To edit the drawing, open the drawing locks.

  5. Edit the drawing as needed.

  6. Write out to share the updated drawings.

Privileges

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:

  1. Close the model.

  2. Open the privileges.inp file in any text editor.

  3. Change the desired settings and save the privileges.inp file to your model folder.

  4. Re-open the model.

  5. Write out to share the privileges information.

Was this helpful?
Previous
Next