﻿#Doc: Aktion: NX-Export via UG_Clone #Bschreibung: [#New: 3.1502;04.12.2020;A.Stein]
With this Tool you export NX Data from TC into a native Exchange Folder 
      
CLA CommandLineArguments:
-------------------------

Parameters:
JobManagerCmdTools.exe 
  -Action									"NxDataProcessing_2013_09" 
  -SubAction								"Custom02Export"									#Doc: triggers Subaction StepExport
  -JobRoot_DP								"%JobRoot_DP%"										#Doc: Root.Dir of Job 
  -ShellExecProg_AttrSync_DPNE				"%UGII_BASE_DIR%\ug_clone.exe"						#Doc: full path of UG_Clone.exe
  -ShellExecProg_Local_DP                   "#JobRoot_DP#\..\BINL"                              #Doc: Root path to local copy from -ShellExecProg_DP.. 
  -JobTemp_DP								"%JobRoot_DP%\JobTemp"						     	#Doc: current job temp dir
  -Operation_UG_Clone						"EXPORT_OPERATION"
  -SpecificActionName						"USE_EXISTING"
  -PFM_Treatment							"strip_status"
  -Copy_associated_files					"ON"
  -Copy_related_draw						"ON"
  -Copy_related_cae							"ON"
  -Export_Root_DP							"//ExchangeDir/"
  
  

-Action "NxDataProcessing_2013_09" -SubAction "NxTcExport_via_UGClone" -JobRoot_DP "C:\i\TestMawera\PLMS_NXDP_NXTCExpoSP_R1_01941_IMA" -JobTemp_DP "#JobRoot_DP#\JobTemp" -Operation_UG_Clone "EXPORT_OPERATION" -SpecificActionName "USE_EXISTING" -PFM_Treatment "strip_status" -Copy_associated_files "YES" -Copy_related_draw "YES" -Copy_related_cae "YES" -Export_Root_DP "C:\i\TestMawera"-verbose -PauseOnEnd -test
                Case SubAction_Enums.Custom02Export
                    Yield ClaParamInfo_cls.Get(NameOf(CLAs_cls.Operation_UG_Clone))
                    Yield ClaParamInfo_cls.Get(NameOf(CLAs_cls.SpecificActionName))
                    Yield ClaParamInfo_cls.Get(NameOf(CLAs_cls.PFM_Treatment))
                    Yield ClaParamInfo_cls.Get(NameOf(CLAs_cls.Copy_associated_files))
                    Yield ClaParamInfo_cls.Get(NameOf(CLAs_cls.Copy_related_draw))
                    Yield ClaParamInfo_cls.Get(NameOf(CLAs_cls.Copy_related_cae))
                    Yield ClaParamInfo_cls.Get(NameOf(CLAs_cls.Export_Root_DP))

					-Action "CustomCmdTools_2016_04" -SubAction "ARASIr1CSV" -JobRoot_DP "C:\Daten\addPLM\CustomersDataL\vA\2019-03-29-ExampleData\Mig\Prod_PSP_P\Prod_PSP_P_P2TXrefMig02_P_34572_vA" -ShellExecProg_AttrSync_DPNE "pfadzumtool" -JobTemp_DP "#JobRoot_DP#\JobTemp" -ARASCsvFileDelimiterStr "|" -pause -JobMgrDataOrg_Root_DP "X:/ExportRoot"