Lock a container
 
 
 

You can lock unpublished attributes for nodes inside containers so that their contents cannot be changed. This is a useful precautionary measure when you want to protect sensitive components from accidental changes.

When a container’s unpublished attributes are locked, you cannot:

You can:

Any published attributes and nodes are unaffected when a container is locked. Thus, locking unpublished attributes is an easy way to promote the use of a container’s interface over modifying its internal node attributes.

NoteWhen you lock unpublished attributes on a container, the unpublished attributes of any sub-containers are automatically locked as well.

To lock all unpublished attributes

  1. Select a container or any object in the container.
  2. Select Assets > Lock Unpublished Attributes.

    All unpublished attributes for nodes in the container are locked.

To unlock all unpublished attributes

  1. Select a container.
  2. Select Assets > Unlock Unpublished Attributes.

    All unpublished attributes for nodes in the container are unlocked.

Locking and referencing

You can lock all unpublished attributes when saving a container for use when a container is referenced by a parent file. This allows you to lock all unpublished attributes from the parent file’s perspective, without locking them in the working (child) file.

NoteIn general you cannot lock/unlock a referenced container’s attributes from a parent file.

To lock unpublished attributes for referencing

  1. Create your geometry and place it in a container.
  2. Publish the appropriate attributes to the container.

    Make sure to publish any attributes that are needed by the parent scene.

  3. Select File > Save Scene As > .

    The Save As Options window appears.

  4. In the Referencing Options section, set Container unpublished to Lock.
  5. Optionally, you can set Lock File to Lock as well.

    This prevents users from saving any reference edits to this file from the parent file.

  6. Select Save As and enter a name for the file.

    When the file is saved, all the unpublished attributes for all containers in the scene are locked. These attributes cannot be unlocked from the parent file.