User Tools

Site Tools


visual3d:documentation:pipeline:pipeline_commands:get_pipeline_parameter_count

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
visual3d:documentation:pipeline:pipeline_commands:get_pipeline_parameter_count [2026/02/20 21:02] wikisysopvisual3d:documentation:pipeline:pipeline_commands:get_pipeline_parameter_count [2026/04/28 20:56] (current) – [Command Syntax] wikisysop
Line 1: Line 1:
 ====== Get Pipeline Parameter Count ====== ====== Get Pipeline Parameter Count ======
-This command is used to get a count of the number of values contained within a previously defined pipeline parameter. +This command allows users to easily access how many values are contained within a previously defined pipeline parameter. 
  
-====Pipeline Command====+====Command Syntax =====
 The command can be found in the Pipeline Workshop within the Pipeline Control folder as so: The command can be found in the Pipeline Workshop within the Pipeline Control folder as so:
 <code> <code>
Line 14: Line 14:
 The following table shows the command parameters that can be used to define the command and their descriptions: The following table shows the command parameters that can be used to define the command and their descriptions:
  
-|**Parameter**   |**Description**| +**Parameter**  **Description** ^ 
-|**Parameter Name**|Name of the parameter generated containing the count| +|**Parameter Name**|Name of the parameter generated, which contains the count.
-|**Parameter Value**|Parameter to count the values of|+|**Parameter Value**|List whose items we want to count.|
  
-==== Example: Create Parameter and Count Values ====+===== Examples ===== 
 +==== Example: Create List Parameter and Count Values ====
  
 Create a parameter with three values, then retrieve the count:  Create a parameter with three values, then retrieve the count: 
Line 32: Line 33:
 </code> </code>
  
-Pipeline Parameter : 
 ::TEST_PARAMETER = ONE+TWO+THREE ::TEST_PARAMETER = ONE+TWO+THREE
 +
 <code> <code>
 Get_Pipeline_Parameter_Count Get_Pipeline_Parameter_Count
Line 42: Line 43:
  
 ::COUNT = 3 ::COUNT = 3
 +
 ==== Example: Count Number of Signals in a Folder ==== ==== 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:documentation:c3d_signal_types:target_data_type|TARGET]] signals are included in a specific [[visual3d:documentation:c3d_signal_types:c3d_format|C3D file]].
 +
 <code> <code>
 Set_Pipeline_Parameter_To_List_Of_Signal_Names Set_Pipeline_Parameter_To_List_Of_Signal_Names
Line 50: Line 55:
 ; ;
 </code> </code>
 +
 +TARGETS = LAS+LPP+LPS+LTH1+LTH2+LTH3+LTH4+RAS+RPP+RPS+RTH1+RTH2+RTH3+RTH4
  
 <code> <code>
Line 57: Line 64:
 ; ;
 </code> </code>
-Results for each of these commands are:  
- 
-TARGETS= 
-LAS 
-LPP 
-LPS 
-LTH1 
-LTH2 
-LTH3 
-LTH4 
-RAS 
-RPP 
-RPS 
-RTH1 
-RTH2 
-RTH3 
-RTH4 
  
 ::COUNT = 14 ::COUNT = 14
  
  
visual3d/documentation/pipeline/pipeline_commands/get_pipeline_parameter_count.1771621326.txt.gz · Last modified: by wikisysop