$CEX Not working on Copy SOP

   235   3   0
User Avatar
Member
18 posts
Joined: July 2005
Offline
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
2359 posts
Joined: Sept. 2011
Offline
Yeah, that won't work. Try the centroid() expression:

http://www.sidefx.com/docs/houdini/expressions/centroid.html [www.sidefx.com]
User Avatar
Member
18 posts
Joined: July 2005
Offline
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
3979 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