$CEX Not working on Copy SOP

   3476   3   0
User Avatar
Member
27 posts
Joined: July 2005
Online
Hi,

So not sure if this is a bug or a limitation. I'm just trying to use $CEX,$CEY,$CEZ to center the translate pivot prior to doing a transform. This works perfectly fine with a transform SOP, but a Copy and Transform SOP does not.

Is this expected?

H17.5.229 - Linux.

Thanks,
Ollie
User Avatar
Member
7761 posts
Joined: Sept. 2011
Online
Yeah, that won't work. Try the centroid() expression:

http://www.sidefx.com/docs/houdini/expressions/centroid.html [www.sidefx.com]
User Avatar
Member
27 posts
Joined: July 2005
Online
Thanks, good to know and will do.

Can you explain why that does not work? I'm following a tutorial where is certainly used to.

Thanks,
Ollie
User Avatar
Member
8541 posts
Joined: July 2007
Offline
revilo3d

Can you explain why that does not work? I'm following a tutorial where is certainly used to.

there is no more Copy SOP in Houdini, the old Copy SOP (probably what you see in tutorial) was renamed to Copy Stamp SOP and still should work as in tutorial
the new copy operators are named Copy To Points SOP and Copy And Transform SOP and those don't allow local variables as local variables are being phased out due to performance and other reasons
Edited by tamte - May 20, 2019 22:31:56
Tomas Slancik
FX Supervisor
Method Studios, NY
  • Quick Links