The master part rule is triggered in one of the following cases:
-
When a master part is deleted from the workspace explorer.
-
When a master part is moved out of the related assembly.
This rule controls the location of the rest of the parts in the common part group.
When a master part is moved or deleted, the master part rule returns one of the following enumerator options.
-
DeleteGroup - All the other parts in the group are moved to the Relocated Parts folder.
-
RetainGroup - All the other parts in the group remain in the group. The next part in the group is set as the master part by the system.
-
CustomAssign - All the other parts remain in the group. The rule also sets one of the parts as the master part.
Visual Basic Project: [Programming Resources Folder]\Programming\ExampleCode\Planning\Rules\CommonEntity\MasterPartRule\PlnMasterPartRule.vbp
Compiled Rule: [Reference Data Folder]\SharedContent\bin\Planning\Rules\Release\UpdateMaster.dll