Reference geometry outside wrangle

   1661   2   1
User Avatar
Member
50 posts
Joined: Nov. 2016
Offline
When I write inside my wrangle this code my new variable is all 0's.
v@pt = point("../transform1/", "P" , 0);
I could plug the reference node and go on with it, but what if the node was super far away making it not practical.
I know this is a stupid question but I must be missing out on something.
User Avatar
Member
306 posts
Joined: Feb. 2012
Offline
you need to add op: so it will be like this

v@pt = point("op:../transform1", "P", 0);

by the way, also you could just obj merge your geo in the same network (nothing wrong with that) and connected that to the second input of the wrangle. That might be more readable.
Edited by sepu - Aug. 6, 2017 18:49:38
User Avatar
Member
50 posts
Joined: Nov. 2016
Offline
Ahhhhh! How could have I missed the colon sign. I tried adding op to the string but had been missing something. Thanks mate! I have seen people using the merge method but I am a bit of a fan of super clean networks, so in some cases that could cause clutter.
  • Quick Links