VEX Solution tips .

   1130   2   1
User Avatar
Member
34 posts
Joined: Dec. 2018
Offline
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.
Edited by papon - July 20, 2019 09:43:26

Attachments:
Screenshot_1.png (4.4 KB)

User Avatar
Member
6689 posts
Joined: July 2007
Offline
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.
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
34 posts
Joined: Dec. 2018
Offline
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 ?
Edited by papon - July 20, 2019 11:27:27
  • Quick Links