chaitanyakapu Posted February 12, 2010 Share Posted February 12, 2010 Hai, I have taken a grid sop and tried to clip it using a foreach sop.I made it for each number for range 1-10 and the stamp name is FORVALUE.Inside the foreach sop I have appended a clip sop after each sop.In the clip sop I have made the direction x=sin(rand(stamp("..","FORVALUE",""))*180) y= 0 z=cos(rand(stamp("..","FORVALUE",""))*180) and then keep all primitives. After doing that the whole network turns red. I clicked the middle mouse button on the grid.It says "the sub-network output operator failed to cook." /obj/geo1/foreach1/clip1. I am on mac and houdini 10.0.528 apperentice version. Thank you.foreachProb.hipnc Quote Link to comment Share on other sites More sharing options...
gyepes Posted February 12, 2010 Share Posted February 12, 2010 (edited) It was just a tiny syntax error, you almost had it: x=sin(rand(stamp("..","FORVALUE",0))*180) y= 0 z=cos(rand(stamp("..","FORVALUE",0))*180) If you had been using stamps(), it would have been correct to use an empty string as the third argument. hope this helps! foreachProb_v02.hipnc Edited February 12, 2010 by gyepes Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.