3D PLM PPR Hub Open Gateway
|
File XPDM (PX1)
|
Check-In Scenario
Process example for a Check-In scenario |
Technical Article |
Abstract
This article explains the principles, and gives a step by step
scenario of Check-In operation for a CATIA V5 and an external PDM System
integration [1].
|
Check-In Scenario
The Check-In is a scenario whereby CATIA session information and
persistent documents are used to create new or modify existing PDM system
data. Check-In enables save a consistent set of documents from CATIA V5 in
the external PDM system with the appropriate document links exposure. These
document links information must be sufficient to compute the right consistent
set of documents to perform the other elementary functions: Check-Out
[2], Rename [3], and
Derivative Design Copy [4].
This operation is implemented by:
- Computing the consistent set of documents the document to Check-In
belongs to
- Computing the list of document links to expose in PDM
- Extracting and Updating document internal properties if necessary
- Invoking in sequence the PDM Check-In operation for each document
- Performing the transfer of the persistent documents in
the PDM system
- Updating documents attributes in the PDM system
This scenario, developped in the
Check-In Scenario Detailed Steps section, can be also presented by this
Diagram:
Fig.1: The Check-In Scenario Diagram
 |
The Check-In scenario must enforce the following rules:
- The consistent set of documents is computed from the persistent
documents on disk in the user Work area meaning that the CATIA documents
loaded in session will have to be saved prior the Check-In operation, to
make the modified documents persistent on disk. The Check-In function must
have the ability to force the save of modified document if required.
[Top]
Check-In Scenario Detailed Steps
This section details step by step the Check-In scenario. But, no API will
be given, you should refer to the elementary PX1 use cases, or the
CATxPDMInterfaces framework API documentation, to have implementation
details.
The Integration can implement the Check-In scenario as an interactive
CATIA command running within the CATIA session context. This command will
display a Dialog box with the name of the selected document in the current
editor. If no document has been selected first, the name of the editor root
document ( see CATIxPDMSession interface ) will be displayed. The user
starts the Check-In operation by clicking the OK button.
A CATIA session is open. It contains CATIA documents.
- The user performs Save
management prior to Check-In
- The user starts the Check-In command after choosing the editor window
he wants to Check-In documents; The Check-In command displays the name of
the selected document in the dialog box
- User clicks OK button to confirm the selection
- Integration starts the Check-In operation by performing
preliminary checks:
- The selected document doesn’t need to be saved meaning it is
persistent on disk
- If the document is modified, it must be saved again
- The physical storage location path of the document is the user Work
area
- It computes the consistent set of documents this document belongs to
and checks that there is no missing documents
- For every document belonging to the consistent set of document,
Integration checks:
- If the document is loaded in session. If so, it must be already saved
- The physical storage location path of the document is the user Work
area
- If the document already exists in PDM system:
- It has been checked-out by the user
- It has been modified since the last Check-Out [2]
- It is not locked in the PDM
- The new document is compatible with the document stored in the PDM
- If the document doesn’t exists in PDM system: Integration must
- Perform the reservation of the new document name in the PDM
- Lock the new document name in the PDM
- Integration updates the properties of the documents of the
consistent set:
- The document must be loaded in session
- The property value of the document is updated in session
- The document becomes modified in session
- Integration must save the document in the user Work area again
- Integration extracts information on this consistent set of
documents
- The Structure links hierarchy
- The positioning matrices of the instances
- The Consistent Set links
- The current documents properties
- gGenerates preview files
- Integration updates PDM system data and information
- The document links for the consistent set of document
- The positioning matrices of the instances in the Product structure
- Transfers the documents into the PDM repository (only modified
documents)
- Updates the PDM attributes of every document
- Incrementing the revision level of the document
- Associating with its preview file
- Removes PDM lock on documents
- Integration stops the Check-In command
[Top]
In Short
[Top]
References
History
Version: 1 [Feb 2005] |
Document created |
[Top] |
Copyright © 1994-2005, Dassault Systèmes. All rights reserved.