Jump to content
Sign in to follow this  
TheAdmira1

$CEX, $CEY, $CEZ no longer working properly?

Recommended Posts

Is anyone else having an issue with setting the pivot to the centroid in 12.5.316+? Regardless of the type of geometry I add it to, the pivot remains at the origin. I have tried in 316 and 376.

Share this post


Link to post
Share on other sites

I take that back... scrubbing through the time line made it jump to the centroid, but also made my transformations incorrect.

Edited by TheAdmira1

Share this post


Link to post
Share on other sites

This was reported to SESI some time ago during 12.5 beta, though I can't recall the bug id. Sadly it has not been fixed yet.

Share this post


Link to post
Share on other sites

We also reported this and sesis answer was that it doesn't work because of some internal evaluation inconsistency, so they're removing it (!), and we should use the centroid() function instead.

While our first reaction was righteous outrage (kidding :-D) we realized we always had evaluation problems with these variables, especially when used in digital assets. so we switched to centroid() since then.

A hint: $GCX Y Z variables still work, so use that when not in the mood for much typing. Just don't tell the sesi guys :-D

Share this post


Link to post
Share on other sites

This was reported to SESI some time ago during 12.5 beta, though I can't recall the bug id. Sadly it has not been fixed yet.

That particular bug was fixed in H12.5.341. If handles are still not behaving properly, please submit new bugs with reproducible steps.

Channel references to parameters containing local variables will not work by design as previously discussed.

  • Like 1

Share this post


Link to post
Share on other sites

That particular bug was fixed in H12.5.341. If handles are still not behaving properly, please submit new bugs with reproducible steps.

Channel references to parameters containing local variables will not work by design as previously discussed.

Edward, is this also valid for expressions using local variables? I never thought about this but will be more conscious from now on if so.

Share this post


Link to post
Share on other sites

Local variables will be 0 whenever evaluated outside of cooking, so yes, any expression *using* local variables will also see 0 when channel referenced.

  • Like 1

Share this post


Link to post
Share on other sites

Thanks alot Edward. Btw sometimes when writing expressions inside parameter fields, when you toggle the value mode, you don't see the value of the expression's result but 0. Is this also related? I remember reading somewhere that Houdini will not show the value of expressions in value mode anymore. But not sure if this is true or I am dreaming :)

I was relying on this alot though because it's not easy to see the value of the expressions easily in any other way.

Edited by magneto

Share this post


Link to post
Share on other sites

I think you need to the distinction between expressions *using* local variables, and expressions that do *NOT* use local variables. Expressions that do *NOT* use local variables will always be evaluated the same regardless of whether it is evaluated within a cook or not.

  • Like 1

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
Sign in to follow this  

×