ENOVIA V6 Integration |
Saving Documents into ENOVIA V6 |
|
The following Use Cases show how to use CD5 Automation Objects to perform Save operations from CATIA V5 to ENOVIA V6. |
|||||||||||||
|
The basic object for Save Operation is CD5SaveOperation, which is created from the CD5EngineV6R2014x object and can target the active document as well as the whole session. It will be possible to customize the CD5SaveOperation to globally modify its behavior: manage not saved documents, save into ENOVIA folders, retain Lock / create a new Version for all the items in the scope of the operation. It will also be possible to customize it at item level: rename an embedded component, target a specific/next revision, include/exclude from the operation. Finally, it will be possible to run the operation silently or to open the advanced save panel as per the customization done so far and let the user validate it manually. Prerequisites: Some documents are loaded in CATIA session.
|
|||||||||||||
|
This use case will first describe the preliminary steps: It will then go through following capabilities:
Retrieve CD5EngineV6R2014x object
The entry point of the ENOVIA V6 Integration is the "ENOVIA V6 Integration Engine".
Connect to ENOVIA V6
ENOVIA V6 Integration supports the connection without specifying a security context. In this case the default one is used.
Create basic object for Save Operation
It is also possible to target the active document only (CD5SaveOperation_ActiveDocument) or its window (CD5SaveOperation_CurrentEditor). Perform a Quick Save (provided the documents are saved on disk)
This is equivalent to menu item ENOVIA V6 -> Save. Manage non saved documents
This way it is not a prerequisite to save documents on disk before performing the Save. Configure Retain Lock
Configure Create/Override Version
NB: To override versions, this property should be set to False. Define target revisions
The target revision can be customized or set to the next revision. Rename embedded components
It is also possible to enter a custom string for oCurrentItem.ObjectName. Include/Exclude an item from the operation
To include an item into the Save operation, this property should be set to True. Generate Custom Derived Outputs
It is also possible to enter a custom string for oCurrentItem.ObjectName. Present a pre-filled Advanced Save dialog
This will replace the oCD5SaveOperation.Run() call as the Save Operation itself will be performed once the user has validated the Save panel with OK button. |
![]()
[Top]
This use case has shown how to use ENOVIA V6 Integration Save functionality.
[Top]
| [Top] |
Copyright © 2013, Dassault Systèmes. All rights reserved.