visual3d:documentation:pipeline:pipeline_commands:set_pipeline_parameter
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:set_pipeline_parameter [2024/06/19 12:52] – sgranger | visual3d:documentation:pipeline:pipeline_commands:set_pipeline_parameter [2026/02/04 20:48] (current) – wikisysop | ||
|---|---|---|---|
| Line 1: | Line 1: | ||
| - | pipeline parameters | + | ====== Set Pipeline Parameter ====== |
| + | This command | ||
| - | |**set_pipeline_parameter** | + | ====Pipeline command==== |
| - | |**/ | + | This command can be found in the Pipeline Workshop within the Pipeline Control folder as shown below: |
| - | |**/ | + | < |
| - | |**/ | + | Set_Pipeline_Parameter |
| - | |**/ | + | / |
| - | |**/ | + | / |
| + | ! / | ||
| + | ! / | ||
| + | ! / | ||
| + | ! / | ||
| + | ! / | ||
| + | ; | ||
| + | </ | ||
| + | |||
| + | ====Command Parameters==== | ||
| + | The following table shows the command parameters that can be used to define the command and their descriptions: | ||
| + | |||
| + | |**Parameter** | ||
| + | |**Parameter Name**|The name of the Pipeline Parameter. The parameter is referred to by other commands using two colons (::) in front of the parameter name| | ||
| + | |**Parameter Value**|The value of the parameter. | ||
| + | |**Parameter Value Search For**|Search for parameters with this value| | ||
| + | |**Parameter Value Replace With**|Replace | ||
| + | |**Multi Pass**|True or False: | ||
| - | ===== example: set pipeline values | + | ==== Example: Set Pipeline Values |
| - | this example sets pipeline parameters and new values via search and replace. | + | This example sets pipeline parameters and new values via search and replace. |
| < | < | ||
| - | !set the pipeline | + | !Set the Pipeline |
| - | set_pipeline_parameter | + | Set_Pipeline_Parameter |
| - | /parameter_name=original | + | /PARAMETER_NAME=original |
| - | /parameter_value=replacethexxxx | + | /PARAMETER_VALUE=replacethexxxx |
| ; | ; | ||
| - | ! set the pipeline | + | ! Set the Pipeline |
| ! part of the string zzzz for xxxx | ! part of the string zzzz for xxxx | ||
| - | set_pipeline_parameter | + | Set_Pipeline_Parameter |
| - | /parameter_name=newparameter | + | /PARAMETER_NAME=newparameter |
| - | /parameter_value=replacethexxxx | + | /PARAMETER_VALUE=replacethexxxx |
| - | /parameter_value_search_for=xxxx | + | /PARAMETER_VALUE_SEARCH_FOR=xxxx |
| - | /parameter_value_replace_with=zzzz | + | /PARAMETER_VALUE_REPLACE_WITH=zzzz |
| ; | ; | ||
| </ | </ | ||
| - | ===== example: set pipeline parameter value to a string ===== | + | ==== Example: Set Pipeline Parameter Value to a String |
| - | for example, the following command creates a global parameter **signals** which contains the string **rightfoot1+rightfoot2+rightfoot3**. a low pass filter is run on the pipeline parameter **signals**. | + | For example, the following command creates a global parameter **SIGNALS** which contains the string **RightFoot1+RightFoot2+RightFoot3**. A low pass filter is run on the pipeline parameter **SIGNALS**. |
| < | < | ||
| - | set_pipeline_parameter | + | Set_Pipeline_Parameter |
| - | /parameter_name=signals | + | /Parameter_Name=SIGNALS |
| - | /parameter_value=rightfoot1+rightfoot2+rightfoot3 | + | /Parameter_Value=RightFoot1+RightFoot2+RightFoot3 |
| ; | ; | ||
| - | ! all three signals will be processed with low pass filter | + | ! All three signals will be processed with low pass filter |
| - | lowpass_filter | + | Lowpass_Filter |
| - | /signal_types=original+original+original | + | /Signal_Types=ORIGINAL+ORIGINAL+ORIGINAL |
| - | /signal_names=::signals | + | /Signal_Names=::SIGNALS |
| ; | ; | ||
| </ | </ | ||
| - | ===== example: search | + | ==== Example: Search |
| - | the plus sign typically indicates different a list of values, but sometimes a user may want to search and replace a plus sign. this is allowed if the user types \+. an example is below: | + | The plus sign typically indicates different a list of values, but sometimes a user may want to search and replace a plus sign. This is allowed if the user types \+. An example is below: |
| < | < | ||
| - | set_pipeline_parameter | + | Set_Pipeline_Parameter |
| - | /parameter_name=test | + | /PARAMETER_NAME=TEST |
| - | /parameter_value=a + b | + | /PARAMETER_VALUE=A + B |
| - | /parameter_value_search_for=\+ | + | /PARAMETER_VALUE_SEARCH_FOR=\+ |
| - | /parameter_value_replace_with=- | + | /PARAMETER_VALUE_REPLACE_WITH=- |
| ; | ; | ||
| </ | </ | ||
| - | **result: ::test = a - b** | + | **Result: ::TEST = A - B** |
| < | < | ||
| - | set_pipeline_parameter | + | Set_Pipeline_Parameter |
| - | /parameter_name=test | + | /PARAMETER_NAME=TEST |
| - | /parameter_value= a - b | + | /PARAMETER_VALUE= A - B |
| - | /parameter_value_search_for=- | + | /PARAMETER_VALUE_SEARCH_FOR=- |
| - | /parameter_value_replace_with=\+ | + | /PARAMETER_VALUE_REPLACE_WITH=\+ |
| ; | ; | ||
| </ | </ | ||
| - | **result: ::test = a + b** | + | **Result: ::TEST = A + B** |
| - | ===== example: set pipeline parameter multi-pass ===== | + | ==== Example: Set Pipeline Parameter Multi-Pass ==== |
| - | multipass | + | MultiPass |
| - | the resulting parameter could be a new pipeline parameter | + | The resulting parameter could be a new pipeline parameter |
| - | for example, the resulting string could be ::value | + | for example, the resulting string could be ::VALUE |
| - | if multipass | + | If MultiPass |
| example: | example: | ||
| < | < | ||
| - | set_pipeline_parameter | + | Set_Pipeline_Parameter |
| - | /parameter_name=test | + | /PARAMETER_NAME=TEST |
| - | /parameter_value=scott | + | /PARAMETER_VALUE=SCOTT |
| - | ! /parameter_value_search_for= | + | ! /PARAMETER_VALUE_SEARCH_FOR= |
| - | ! /parameter_value_replace_with= | + | ! /PARAMETER_VALUE_REPLACE_WITH= |
| - | ! /parameter_value_prefix= | + | ! /PARAMETER_VALUE_PREFIX= |
| - | ! /parameter_value_append= | + | ! /PARAMETER_VALUE_APPEND= |
| ; | ; | ||
| </ | </ | ||
| - | pipeline parameter : ::test = scott | + | Pipeline Parameter : ::TEST = SCOTT |
| < | < | ||
| Line 100: | Line 118: | ||
| < | < | ||
| - | set_pipeline_parameter | + | Set_Pipeline_Parameter |
| - | /parameter_name=one | + | /PARAMETER_NAME=ONE |
| - | /parameter_value=keith | + | /PARAMETER_VALUE=KEITH |
| - | ! /parameter_value_search_for= | + | ! /PARAMETER_VALUE_SEARCH_FOR= |
| - | ! /parameter_value_replace_with= | + | ! /PARAMETER_VALUE_REPLACE_WITH= |
| - | ! /parameter_value_prefix= | + | ! /PARAMETER_VALUE_PREFIX= |
| - | ! /parameter_value_append= | + | ! /PARAMETER_VALUE_APPEND= |
| ; | ; | ||
| </ | </ | ||
| - | pipeline parameter : ::one = keith | + | Pipeline Parameter : ::ONE = KEITH |
| < | < | ||
| Line 117: | Line 135: | ||
| < | < | ||
| - | set_pipeline_parameter | + | Set_Pipeline_Parameter |
| - | /parameter_name=scottkeith | + | /PARAMETER_NAME=SCOTTKEITH |
| - | /parameter_value=7 | + | /PARAMETER_VALUE=7 |
| - | ! /parameter_value_search_for= | + | ! /PARAMETER_VALUE_SEARCH_FOR= |
| - | ! /parameter_value_replace_with= | + | ! /PARAMETER_VALUE_REPLACE_WITH= |
| - | ! /parameter_value_prefix= | + | ! /PARAMETER_VALUE_PREFIX= |
| - | ! /parameter_value_append= | + | ! /PARAMETER_VALUE_APPEND= |
| ; | ; | ||
| </ | </ | ||
| - | pipeline parameter : ::scottkeith | + | Pipeline Parameter : ::SCOTTKEITH |
| < | < | ||
| Line 133: | Line 151: | ||
| </ | </ | ||
| - | if we set multi_pass= false | + | if we set MULTI_PASS= FALSE |
| < | < | ||
| - | set_pipeline_parameter | + | Set_Pipeline_Parameter |
| - | /parameter_name=final | + | /PARAMETER_NAME=FINAL |
| - | /parameter_value=::scottkeith | + | /PARAMETER_VALUE=::SCOTTKEITH |
| - | ! /parameter_value_search_for= | + | ! /PARAMETER_VALUE_SEARCH_FOR= |
| - | ! /parameter_value_replace_with= | + | ! /PARAMETER_VALUE_REPLACE_WITH= |
| - | ! /parameter_value_prefix= | + | ! /PARAMETER_VALUE_PREFIX= |
| - | ! /parameter_value_append= | + | ! /PARAMETER_VALUE_APPEND= |
| - | ! /multi_pass=false | + | ! /MULTI_PASS=FALSE |
| ; | ; | ||
| </ | </ | ||
| - | pipeline parameter : ::final = ::scottkeith | + | Pipeline Parameter : ::FINAL = ::SCOTTKEITH |
| - | if we set multi_pass= true | + | if we set MULTI_PASS= TRUE |
| < | < | ||
| - | set_pipeline_parameter | + | Set_Pipeline_Parameter |
| - | /parameter_name=final | + | /PARAMETER_NAME=FINAL |
| - | /parameter_value=::scottkeith | + | /PARAMETER_VALUE=::SCOTTKEITH |
| - | ! /parameter_value_search_for= | + | ! /PARAMETER_VALUE_SEARCH_FOR= |
| - | ! /parameter_value_replace_with= | + | ! /PARAMETER_VALUE_REPLACE_WITH= |
| - | ! /parameter_value_prefix= | + | ! /PARAMETER_VALUE_PREFIX= |
| - | ! /parameter_value_append= | + | ! /PARAMETER_VALUE_APPEND= |
| - | /multi_pass=true | + | /MULTI_PASS=true |
| ; | ; | ||
| </ | </ | ||
| - | pipeline parameter : ::final = 7 | + | Pipeline Parameter : ::FINAL = 7 |
| - | **note:** if the above does not work (if final is not set to 7, and multi_pass | + | **NOTE:** If the above does not work (if FINAL is not set to 7, and MULTI_PASS |
visual3d/documentation/pipeline/pipeline_commands/set_pipeline_parameter.1718801552.txt.gz · Last modified: by sgranger
