User Tools

Site Tools


visual3d:documentation:pipeline:expressions:reserved_characters

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:expressions:reserved_characters [2024/06/19 12:49] sgrangervisual3d:documentation:pipeline:expressions:reserved_characters [2024/07/17 15:45] (current) – created sgranger
Line 1: Line 1:
-reserved characters in expressions+====== Reserved Characters ======
  
-===== contents =====+Reserved Characters in Expressions
  
 +==== Contents ====
  
  
-  * [[#amp|1 amp]] 
-  * [[#colon|2 colon]] 
-  * [[#semicolon|3 semicolon]] 
-  * [[#plus|4 plus]] 
-  * [[#fslash|5 fslash]] 
-  * [[#space|6 space]] 
  
 +  * [[#AMP|1 AMP]]
 +  * [[#COLON|2 COLON]]
 +  * [[#SEMICOLON|3 SEMICOLON]]
 +  * [[#PLUS|4 PLUS]]
 +  * [[#FSLASH|5 FSLASH]]
 +  * [[#SPACE|6 SPACE]]
  
-===== amp ===== 
  
-amp &+==== AMP ====
  
-for example, if the desired pipeline command were as follows:+AMP = &
  
-**select_active_file** +For example, if the desired pipeline command were as follows: 
-/file_name=all_files + 
-/querytag1 tag2+**Select_Active_File** 
 +/FILE_NAME=ALL_FILES 
 +/QUERYTAG1 TAG2
 **;** **;**
-if the tags tag1 and tag2 exist then all files that have been assigned both tags will be active.+If the tags TAG1 and TAG2 exist then all files that have been assigned both tags will be active.
  
-if, however, we want to use pipeline parameters in place of the text tag1 and tag2, we have a problem because there is no way to stop visual3d from using the & character to concatenate the text. the solution was to introduce a reserved parameter ::amp.+If, however, we want to use pipeline parameters in place of the text TAG1 and TAG2, we have a problem because there is no way to stop Visual3D from using the & character to concatenate the text. The solution was to introduce a reserved parameter ::AMP.
  
-the following pipeline would result+The following pipeline would result
  
-set_pipeline_parameter+Set_Pipeline_Parameter
  
-**set_pipeline_parameter** +**Set_Pipeline_Parameter** 
-/parameter_name=a +/PARAMETER_NAME=A 
-/parameter_value=tag1+/PARAMETER_VALUE=TAG1
 **;** **;**
-**set_pipeline_parameter** +**Set_Pipeline_Parameter** 
-/parameter_name=b +/PARAMETER_NAME=B 
-/parameter_value=tag2+/PARAMETER_VALUE=TAG2
 **;** **;**
-**select_active_file** +**Select_Active_File** 
-**/file_name=all_files** +**/FILE_NAME=ALL_FILES** 
-**/query= ::a&::amp&::b**+**/QUERY= ::A&::AMP&::B**
 **;** **;**
-this would result in visual3d interpreting the query+This would result in Visual3D interpreting the query
  
-/query=tag1 tag2 +/QUERY=TAG1 TAG2 
-for more: [[https://www.c-motion.com/v3dwiki/index.php?title=expressions:_examples_of_using_the_amp_operator|examples of using the amp operator]]+For more: [[https://www.c-motion.com/v3dwiki/index.php?title=Expressions:_Examples_of_Using_the_AMP_Operator|Examples of Using the AMP Operator]]
  
-===== colon =====+==== COLON ====
  
-colon = :+COLON = :
  
-===== semicolon =====+==== SEMICOLON ====
  
-semicolon = ;+SEMICOLON = ;
  
-===== plus =====+==== PLUS ====
  
-plus = ++PLUS = +
  
-===== fslash =====+==== FSLASH ====
  
-fslash = /+FSLASH = /
  
-===== space =====+==== SPACE ====
  
-space=" "+SPACE=" "
  
  
  
visual3d/documentation/pipeline/expressions/reserved_characters.1718801399.txt.gz · Last modified: 2024/06/19 12:49 by sgranger