Search - User list
Full Version: VEX Solution tips .
Root » Houdini Lounge » VEX Solution tips .
papon
difference b/w .. and . and what the use of backtick in the given code ?
plz someone explain the following code if possible.
actually for lack of clarity explain me the code(snippet) inside ‘import point vop node’.




-thankYou.
tamte
several things going on here:

1. this is not VEX, but hscript expression
as you may know you can insert hscript expressions into string parameters by enclosing them in backticks``
so in this case the whole highlighted line is an inserted hscript expression that will first get resolved
you can see it's resolved value fy MMB on the parameter label (Code Snippet in this case)

2.
. is reference to the current node
.. is reference to the parent node (node higher one level)
it's a traditional unix relative path syntax, so ../.. is 2 levels above the current node, etc.
papon
tamte
several things going on here:

1. this is not VEX, but hscript expression
as you may know you can insert hscript expressions into string parameters by enclosing them in backticks``
so in this case the whole highlighted line is an inserted hscript expression that will first get resolved
you can see it's resolved value fy MMB on the parameter label (Code Snippet in this case)

2.
. is reference to the current node
.. is reference to the parent node (node higher one level)
it's a traditional unix relative path syntax, so ../.. is 2 levels above the current node, etc.
another query >> there is nothing b/w “nothing” in the hscript expression what does that mean ?
This is a "lo-fi" version of our main content. To view the full version with more information, formatting and images, please click here.
Powered by DjangoBB