visual3d:documentation:pipeline:pipeline_commands:get_pipeline_parameter_count
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revisionNext revision | Previous revision | ||
| visual3d:documentation:pipeline:pipeline_commands:get_pipeline_parameter_count [2024/06/26 20:28] – created sgranger | visual3d:documentation:pipeline:pipeline_commands:get_pipeline_parameter_count [2026/04/28 20:56] (current) – [Command Syntax] wikisysop | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | ====== | + | ====== |
| + | This command allows users to easily access how many values are contained within a previously defined pipeline parameter. | ||
| - | Get a count of the number of parameter values | + | ===== Command Syntax ===== |
| - | + | The command can be found in the Pipeline Workshop within the Pipeline Control folder as so: | |
| - | **Get_Pipeline_Parameter_Count** | + | < |
| + | Get_Pipeline_Parameter_Count | ||
| / | / | ||
| - | / | + | ! / |
| - | **;** | + | ; |
| - | \\ | + | </ |
| + | ====Command Parameters==== | ||
| + | The following table shows the command parameters that can be used to define the command and their descriptions: | ||
| - | ==== Example1 ==== | + | ^ **Parameter** |
| + | |**Parameter Name**|Name of the parameter generated, which contains the count.| | ||
| + | |**Parameter Value**|List whose items we want to count.| | ||
| - | Create | + | ===== Examples ===== |
| + | ==== Example: | ||
| - | **Set_Pipeline_Parameter** | + | Create a parameter with three values, then retrieve the count: |
| - | / | + | < |
| - | / | + | Set_Pipeline_Parameter |
| - | **;** | + | |
| - | **Get_Pipeline_Parameter_Count** | + | |
| - | / | + | |
| - | / | + | |
| - | **;** | + | |
| - | The results from executing these two command is: | + | |
| - | + | ||
| - | --------------------------------------------------------------------------- | + | |
| - | **Set_Pipeline_Parameter** | + | |
| / | / | ||
| / | / | ||
| Line 32: | Line 30: | ||
| ! / | ! / | ||
| ! / | ! / | ||
| - | **;** | + | ; |
| - | Pipeline Parameter : | + | </ |
| :: | :: | ||
| - | --------------------------------------------------------------------------- | + | |
| - | **Get_Pipeline_Parameter_Count** | + | < |
| + | Get_Pipeline_Parameter_Count | ||
| / | / | ||
| / | / | ||
| - | **;** | + | ; |
| + | </ | ||
| ::COUNT = 3 | ::COUNT = 3 | ||
| - | ==== Example2 ==== | ||
| - | **Set_Pipeline_Parameter_To_List_Of_Signal_Names** | + | ==== Example: Count Number of Signals in a Folder ==== |
| + | |||
| + | More usefully, we might want to count the number of a particular item contained within a file. For example, we may want to know how many [[visual3d: | ||
| + | |||
| + | < | ||
| + | Set_Pipeline_Parameter_To_List_Of_Signal_Names | ||
| / | / | ||
| / | / | ||
| SIGNAL_FOLDER=ORIGINAL | SIGNAL_FOLDER=ORIGINAL | ||
| - | **;** | + | ; |
| - | **Get_Pipeline_Parameter_Count** | + | </ |
| + | |||
| + | TARGETS = LAS+LPP+LPS+LTH1+LTH2+LTH3+LTH4+RAS+RPP+RPS+RTH1+RTH2+RTH3+RTH4 | ||
| + | |||
| + | < | ||
| + | Get_Pipeline_Parameter_Count | ||
| / | / | ||
| / | / | ||
| - | **;** | + | ; |
| - | For this specific test file the results are: | + | </ |
| - | \\ | ||
| - | |||
| - | |||
| - | --------------------------------------------------------------------------- | ||
| - | **Set_Pipeline_Parameter_To_List_Of_Signal_Names** | ||
| - | / | ||
| - | / | ||
| - | ! / | ||
| - | **;** | ||
| - | TARGETS= | ||
| - | LAS | ||
| - | LPP | ||
| - | LPS | ||
| - | LTH1 | ||
| - | LTH2 | ||
| - | LTH3 | ||
| - | LTH4 | ||
| - | RAS | ||
| - | RPP | ||
| - | RPS | ||
| - | RTH1 | ||
| - | RTH2 | ||
| - | RTH3 | ||
| - | RTH4 | ||
| - | --------------------------------------------------------------------------- | ||
| - | **Get_Pipeline_Parameter_Count** | ||
| - | / | ||
| - | / | ||
| - | **;** | ||
| ::COUNT = 14 | ::COUNT = 14 | ||
visual3d/documentation/pipeline/pipeline_commands/get_pipeline_parameter_count.1719433703.txt.gz · Last modified: by sgranger
