Jump to content

Recommended Posts

hello guys smile.png

It's houdini 18.

I want to use for each node to arrange each number on the y-axis, but it doesn't work.

I have attached a file. What's the problem?

sasa.png

kku.png

foreach.hipnc

Share this post


Link to post
Share on other sites

You are pointing to the incorrect level, try:

`point("../foreach_begin1", @ptnum, "pt_id1", 0)`

and

centroid("../foreach_begin1", D_X)

centroid("../foreach_begin1", D_Y)

centroid("../foreach_begin1", D_Z)

 

Also, your foreach_begin Method needs to be set to "Fetch Piece or Point

 

Thanks,

 

Sean

Share this post


Link to post
Share on other sites
On 2020. 6. 7. at 12:05 AM, Sean-R said:

You are pointing to the incorrect level, try:

`point("../foreach_begin1", @ptnum, "pt_id1", 0)`

and

centroid("../foreach_begin1", D_X)

centroid("../foreach_begin1", D_Y)

centroid("../foreach_begin1", D_Z)

 

Also, your foreach_begin Method needs to be set to "Fetch Piece or Point

 

Thanks,

 

Sean

 

It helped. Thank you.

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

×