henrik.g Posted August 26, 2014 Share Posted August 26, 2014 Hey everyone! I am trying to create a system with which I can copy debris pieces onto a surface. Should be super simple I thought, yet I already seem to fail at the Copy SOP. I have written out some *.bgeo pieces. I load them back via file SOP and then have a stamping expression in the file path, which looks like this: $HIP/Pieces/Debris.`int(fit01(rand(stamp("../copy_pieces", "p", 100)), 1, 470))`.bgeo The file SOP doesn't complain. The Copy does: Invalid Source box: What am I missing? File attached! And thanks so much in advance! DebrisPieces1.hipnc Quote Link to comment Share on other sites More sharing options...
eetu Posted August 26, 2014 Share Posted August 26, 2014 You are writing the debris pieces starting from 101, but you are trying to read pieces with numbers 1-100 as well. Change your expression to $HIP/Pieces/Debris.`int(fit01(rand(stamp("../copy_pieces", "p", 100)), 101, 470))`.bgeo Quote Link to comment Share on other sites More sharing options...
henrik.g Posted August 26, 2014 Author Share Posted August 26, 2014 Oh my... Thanks mate! Was totally blind to that! Thanks! 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.