ENOVIA V6 Integration |
Opening Documents from ENOVIA V6 |
|
This macro shows you how to use the CD5 automation objects to perform Open operations from ENOVIA V6 in CATIA V5. It connects to ENOVIA V6, and performs a Partial Open operation on a Root Assembly in "LatestVersion" Expand Mode. |
|||||||||
|
CAACD5UseCase1 is launched in CATIA [1]. No open document is needed. Prerequisites: The following CATIA V5 Assembly is saved in ENOVIA V6 as revision A. CD5MyUseCaseRoot
In Revision B of CD5MyUseCaseSub, both parts got new colors and CD5MyUseCasePart2 3D location has been modified.
We want to open CD5MyUseCaseRoot of Revision A with CD5MyUseCaseSub and CD5MyUseCasePart2 by pointing their latest versions. CAACD5UseCase1.CATScript is located in the CAAScdCD5UseCases module. Execute macro (Windows only).
|
|||||||||
|
CAACD5UseCase1 includes 8 steps:
Retrieving CD5Engine 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.
Set Partial Open Expand Mode
We want to open the Structure by referring the latest versions of the pointed objects. Create ENOVIA V6 Identifiers for the objects to include in Partial Open
Here we create the identifiers of the objects we want to include in the final Partial Open operation.
Get Root Structure
A Structure is created from the root ID and will be used to specify the data included in the Partial Open operation. Include Objects for Partial Open
This means we want to open the Root Product by including the objects designed by the previously created IDs. Perform actual Partial Open operation on the Structure
Here we perform the Partial Open operation and get the obtained Root Document to display its name.
Disconnect from ENOVIA V6
Here we disconnect from ENOVIA V6 (but only in case we had to connect at the beginning of the macro). End of the macro. |
![]()
[Top]
This use case has shown how to use ENOVIA V6 Integration.
[Top]
| [1] | Replaying a Macro |
| [Top] | |
Copyright © 2012, Dassault Systèmes. All rights reserved.