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 CHeckBox Tc-Dataset Inputliste

Options:
--------
JobManagerCmdTools.exe -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:
--------
JobManagerCmdTools.exe -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

Options:
--------
JobManagerCmdTools.exe -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
-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

-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                          

#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

#Doc: Zimmer 17.08.2012
-Action "CBTools_2012_05" -Title "CB Data Move To Archiv:[#NX75]" -JobRoot_DP "C:\Temp\JobClient\Tc83_CB_S1Nx75_00036_CustomerNameShort" -CBPara_outdir "C:\Temp\JobClient\Tc83_CB_S1Nx75_00036_CustomerNameShort\JobTemp" -CBPara_result "C:\Temp\JobClient\Tc83_CB_S1Nx75_00036_CustomerNameShort\JobTemp\zzCB03_ResultData_#NX75.csv" -CBPara_ExtractCGM_toDir "C:\Temp\JobClient\Tc83_CB_S1Nx75_00036_CustomerNameShort\JobTemp" -CBDataOrg_MoveToArchiv_WithNameExt "#NX75" -CBDataOrg_RootDir_DP "\\jf-26\JobManagerV2_Data\CBData" -LogFile "C:\Temp\JobClient\Tc83_CB_S1Nx75_00036_CustomerNameShort\JobTemp\zzCB04_CBMoveToArchiv_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

Options:
--------
JobManagerCmdTools.exe -Action "CBTools_2012_05"
 -JobRoot_DP
 -JobData1ToProcessDoPrint (Optional)

 -CBDataOrg_RootDir_dp 
 -CBExtrName1=#CB1
 -CBExtrName2=#CB2
 -CB_Setting_DPNE ".\JobManagerV2\01-BinServer.Custom\CheckBoxSettings-TestSystem.xml"

 -CgmToTif ON
 -CgmToTif_cmdProg default
 -CgmToTif_cmdArgs default
 -CBcompDifMergTifgen default
 -ImageMagick_DP "%ImageMagick_DP%"


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"

Example: 17.08.2012:
-Action "CBTools_2012_05" -JobRoot_DP "C:\temp\JobClient\Tc83_CB_S3GenRes_00042_CustomerNameShort" -CBcompDifMergTifgen default -CBDataOrg_RootDir_DP "\\jf-26\JobManagerV2_Data\CBData" -CBRunsToCompare #NX75-#NX80 -CBExtrName1 #NX75 -CBExtrName2 #NX80 -CgmToTif ON -CgmToTif_cmdProg default -CgmToTif_cmdArgs default -ImageMagick_DP "V:\JobManager\ProgEntw\Ver02\JobManagerV2\90-DATA\CustomerNameShort_SettingsGlobal\10-JobScripts\CheckBox\ImageMagick" -verbose -pause

-Action "CBTools_2012_05" -CBExtrName1 #NX75 -CBExtrName2 #NX80 -CBDataOrg_RootDir_DP "\\jf-26\JobManagerV2_Data\CBData" -JobRoot_DP "C:\temp\JobClient\Tc83_CB_S3GenRes_00032_CustomerNameShort" -CB_Setting_DPNE "V:\JobManager\ProgEntw\Ver02\JobManagerV2\01-BinServer.Custom\CheckBoxSettings-TestSystem.xml" -JobData1ToProcessDoPrint -verbose -pause
-Action "CBTools_2012_05" -CBExtrName1 #NX75 -CBExtrName2 #NX80 -CBDataOrg_RootDir_DP "\\jf-26\JobManagerV2_Data\CBData" -JobRoot_DP "C:\temp\JobClient\Tc83_CB_S3GenRes_00034_CustomerNameShort" -CB_Setting_DPNE "V:\JobManager\ProgEntw\Ver02\JobManagerV2\01-BinServer.Custom\CheckBoxSettings-TestSystem.xml" -JobData1ToProcessDoPrint -verbose -pause

Example: 19.08.2012
-Action "CBTools_2012_05" -SubAction "CBResultGen" -JobRoot_DP "C:\temp\JobClient\Tc83_CB_S3GenRes_00044_CustomerNameShort" -JobData1ToProcessDoPrint -JobData2ResultsDoPrint -CBDataOrg_RootDir_DP "\\jf-26\JobManagerV2_Data\CBData" -CBExtrName1 #NX75 -CBExtrName2 #NX80 -CB_Setting_DPNE "V:\JobManager\ProgEntw\Ver02\JobManagerV2\01-BinServer.Custom\CheckBoxSettings-TestSystem.xml" -CgmToTif ON -CgmToTif_cmdProg default -CgmToTif_cmdArgs default -CBcompDifMergTifgen default -ImageMagick_DP "V:\JobManager\ProgEntw\Ver02\JobManagerV2\90-DATA\CustomerNameShort_SettingsGlobal\10-JobScripts\CheckBox\ImageMagick" -verbose -pauseOnEnd
-Action "CBTools_2012_05" -SubAction "CBResultGen" -JobRoot_DP "C:\temp\JobClient\Tc83_CB_S3GenRes_00046_CustomerNameShort" -JobData1ToProcessDoPrint -JobData2ResultsDoPrint -CBDataOrg_RootDir_DP "\\jf-26\JobManagerV2_Data\CBData" -CBExtrName1 #NX75 -CBExtrName2 #NX80 -CB_Setting_DPNE "V:\JobManager\ProgEntw\Ver02\JobManagerV2\01-BinServer.Custom\CheckBoxSettings-TestSystem.xml" -CgmToTif ON -CgmToTif_cmdProg default -CgmToTif_cmdArgs default -CBcompDifMergTifgen default -ImageMagick_DP "V:\JobManager\ProgEntw\Ver02\JobManagerV2\90-DATA\CustomerNameShort_SettingsGlobal\10-JobScripts\CheckBox\ImageMagick" -verbose -pauseOnEnd



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


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

required Options:
-----------------
JobManagerCmdTools.exe -Action "CBTools_2012_05"
 -CBcompDifMergTifgen default   *Merge.tif" + "Dif.tif"  wird erzeugt
 -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  (#Doc: wenn -CBRunsToCompare -!! NICHT !!- angegben ist                   )
 -CBExtrName2                   #CB2  (        |-> kann -CBExtrName1 + -CBExtrName2 alternativ verwendet werden )
 -JobRoot_DP        
 -CBDataOrg_RootDir_dp
 -CgmToTif ON/OFF
 -CgmToTif_cmdProg
 -CgmToTif_cmdArgs
 -ImageMagic_DP

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_DP "C:\Program Files (x86)\ImageMagick-6.7.7-Q16"

#Doc Test J.Fes 14.08.2012 
-Action "CBTools_2012_05" -JobRoot_DP "C:\Temp\JobClient\Tc83_CB_S3GenRes_00028_CustomerNameShort" -CBcompDifMergTifgen default -CBDataOrg_RootDir_DP "\\jf-26\JobManagerV2_Data\CBData" -CBRunsToCompare #NX75-#NX80 -CBExtrName1 #NX75 -CBExtrName2 #NX80 -CgmToTif ON -CgmToTif_cmdProg default -CgmToTif_cmdArgs default -ImageMagick_DP "V:\JobManager\ProgEntw\Ver02\JobManagerV2\90-DATA\CustomerNameShort_SettingsGlobal\10-JobScripts\CheckBox\ImageMagick" -verbose -pause

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

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