User Tools

Site Tools


visual3d:documentation:pipeline:pipeline_commands:get_pipeline_parameter_count

This is an old revision of the document!


Get Pipeline Parameter Count

This command is used to get a count of the number of values contained within a previously defined pipeline parameter.

Pipeline Command

The command can be found in the Pipeline Workshop within the Pipeline Control folder as so:

Get_Pipeline_Parameter_Count
/PARAMETER_NAME=
! /PARAMETER_VALUE=
;

Command Parameters

The following table shows the command parameters that can be used to define the command and their descriptions:

Parameter Description
Parameter NameName of the parameter generated containing the count
Parameter ValueParameter to count the values of

Example: Create Parameter and Count Values

Create a parameter with three values, then retrieve the count:

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

Example: Count Number of Signals in a Folder

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
;

Results for each of these commands are:

TARGETS= LAS LPP LPS LTH1 LTH2 LTH3 LTH4 RAS RPP RPS RTH1 RTH2 RTH3 RTH4

::COUNT = 14

visual3d/documentation/pipeline/pipeline_commands/get_pipeline_parameter_count.1771621326.txt.gz · Last modified: by wikisysop