art3mis Posted August 13, 2017 Share Posted August 13, 2017 (edited) So apparently you cannot use $CEX, $CEY, CEZ anymore? I get a syntax error, invalid syntax! But how would you use centroid() on the Pivot parameters of a Transform SOP inside a For Each block? If I try centroid(opinputpath("."),0) I also get an error, Unable to Evaluate expression. Name 'centroid' is not defined http://www.sidefx.com/docs/houdini/expressions/centroid Edited August 14, 2017 by art3mis Quote Link to comment Share on other sites More sharing options...
Noobini Posted August 14, 2017 Share Posted August 14, 2017 hmm...no errors for me... Quote Link to comment Share on other sites More sharing options...
c0y Posted August 14, 2017 Share Posted August 14, 2017 No error for me as well, if you want to use centroid expression, try centroid("../foreach_begin1/", D_X) centroid("../foreach_begin1/", D_Y) centroid("../foreach_begin1/", D_Z) Quote Link to comment Share on other sites More sharing options...
art3mis Posted August 14, 2017 Author Share Posted August 14, 2017 (edited) Thanks! hmmm...very strange. Likely either a change or a BUG in newer Transform SOP?? I've attached a simple .hip that shows the error. I'm running 16.0.687 Linux If I copy paste Transform SOP from 'older' .hip file the error goes away so I assume the SOP logic is contained within the actual saved .hip file, and not the application. newTransformSOP.hiplc Edited August 14, 2017 by art3mis Quote Link to comment Share on other sites More sharing options...
mikuspikus Posted September 12, 2019 Share Posted September 12, 2019 Hi there, I had similar problem. You have python set as language, not Hscript. Check this post for more information https://www.sidefx.com/forum/topic/43043/?page=1#post-293793 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.