Jump to content

centroid() instead of $CEX?


Recommended Posts

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

 

unable_to_evaluate_expression_$CEX,$CEY,$CEZ.jpg

Edited by art3mis
Link to comment
Share on other sites

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 by art3mis
Link to comment
Share on other sites

  • 2 years later...

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.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...