apaza610 Posted May 18, 2017 Share Posted May 18, 2017 Hello, one question please: What expression can I write to use the @ptnum attribute to drive the @P.y attribute using VEX or Python expressions. What if I want to drive @P.y with @P.x ?? thanks in advance....... Quote Link to comment Share on other sites More sharing options...
3dome Posted May 18, 2017 Share Posted May 18, 2017 use a point wrangle @P.y = @ptnum; @P.z = @P.y; Quote Link to comment Share on other sites More sharing options...
apaza610 Posted May 18, 2017 Author Share Posted May 18, 2017 4 hours ago, 3dome said: use a point wrangle @P.y = @ptnum; @P.z = @P.y; If possible I would like to use an expression, not the wrangle node, unless there's really no other way........ Quote Link to comment Share on other sites More sharing options...
dedeks3000 Posted May 18, 2017 Share Posted May 18, 2017 Try the attribute SOP node, for more details look at this video (seen last week so ...) : 1 Quote Link to comment Share on other sites More sharing options...
3dome Posted May 18, 2017 Share Posted May 18, 2017 attrib sop is VEX aswell i dont think you can do it with an expression in transform sop because it does not run over each point like a wrangle but over the whole geometry at once. 1 Quote Link to comment Share on other sites More sharing options...
apaza610 Posted May 18, 2017 Author Share Posted May 18, 2017 2 hours ago, 3dome said: attrib sop is VEX aswell i dont think you can do it with an expression in transform sop because it does not run over each point like a wrangle but over the whole geometry at once. Now I understand what was I wrong with, thanks Dominik and dedeks3000 ........ 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.