Table of Contents
Get Pipeline Parameter Count
Get a count of the number of parameter values in a parameter.
Get_Pipeline_Parameter_Count
/PARAMETER_NAME=
/PARAMETER_VALUE=
;
Example1
Create a parameter with three values, then retrieve the count
Set_Pipeline_Parameter /PARAMETER_NAME=TEST_PARAMETER /PARAMETER_VALUE=ONE+TWO+THREE ; Get_Pipeline_Parameter_Count /PARAMETER_NAME=COUNT /PARAMETER_VALUE=::TEST_PARAMETER ; The results from executing these two command is:
Set_Pipeline_Parameter /PARAMETER_NAME=TEST_PARAMETER /PARAMETER_VALUE=ONE+TWO+THREE ! /PARAMETER_VALUE_SEARCH_FOR= ! /PARAMETER_VALUE_REPLACE_WITH= ! /PARAMETER_VALUE_PREFIX= ! /PARAMETER_VALUE_APPEND= ; Pipeline Parameter : ::TEST_PARAMETER = ONE+TWO+THREE
Get_Pipeline_Parameter_Count /PARAMETER_NAME=COUNT /PARAMETER_VALUE=ONE+TWO+THREE ; ::COUNT = 3
Example2
Set_Pipeline_Parameter_To_List_Of_Signal_Names /PARAMETER_NAME=TARGETS /SIGNAL_TYPE=TARGET SIGNAL_FOLDER=ORIGINAL ; Get_Pipeline_Parameter_Count /PARAMETER_NAME=COUNT /PARAMETER_VALUE=::TARGETS ; For this specific test file the results are:
Set_Pipeline_Parameter_To_List_Of_Signal_Names /PARAMETER_NAME=TARGETS /SIGNAL_TYPE=TARGET ! /SIGNAL_FOLDER=ORIGINAL ; TARGETS= LAS LPP LPS LTH1 LTH2 LTH3 LTH4 RAS RPP RPS RTH1 RTH2 RTH3 RTH4
Get_Pipeline_Parameter_Count /PARAMETER_NAME=COUNT /PARAMETER_VALUE=LAS+LPP+LPS+LTH1+LTH2+LTH3+LTH4+RAS+RPP+RPS+RTH1+RTH2+RTH3+RTH4 ; ::COUNT = 14