Versioning a Work Package and All its Children

You can create new version/revision of the work package & its all using the command Save as New Version.
 Save as New Version command is available in ENOVIA V5 VPM toolbar on the Product or Part. It works with the active editor in CATIA session. When a work package is sent to CATIA from LCA, it gets opened in an authoring or document window in CATIA. The command works on the root work package of this authoring window. The command is applicable for CATPart and CATProduct workPackage and all its children.

Consider a product having children.

  1. Open the Product in Part Editor.
  2. Send the  Product to CATIA.
  3. Modify the Product and its children, select Save as New Version icon from ENOVIA V5VPM toolbar.

  4. A dialog box opens stating that the Product and all its children in CATIA session are going to be versioned. Click OK to version. 
  5. Click on OK button in the confirmation dialog box.
    All the children of the Product  gets locked automatically, new part version(PV) and document revision(DR) are created for the Product and all its children and the message Versioning Successful  appears.
Note: If the you click on OK, PVs and DRs of root package and its children get versioned/revisioned  and if you click on Cancel, operation is cancelled.

Save as New Version command does not work for the following cases:

  • If an instance of work package is in CATIA session (Work Package opened in other window under PRC), then the following message is raised An instance of the workpackage xxx is in CATIA session.Close the PRC where the instance is and Save as New Version again and you cannot version up the work package from CATIA.
  • The command only works with the current editor on documents as CATPart and CATProduct WorkPackage. If the command is run on the editor with PRC, then the following error message is raised. Versioning is not allowed.Versioning only works when the current window contains a CATPart or CATProduct workpackage as the top of the specification tree.
Versioning a work-package from CATIA impacts existing part instances to go out-of-sync by version. For more information, see Engineering LifeCycle >Managing Out-of-Sync by Version >Sending a New Version of a Part with Associated Documents to CATIA V5.

Once objects to be versioned are authorized, children of work package is locked automatically (if they are not already locked), as People and Organization privileges allow.
If the children are locked by some other user, an error is raised. If the work package is not locked by current user, the command fails and an error is raised.

If versioning succeeds, old version is unlocked and lock owner of the resulting new version objects is set as current user and the message Versioning Successful is displayed.

If you have modified product or children, these changes are saved in new Version of product or children.

If versioning fails on any part due to insufficient privileges, authority check or any other reason, then all such failures are reported and entire process of versioning is aborted and rolled-back.