Get Pipeline Parameter Index Value

From Visual3D Wiki Documentation
Jump to: navigation, search

Description: Allow accessing pipeline parameter "array values" by "index".

Get_Pipeline_Parameter_Index_Value
/PARAMETER_NAME=
/PARAMETER_VALUE=
/INDEX=
;

Example

Set_Pipeline_Parameter
/PARAMETER_NAME=running_speed
/PARAMETER_VALUE=10 km/h+12 km/h+14 km/h
;

Set_Pipeline_Parameter
/PARAMETER_NAME=filenames
/PARAMETER_VALUE=fileA + fileB + fileC
;

For_Each
/ITERATION_PARAMETER_NAME=file
/ITERATION_PARAMETER_COUNT_NAME=increment
/ITEMS=filenames
;
  
   File_Open
   /FILE_NAME=::file
   ;
  
   Get_Pipeline_Parameter_Index_Value
   /PARAMETER_NAME= SCOTT
   /PARAMETER_VALUE=::running_speed
   /INDEX=::increment
   ;

   Assign_Tags_To_Files
   /MOTION_FILE_NAMES=::file
   /TAGS=::SCOTT
   ;
  
End_For_Each
/ITERATION_PARAMETER_NAME=file
;
Retrieved from ""