VEX Solution tips .

   2243   2   1
User Avatar
Member
34 posts
Joined: 12月 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 - 2019年7月20日 09:43:26

Attachments:
Screenshot_1.png (4.4 KB)

User Avatar
Member
8526 posts
Joined: 7月 2007
Online
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: 12月 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 - 2019年7月20日 11:27:27
  • Quick Links