mattjakob Posted December 4, 2017 Share Posted December 4, 2017 I added a custom operator interface to a Point Wrangle node to get a point position (from an add node). In the screenshot below I'm referring to the 'Target' string input in the UI / parameter name 'opPath'); Using the standard chs() function I can get the value of the node dropped into Target/opPath. Using the op: operator I was assuming this data would be live (eg. if I move the point geometry referenced in Target/opPath I was expecting the coordinates returned to the point() function to change accordingly) ... but it doesnt happen (stays whatever value is set at frame 0). The solution (screenshot) is to hard code the path to the target object using the op:operator (position coordinates get update if the geometry changes). If I uncomment the first line (and comment the second) then the coordinates no longer get updated. It's annoying as I'd rather not hardcode the path to the object in VEX and rather use the chs() UI interface. Any idea? (also some clarity on how the op: operator works and when is it needed versus just referencing paths without it would be appreciate as couldnt find much on the subject) THANKS! Quote Link to comment Share on other sites More sharing options...
f1480187 Posted December 5, 2017 Share Posted December 5, 2017 (edited) This should work, maybe something different is broken in your scene, otherwise it may be a bug. There is also VEX function equivalent with same name exist: chs() Edited December 5, 2017 by f1480187 Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.