Dokumentation zu: CBTools_2012_05 (C) J.Feuerstein 
Erstellt: 15.05.2012    J.Fes
Stand   : 16.06.2012    J.Fes + S.Güth

##############################################################################################################################
#Doc: Funktion 1: Erzeugen der tc Dataset Inputliste für CheckBox

Options:
--------
-Action "CBTools_2012_05" 
-CBPara_partListGen 
-JobRoot_DP


Examples Test Command Line: 1 -CBPara_partListGen
---------------------------
-Action "CBTools_2012_05" -CBPara_partListGen "#JobRoot_DP#\_NxCB_partList_for_CgmToTifViaCGM.txt" -JobRoot_DP "V:\JobManager\ProgEntw\Ver02\02-VB.NET\JobManager.CmdTools\10-src\JobManager.CmdTools\28.CBTools_2012_05\exampleFiles_CgmToTif_2012_05\SiteId_CGMExpo_00006_Custom" -JobData1ToProcessDoPrint
-Action "CBTools_2012_05" -CBPara_partListGen "#JobRoot_DP#\_NxCB_partList_for_CgmToTifViaCGM.txt" -JobRoot_DP "V:\JobManager\ProgEntw\Ver02\02-VB.NET\JobManager.CmdTools\10-src\JobManager.CmdTools\28.CBTools_2012_05\exampleFiles_CgmToTif_2012_05\SiteId_CGMExpo_00006_Custom"

Result Codes:       Result Msg Search Texte:
-------------       ------------------------

##############################################################################################################################
#Doc: Funktion 2: Tif files erzeugen und diese in das Tif Archiv schieben
Options:
--------
-Action "CBTools_2012_05" 
-CBDataOrg_UseMethodCustom01
-CBDataOrg_RootDir_dp
-CBDataOrg_RootDirBackup_dp
-CBPara_result 
-CBPara_ExtractCGM_toDir
-JobRoot_DP
-LogFile 
-CgmToTif_cmdProg
-CgmToTif_cmdArgs


Examples Test Command Line: 
---------------------------
-Action "CBTools_2012_05"  -CBDataOrg_UseMethodCustom01 -CBDataOrg_RootDir_dp "D:\i\TifArchiv" -CBDataOrg_RootDirBackup_dp "D:\i\TifArchiv.Backup" -LogFile "D:\i\NxExtractToTifFiles_csvLog.txt"-JobData1ToProcessDoPrint -JobData2ResultDoPrint -Title "Develop CgmToTif" -CBPara_result "#JobRoot_DP#\_CgmToTif\zzExportCGM_Result.csv" -CBPara_ExtractCGM_toDir "#JobRoot_DP#\_CgmToTif" -JobRoot_DP "V:\JobManager\ProgEntw\Ver02\02-VB.NET\JobManager.CmdTools\10-src\JobManager.CmdTools\28.CBTools_2012_05\exampleFiles_CgmToTif_2012_05\SiteId_CGMExpo_00006_Custom" -CgmToTif_cmdProg default -CgmToTif_cmdArgs default

                          

Result Codes:       Result Msg Search Texte:
-------------       ------------------------
2                   CB:Err:NO SHT1 Sheet found in this part

##############################################################################################################################
#Doc: Funktion 3: CB Daten in Archiv schieben
required Options:
-----------------
-Action "CBTools_2012_05" 
-CBDataOrg_MoveToArchiv_WithNameExt
-CBDataOrg_RootDir_dp
-CBDataOrg_RootDirBackup_dp (Optional) noch nicht aktive (2.1057;15.06.2012;J.Fes)
-CBPara_result 
-CBPara_ExtractCGM_toDir
-CBPara_outdir
-JobRoot_DP
-LogFile 


Examples Test Command Line:  
---------------------------
-Action "CBTools_2012_05" -CBDataOrg_MoveToArchiv_WithNameExt "#CB1-Nx75" -CBDataOrg_RootDir_dp "D:\i\CBArchiv" -CBDataOrg_RootDirBackup_dp "Key:SubDirBackup" -CBPara_outdir "#JobRoot_DP#\_CBData" -LogFile "#JobRoot_DP#\_CBData\zzCBMoveToArchiv_csvlog.txt" -JobData1ToProcessDoPrint -pause -Title "CB Data move to archiv" -CBPara_result "#JobRoot_DP#\_CBData\zzExportCGM_Result.csv" -CBPara_ExtractCGM_toDir "#JobRoot_DP#\_CBData" -JobRoot_DP "V:\JobManager\ProgEntw\Ver02\02-VB.NET\JobManager.CmdTools\10-src\JobManager.CmdTools\28.CBTools_2012_05\exampleFiles_CBData_2012_06\test01_CB2_03165_MTU" -JobData2ResultDoPrint -pause -verbose -test
-Action "CBTools_2012_05" -CBDataOrg_MoveToArchiv_WithNameExt "#CB1-Nx75" -CBDataOrg_RootDir_dp "D:\i\CBArchiv" -CBDataOrg_RootDirBackup_dp "Key:SubDirBackup" -CBPara_outdir "#JobRoot_DP#\_CBData" -LogFile "#JobRoot_DP#\_CBData\zzCBMoveToArchiv_csvlog.txt" -JobData1ToProcessDoPrint -pause -Title "CB Data move to archiv" -CBPara_result "#JobRoot_DP#\_CBData\zzCBExport_Result.csv" -CBPara_ExtractCGM_toDir "#JobRoot_DP#\_CBData" -JobRoot_DP "V:\JobManager\ProgEntw\Ver02\02-VB.NET\JobManager.CmdTools\10-src\JobManager.CmdTools\28.CBTools_2012_05\exampleFiles_CBData_2012_06\uatest03_CB4_02302_MTU" -JobData2ResultDoPrint -pause -verbose -test

-Action "CBTools_2012_05" -CBDataOrg_MoveToArchiv_WithNameExt "#CB6R" -CBDataOrg_RootDir_dp "D:\i\CBArchiv" -CBDataOrg_RootDirBackup_dp "Key:SubDirBackup" -CBPara_outdir "#JobRoot_DP#\_CBData" -LogFile "#JobRoot_DP#\_CBData\zzCBMoveToArchiv_csvlog.txt" -JobData1ToProcessDoPrint -pause -Title "CB Data move to archiv" -CBPara_result "#JobRoot_DP#\_CBData\zzCBExport_Result.csv" -CBPara_ExtractCGM_toDir "#JobRoot_DP#\_CBData" -JobRoot_DP "V:\JobManager\ProgEntw\Ver02\02-VB.NET\JobManager.CmdTools\10-src\JobManager.CmdTools\28.CBTools_2012_05\exampleFiles_CBData_2012_06\test04_CB6R_AP_02021_MTU" -JobData2ResultDoPrint -pause -verbose -test                          

#Doc: MTU 2.1087;20.07.2012;J.Fes
-Action CBTools_2012_05 -Title CB-Data_moveToArchiv -CBDataOrg_MoveToArchiv_WithNameExt #CB6R -CBDataOrg_RootDir_dp D:\i\CBArchiv -CBPara_outdir #JobRoot_DP#\_CBData -CBPara_result #JobRoot_DP#\_CBData\zzCBExport_Result.csv -CBPara_ExtractCGM_toDir #JobRoot_DP#\_CBData -JobRoot_DP D:\addPLM\JobManager\ProgEntw\Ver02\02-VB.NET\JobManager.CmdTools\10-src\JobManager.CmdTools\28.CBTools_2012_05\exampleFiles_CBData_2012_06\test04_CB6R_AP_02031_MTU-2 -LogFile #JobRoot_DP#\_CBData\zzCBMoveToArchiv_csvlog.txt -JobData1ToProcessDoPrint -verbose -pause -test

xx -CBDataOrg_RootDir_DP /ya/ya_data/cad_data_t/CbData
xx -CBPara_outdir /yatmp/scr1/JobClient/test04_CB6R_AP_02023_MTU/_CBData
xx -CBPara_result /yatmp/scr1/JobClient/test04_CB6R_AP_02023_MTU/_CBData/zzCBExport_Result.csv
xx -CBPara_ExtractCGM_toDir /yatmp/scr1/JobClient/test04_CB6R_AP_02023_MTU/_CBData
xx -JobRoot_DP /yatmp/scr1/JobClient/test04_CB6R_AP_02023_MTU
xx -LogFile  /yatmp/scr1/JobClient/test04_CB6R_AP_02023_MTU/_CBData/zzCBMoveToArchiv_csvlog.txt
xx -JobData1ToProcessDoPrint -verbose -pause

Result Codes:       Result Msg Search Texte:
-------------       ------------------------
2                   CB:Err:NO CB Data found in this part
4                   ERR:Fnotf:[#CB_Result_Obj_p.xml_NE#] 
##############################################################################################################################
#Doc: Funktion 4: CB Compare durchfuehren (nur Windows) Jopp

required Options:
-----------------

Example 2: Analyse: CB Data:
JS_CheckBoxTools.exe
 -CBExtrName1=#CB1
 -CBExtrName2=#CB2
 -JobRoot_DP      
 -CBDataOrg_RootDir_dp 
 -CB_Setting_DPNE "V:\JobManager\ProgEntw\Ver02\JobManagerV2\01-BinServer.Custom\CheckBoxSettings-TestSystem.xml"

Examples Test Command Line:  
---------------------------
-Action "CBTools_2012_05" -CBExtrName1 #CB2 -CBExtrName2 #CB4 -CB_Setting_DPNE "V:\JobManager\ProgEntw\Ver02\JobManagerV2\01-BinServer.Custom\CheckBoxSettings-TestSystem.xml" -CBDataOrg_RootDir_dp "V:\JobManager\ProgEntw\Ver02\02-VB.NET\JobManager.CmdTools\10-src\JobManager.CmdTools\28.CBTools_2012_05\exampleFiles_CBData_2012_06\CbData" -JobRoot_DP "V:\JobManager\ProgEntw\Ver02\02-VB.NET\JobManager.CmdTools\10-src\JobManager.CmdTools\28.CBTools_2012_05\exampleFiles_CBData_2012_06\test01_CBcomp24_00007_CUS" -Test


Result Codes:       Result Msg Search Texte:
-------------       ------------------------


##############################################################################################################################
#Doc: Funktion 5: CB cgm to dif.tif merg.tif (nur Win+NonWin) Sascha

required Options:
-----------------

Example 1: Analyse: CB Data:
JS_CheckBoxTools.exe
 -CBcompDifMergTifgen derfault  (Merge+Dif)
 -CBcompDifMergTifgen Merge.tif nur *Merge.tif wird erzeugt
 -CBcompDifMergTifgen Dif.tif   nur *Dif.tif wird erzeugt
 -CBRunsToCompare ( - als Trennzeichen für die Namen der einzelnen Läufe, ~ als Trennzeichen für die einzelnen Vergleiche)
 -CBExtrName1 #CB1
 -CBExtrName2 #CB2
 -JobRoot_DP        
 -CBDataOrg_RootDir_dp
 -CgmToTif ON/OFF
 -CgmToTif_cmdProg
 -CgmToTif_cmdArgs
 -ImageMagic_cmdProg 

Examples Test Command Line:  
---------------------------

-Action "CBTools_2012_05" -JobRoot_DP "V:\JobManager\ProgEntw\Ver02\02-VB.NET\JobManager.CmdTools\10-src\JobManager.CmdTools\28.CBTools_2012_05\e\test01_CBcomp24_00003_CUS" -CBcompDifMergTifgen default -CBDataOrg_RootDir_dp "V:\JobManager\ProgEntw\Ver02\02-VB.NET\JobManager.CmdTools\10-src\JobManager.CmdTools\28.CBTools_2012_05\e\CbData" -CBExtrName1 #CB2 -CBExtrName2 #CB4 -CgmToTif OFF -CgmToTif_cmdProg C:\TotalCADConverter\CADConverter.exe -CgmToTif_cmdArgs "''#cgm_dpne#'' ''#tif_dpne#'' -s 800x600" -ImageMagick_DP "C:\Program Files (x86)\ImageMagick-6.7.7-Q16" -CBRunsToCompare #CB1-#CB2~#CB2-#CB4~#CB5-#CB6

-Action "CBTools_2012_05" 
-JobRoot_DP "V:\JobManager\ProgEntw\Ver02\02-VB.NET\JobManager.CmdTools\10-src\JobManager.CmdTools\28.CBTools_2012_05\exampleFiles_CBData_2012_06\test01_CBcomp24_00003_CUS" 
-CBcompDifMergTifgen default
-CBDataOrg_RootDir_dp "V:\JobManager\ProgEntw\Ver02\02-VB.NET\JobManager.CmdTools\10-src\JobManager.CmdTools\28.CBTools_2012_05\exampleFiles_CBData_2012_06\CbData" 
-CBRunsToCompare #CB1-#CB2~#CB2-#CB4~#CB5-#CB6
-CBExtrName1 #CB1
-CBExtrName2 #CB2
-CgmToTif ON
-CgmToTif_cmdProg C:\TotalCADConverter\CADConverter.exe 
-CgmToTif_cmdArgs "''#cgm_dpne#'' ''#tif_dpne#'' -s 800x600""
-ImageMagick_cmdProg C:\Program Files (x86)\ImageMagick-6.7.7-Q16\compare.exe

Result Codes:       Result Msg Search Texte:
-------------       ------------------------

-------------------------------------------------------------------------------------------------------------------------------