Hello,
Whenever I enter the $CEX expression to compute the centroid of my object I get this error:
“Unable to evaluate expression (Undefined variable (/obj/geo1/copy1/px)).”
I attached a screenshot of the error
Problem with "Copy and Transform" SOP in H16
4174 8 2- uuLLFA
- Member
- 90 posts
- Joined: May 2016
- Offline
- tamte
- Member
- 8555 posts
- Joined: July 2007
- Offline
- neil_math_comp
- Member
- 1743 posts
- Joined: March 2012
- Offline
The centroid expression function [sidefx.com] should work, and “0” should work to refer to the input node, e.g.
centroid("0",D_X)
Edited by neil_math_comp - March 9, 2017 11:35:48
Writing code for fun and profit since... 2005? Wow, I'm getting old.
https://www.youtube.com/channel/UC_HFmdvpe9U2G3OMNViKMEQ [www.youtube.com]
https://www.youtube.com/channel/UC_HFmdvpe9U2G3OMNViKMEQ [www.youtube.com]
- goldleaf
- Staff
- 4164 posts
- Joined: Sept. 2007
- Offline
ndickson
The centroid expression function [sidefx.com] should work, and “0” should work to refer to the input node, e.g.centroid("0",D_X)
Oh nice, I never knew you could use “0”! Thanks!
I'm o.d.d.
- jlait
- Staff
- 6205 posts
- Joined: July 2005
- Offline
- Nima
- Member
- 471 posts
- Joined: Nov. 2013
- Offline
Useful tips.
Thanks guys.
But I think copy stamp is slower than H 15.5 or at least on my machine.
For example I have a ground and I want to put some packed trees on them, unfortunately Houdini immediately freezes even with low number of points!
Hope this fixes in future releases.
Thanks guys.
But I think copy stamp is slower than H 15.5 or at least on my machine.
For example I have a ground and I want to put some packed trees on them, unfortunately Houdini immediately freezes even with low number of points!
Hope this fixes in future releases.
Edited by Nima - March 10, 2017 16:48:45
- sepu
- Member
- 419 posts
- Joined: Feb. 2012
- Offline
- Nima
- Member
- 471 posts
- Joined: Nov. 2013
- Offline
- jlait
- Staff
- 6205 posts
- Joined: July 2005
- Offline
-
- Quick Links