rIlya Zatcepilov

Sails

About Me

INDUSTRY
Gamedev

Connect

LOCATION
Russian Federation
WEBSITE

Houdini Skills

Availability

Not Specified

Recent Forum Posts

Foreach - Get object of previous iteration May 5, 2017, 10:10 a.m.

Sails
tamte
just copy your block begin and switch it to Fetch Feedback to get previous geo
(even though new Boolean SOP should handle your case already without the need of foreach, but depends what operations you want to do each iteration as well)

Thanks for reply, Tamte!
I tried to copy block begin and switch it to Fetch Feedback, but it give me first obj(wall).
I done another test, and it works fine, return previous obj. The question is closed.

Foreach - Get object of previous iteration May 4, 2017, 12:08 p.m.

tamte
just copy your block begin and switch it to Fetch Feedback to get previous geo
(even though new Boolean SOP should handle your case already without the need of foreach, but depends what operations you want to do each iteration as well)

Thanks for reply, Tamte!
I tried to copy block begin and switch it to Fetch Feedback, but it give me first obj(wall).
Sorry that not sayed earlier: In general, I did everything through Foreach Subnetwork. I tried trough other cycles but it not works for me. I was linking parameters of nodes with my list out in parameter interface and used stamp(“..”,“FORVALUE”,0).
In general you right! I do not need boolean every iteration because in some cases it need twice or thrice(etc.) on one obj.

Foreach - Get object of previous iteration May 3, 2017, 4:30 p.m.

Each iteration I create a new object and I need to use boolean operation on all.
I think to use bool Op on each iteration with previous object.
But I don't know how to get previous object inside foreach. How do this?
img1 [ibb.co]
img2 [ibb.co]