mois23 Posted September 19, 2018 Share Posted September 19, 2018 (edited) Hi guys, I'm stuck in a stupid problem. I have a blast node with one point. I'd like to get the name attribute from it and copy in another node (see picture attached). I tried point() expression but it doesn't work. Can't figure out how fix this. Edited September 19, 2018 by mois23 Upload the same pic Quote Link to comment Share on other sites More sharing options...
ikoon Posted September 19, 2018 Share Posted September 19, 2018 (edited) In vex, we cannot specify geometry as relative path. a. You may wire the MUDGUARDS into the second input, and the vex will be: point(1,"name",0) b. If you don't want to wire (or you cannot), you can add a spare input, and change vex to: point(-1,"name",0) c. Another solution, worse than b. Rewrite your vex to this: point("op:/obj/yourgeoname/MUDGUARDS","name",0) But this is probably bad, because if you rename anything in the path, vex doesn't update the code automatically, so this path gets broken. d. You could make a new parm (Operator Type) on the wrangle node, and then use chs() in vex to evaluate the content of the parm As regards spare input, it is described here: http://www.sidefx.com/docs/houdini/model/compile More is here: http://www.sidefx.com/docs/houdini/io/op_syntax.html Edited December 13, 2019 by ikoon unwanted emoji autoreplaced b) 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.