References and Instances Behavior for Editability Switch

This page describes the behavior of references and instances of a structure during a switch of editability.

The examples in this page are with the forbid mode. In the warning mode, the behavior is similar, but the errors are warnings.

Consider the following tree:

In this structure, DOC_Root is a reference. The other items are instances. A reference is a unique object in the database, while an instance is the usage of this object under another one. For more information, see 3DEXPERIENCE | PLM Components | PLM Components | Basic PLM Objects.

When you select an instance, the Switch to Edition dialog box appears. If you select both the Instance and Reference options, two elements are items: the unique object in the database (the reference), and its usage in the structure (the instance). For example, when you select both options:

  • If you select a reference and an instance in the structure, three items are switched: the reference that you selected in the structure, the instance that you selected in the structure, and the reference corresponding to this instance.
  • If you select two instances in the structure, that correspond to two different references, four items are switched: the two instances that you selected, and the two references corresponding to these instances.
  • If you select two instances in the structure, that correspond to the same reference, three items are switched: the two instances that you selected, and the reference corresponding to these instances.

The editability mechanism doesn't fully support reusable representations and errors may occur when replacing a reusable representation.

Recommendation: To replace a reusable representation in a structure, lock the representation instance with the Lock command, and immediately replace this representation instance with the required representation. The new representation instance is tracked by the editability mechanism.

When you select a reference with a composed representation reference, the composed representation reference is included in the list of items to switch even if you did not select it (for example, the 3D shape of a 3D part). For more information, see 3DEXPERIENCE | PLM Components | PLM Components | Basic PLM Objects.

For example, when you select both options, if you select an instance with a 3D part as a child, three items are switched: the instance that you selected, its child 3D part, and the composed 3D shape of this 3D part.

Note: An error message appears when you cannot switch the 3D part and the instance. When errors are raised, you can open click Editability Report to view more details about them.