On this page
When creating a model patch, you have two options to choose from: All selected content and Changes from specific version:
Selecting model patch scope in the Create a Patch dialog.
This article explains the difference between the two options and when to use each one.
All selected content
Model patches of the type All selected content can be created from and applied to local, Teamwork Cloud, and 3DEXPERIENCE projects.
Using this patch type, you can bring whole selected elements as they are. This patch type is always considered to be the source of truth, meaning that the patch content overrides your existing elements and/or adds elements that exist in the source version but not in the target.
For example, your source model contains Package A with Class A and Class B, while your target model contains Package A with Class C and Class D. You decide to apply a model patch with Package A containing Class A and Class B. Since the patch is considered the source of truth, Class A and Class B are added to the target model, while Class C and Class D are deleted.
Applying a model patch of the type All selected content.
Changes from specific version
You can only create a model patch of the type Changes from specific version from a Teamwork Cloud project.
However, you can apply this type of model patch to any project.
If you do not need to override existing elements in the target model but want to add them as concurrent changes, you can choose to bring changes from a specific version.
Example process:
- You have a Requirements package in your project trunk. You create a new project branch with 3 new requirements: 1, 2, and 3 in the Requirements package.
- Meanwhile, another user creates requirement 4 in the package Requirements of the project trunk.
- You choose to export the Requirements package as a patch from a specific version (the branch version). Therefore, the patch contains only the requirements you created: 1, 2, and 3.
- You apply the patch to the project trunk, which now contains requirement 4 in its Requirements package. Since you only extracted changes, the patch does not override existing elements; requirements 1, 2, and 3 are created without deleting requirement 4.