-
Reconciliation of an assembly
Here is an example of the command line to use to reconcile an
assembly RECV5_TEST1rootprc.CATProduct:
set CNEXTOUTPUT=E:\tmp\trace.txt
CATPDMReconcileEV5Batch -file E:\DataREC\RECV5_TEST1rootprc.CATProduct
-structure queryName "Query by object Id" -user odtitp -spwd xxxxx
-role VPMADMIN.ADMIN.DEFAULT -server "xxxxxxxxx:nnnn"
-
Reconciliation with reload of CATParts
Here is an example of the command line to use to reconcile an
assembly RECV5_TEST1rootprc.CATProduct containing two CATParts
RECV5_TESTPART1.CATPart and RECV5_TESTPART2.CATPart:
CATPDMReconcileEV5Batch -file E:\DataREC\RECV5_TEST1rootprc.CATProduct
-queryName "Query by object Id" -reload RECV5_TESTPART1.CATPart
-reload RECV5_TESTPART2.CATPart
-
Reconciliation with sub-products as publication exposed
Here is an example of the command line to use to reconcile an
assembly RECV5_TEST1rootprc.CATProduct containing two sub-product
RECV5_TEST1prd1.CATProduct and RECV5_TEST1prd2.CATProduct:
CATPDMReconcileEV5Batch -file E:\DataREC\RECV5_TEST1rootprc.CATProduct
-queryName "Query by object Id" -publication
RECV5_TEST1prd1.CATProduct -publication RECV5_TEST1prd1.CATProduct
-
Reconciliation with CATParts as KeepExternal
Here is an example of the command line to use to reconcile an
assembly RECV5_TEST1rootprc.CATProduct containing two CATParts
RECV5_TESTPART1.CATPart and RECV5_TESTPART2.CATPart that are missing
(broken link):
CATPDMReconcileEV5Batch -file E:\DataREC\RECV5_TEST1rootprc.CATProduct
-queryName "Query by object Id" -keepExternal RECV5_TESTPART1.CATPart
-keepExternal RECV5_TESTPART2.CATPart
-
Reconciliation with CATParts when the Part Number is different from
the file name
Here is an example of the command line to use to reconcile an
assembly RECV5_TEST1rootprc.CATProduct containing two CATParts
RECV5_TESTPART1.CATPart and RECV5_TESTPART2.CATPart when the part
number is not equal to the file name. The queries Query by Object
Id and Easy Query will failed in this case, the correct
query to use is Query Document by Part Id.
CATPDMReconcileEV5Batch -file E:\DataREC\RECV5_TEST1rootprc.CATProduct
-queryName "Query Document by Part Id"
Generating an EpeXML file with a reconciliator batch
simulation
To generate an EpeXML based on a workpackage
composed of e:\DataREC\RECV5_drawing.CATDrawing and e:\DataREC\RECV5rootprc.CATProduct,
the command line is:
CATPDMReconcileEV5Batch -file "e:\DataREC\RECV5_drawing.CATDrawing"
-file "e:\DataREC\RECV5rootprc.CATProduct"
-structure -queryName "Query by object Id" -simul Rule
-epexml "e:\tmp\XMLSessionEpe.xml"
Rerunning a session using an EpeXML file
The
previously generated and modified EpeXML file can be used to rerun the
session:
CATPDMReconcileEV5Batch -file "e:\DataREC\RECV5_drawing.CATDrawing"
-file "e:\DataREC\RECV5rootprc.CATProduct"
-inxml "e:\tmp\XMLSessionEpe.xml"
-
Reconciliation of an assembly with two leaf CATParts, one to
be saved to ENOVA V5 VPM as new version and the other as new revision
(Note that saving as new version will version the part and revision the
corresponding geometry document)
Here is an example of the command line to use to reconcile an
assembly RECV5_TEST1rootprc.CATProduct containing two CATParts
RECV5_TESTPART1.CATPart and RECV5_TESTPART2.CATPart. :
CATPDMReconcileEV5Batch -file E:\DataREC\RECV5_TEST1rootprc.CATProduct
-queryName "Query by object Id" -newVersion RECV5_TESTPART1.CATPart
-newRevision RECV5_TESTPART2.CATPart
Reconciliation of an assembly with two leaf CATParts and a CATDrawing
document
This example uses the -forceNewVersion to create new versions of the
leaf parts (which also created new revisions of their corresponding
CATPart documents) and a new revision of the CATDrawing.
CATPDMReconcileEV5Batch -file E:\DataREC\RECV5_TEST1rootprc.CATProduct
-queryName "Query by object Id" -forceNewVersion
Reconciliation when configured data with a filter set was sent to
supplier.
This example will filter the ENOVIA V5 VPM structure with the
configuration filter contained in the configuration handler, cfgHdlr1.
The modifications by the supplier will be recorded using the action,
SupplierChgAction.
When you are saving configured parts, the Create configured
part references portal setting in VPM Product Editor Products may need to be set to
true if you need any new parts to be created as configured.
CATPDMReconcileEV5Batch -file E:\DataREC\RECV5_TEST1rootprc.CATProduct
-structure queryName "Query by object Id"
-configHandler cfgHdlr1 -action SupplierChgAction -user odtitp -pwd
xxxxx -role VPMADMIN.ADMIN.DEFAULT -server "xxxxxxxxx:nnnn"
Reconciliation when expand capture (PVS) data with filter set is sent to
supplier. The example is given below:
CATPDMReconcileEV5Batch -file C:\Documents and Settings\xhq\Desktop\Supplier1\PVSProd1.CATProduct
-structure -pvs PVSProd1_PVS -queryName Easy Query -user xhq -pwd xhq
-role VPMADMIN.ADMIN.DEFAULT -server aix51plp:9566
-
Reconciliation when data with a volume filter set was sent to
supplier. Zone clearance of 1mm is set, zone mode is fully in, and 2
zones are set.
This example will filter the ENOVIA V5 VPM structure with the volume
filter used to filter the supplier data.
CATPDMReconcileEV5Batch -file E:\DataREC\RECV5_TEST1rootprc.CATProduct
-structure queryName "Query by object Id"
-zoneClearance 1 -zoneMode FullyIn -zoneFilter zoneX
-zoneFilter zoneY -user odtitp
-spwd xxxxx -role
VPMADMIN.ADMIN.DEFAULT -server "xxxxxxxxx:nnnn"
Reconciliation when data with an attribute filter set was sent to
supplier.
This example will filter the ENOVIA V5 VPM structure with the
attribute filter used to filter the supplier data.
CATPDMReconcileEV5Batch -file E:\DataREC\RECV5_TEST1rootprc.CATProduct
-structure queryName "Query by object Id"
-attributeFilter Status EQ Approved -user odtitp -pwd
xxxxx -role VPMADMIN.ADMIN.DEFAULT -server "xxxxxxxxx:nnnn"
This example
imports a CATProduct under a newly created PRC:
CATPDMReconcileEV5Batch -file E:\DataREC\RECV5_TEST1rootprc.CATProduct
-GR StructureExposed -GR Query -GR New
Reconciliation using a global set.
This example
will overwrite a CATProduct already existing in the database and sets
the reload rule on a specific doc (RECV5_TEST1_PART3.CATPart):
CATPDMReconcileEV5Batch -file E:\DataREC\RECV5_TEST1rootprc.CATProduct
-GR StructureExposed -GR Query "queryName=Easy Query" -GR
Overwrite -GR Reload "forceReload=TRUE" / SearchNode "scmType=DOC" "FileName=RECV5_TEST1_PART3.CATPart"
Reconciliation using Magic Reconciliation
global set by using:
CATPDMReconcileEV5Batch -file
c:\temp\RECV5_TEST1rootprc.CATProduct -Structure -GR MagicRecon "queryName=Query
by object Id" "forcePersistency=FALSE"
-
Reconciliation preventing the automatic update of
drawings.
In this example, a CATPart and its
drawing are saved to ENOVIA V5 VPM. The CATPart is modified by the
supplier and the OEM launches the batch file on the drawing to update
only the CATPart:
CATPDMReconcileEV5Batch -file "C:\tmpRedrw.CATDrawing"
-noDraftingUpdate
Reconciliation inhibits the update of Product or Part
by using:
CATPDMReconcileEV5Batch
–file PRC.CATProduct –noPartUpdate
–server ServerName –user MyId –role VPMADMIN-pwd
MyPwd
-
Reconciliation of acquiring missing locks on Document Revision, Part
Version and Item Instance if not allocated to another user can be done
by using:
CATPDMReconcileEV5Batch -file C:\Documents and Settings\xhq\My
Documents\R20_HLTEST\ImprveReconusblty\R20_Prod.CATProduct -structure -lockMgt
Acquire -queryName Easy Query -user odtitp -pwd xxxx -role
VPMADMIN.ADMIN.DEFAULT
-
Reconciliation will fail if the locks are missing
on
Document Revision, Part Version and Item Instance by using:
CATPDMReconcileEV5Batch -file C:\Documents and Settings\xhq\My
Documents\R20_HLTEST\ImprveReconusblty\R20_Prod.CATProduct -structure -lockMgt
NotToAcquire -queryName Easy Query -user odtitp -pwd xxxx -role
VPMADMIN.ADMIN.DEFAULT
-
Reconciliation of acquiring missing locks on
Document Revision, Part Version and Item Instance if not allocated to
another user and released them after Save can be done by using:
CATPDMReconcileEV5Batch -file C:\Documents and Settings\xhq\My
Documents\R20_HLTEST\ImprveReconusblty\R20_Prod.CATProduct -structure -lockMgt
ReleaseAtSave -queryName Easy Query -user odtitp -pwd xxxx -role
VPMADMIN.ADMIN.DEFAULT
-
Reconciliation of importing a sub-assembly with assembly
drawing by using:
CATPDMReconcileEV5Batch -file C:\Documents and
Settings\xhq\My Documents\R21_HLTEST\ImprveReconusblty\Rec_DrwMig1_Ass01.CATProduct
-file C:\Documents and Settings\xhq\My Documents\R21_HLTEST\ImprveReconusblty\Rec_DrwMig1_Ass01Drw.CATDrawing
-structure -importInAssembly Rec_DrwMig1_PRC -user odtitp -pwd xxxx
-role VPMADMIN.ADMIN.DEFAULT
-