visual3d:documentation:pipeline:pipeline_commands:set_pipeline_parameter_from_expression
Differences
This shows you the differences between two versions of the page.
| Both sides previous revisionPrevious revision | |||
| visual3d:documentation:pipeline:pipeline_commands:set_pipeline_parameter_from_expression [2026/02/06 15:47] – wikisysop | visual3d:documentation:pipeline:pipeline_commands:set_pipeline_parameter_from_expression [2026/02/06 21:01] (current) – wikisysop | ||
|---|---|---|---|
| Line 21: | Line 21: | ||
| For more information on how expressions can be used and defined see [[visual3d: | For more information on how expressions can be used and defined see [[visual3d: | ||
| - | ====Example: | + | ====Syntax Notes==== |
| - | **Set_Pipeline_Parameter_From_Expression** | + | < |
| + | Set_Pipeline_Parameter_From_Expression | ||
| / | / | ||
| / | / | ||
| / | / | ||
| - | **;** | + | ; |
| + | </ | ||
| The pipeline parameter contains the value of the expression. | The pipeline parameter contains the value of the expression. | ||
| Line 38: | Line 40: | ||
| Consider the following which uses string comparisons and a pipeline parameter in the expression: | Consider the following which uses string comparisons and a pipeline parameter in the expression: | ||
| - | **Set_Pipeline_Parameter_From_Expression** | + | < |
| + | Set_Pipeline_Parameter_From_Expression | ||
| / | / | ||
| / | / | ||
| / | / | ||
| - | **;** | + | ; |
| + | </ | ||
| The goal was to set MVAL to 4.6 when the pipeline parameter TAG_NAMES was equal to the string " | The goal was to set MVAL to 4.6 when the pipeline parameter TAG_NAMES was equal to the string " | ||
| One solution is to separate the pipeline parameter from the expression. | One solution is to separate the pipeline parameter from the expression. | ||
| - | **Set_Pipeline_Parameter** | + | < |
| + | Set_Pipeline_Parameter | ||
| / | / | ||
| / | / | ||
| - | **;** | + | ; |
| + | </ | ||
| \\ | \\ | ||
| - | + | < | |
| - | **Set_Pipeline_Parameter_From_Expression** | + | Set_Pipeline_Parameter_From_Expression |
| / | / | ||
| / | / | ||
| / | / | ||
| - | **;** | + | ; |
| + | </ | ||
| \\ | \\ | ||
| Another solution, which is even trickier in terms of syntax is: | Another solution, which is even trickier in terms of syntax is: | ||
| - | **Set_Pipeline_Parameter_From_Expression** | + | < |
| + | Set_Pipeline_Parameter_From_Expression | ||
| / | / | ||
| / | / | ||
| ! / | ! / | ||
| - | **;** | + | ; |
| + | </ | ||
| This forces Visual3D to recognize the strings as strings and the & is treated correctly. | This forces Visual3D to recognize the strings as strings and the & is treated correctly. | ||
| Line 72: | Line 84: | ||
| - | === Get global metrics === | + | ====Example: |
| Global metrics can be set to a pipeline parameter by setting " | Global metrics can be set to a pipeline parameter by setting " | ||
| - | **Set_Pipeline_Parameter_From_Expression** | + | < |
| + | Set_Pipeline_Parameter_From_Expression | ||
| / | / | ||
| / | / | ||
| / | / | ||
| - | **;** | + | ; |
| - | + | </ | |
visual3d/documentation/pipeline/pipeline_commands/set_pipeline_parameter_from_expression.1770392869.txt.gz · Last modified: by wikisysop
