User Tools

Site Tools


visual3d:documentation:pipeline:pipeline_commands:get_pipeline_parameter_count

This is an old revision of the document!


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

visual3d/documentation/pipeline/pipeline_commands/get_pipeline_parameter_count.1718804309.txt.gz · Last modified: 2024/06/19 13:38 by sgranger