Scratch Posted March 4, 2012 Share Posted March 4, 2012 (edited) Hey folks I have a series of bgeo files. geo_1, geo_2, geo_3 [...], geo_80. What I want to do now is import them using a file SOP, and then copy them to a bunch of points (randomly) using the copy SOP and it's stamp function. What i did so far: connecting my point source to the right input of the copy SOP. connecting my file SOP to the left input of the copy SOP. copy node: stamp inputs -> checked! stamp variable: rand_geo expression: round(fit01(rand($PT),0,80)) expression explained: give me a random integer number (based on the point number) between 0 and 80. file node: $HIP/bgeo/geo_'stamp("../copy2","rand_geo",1)'.bgeo This stamp expression should end up giving the file SOP for each iteration of the copy node a different file-path leading to import a different geo-file each time. But it is not working like this. What did I do wrong? Thx for your help! Edited March 4, 2012 by Scratch 1 Quote Link to comment Share on other sites More sharing options...
hopbin9 Posted March 4, 2012 Share Posted March 4, 2012 $HIP/bgeo/geo_'stamp("../copy2","rand_geo",1)'.bgeo You used single quotes when you should have used single back quotes. $HIP/bgeo/geo_`stamp("../copy2","rand_geo",1)`.bgeo It's the quote key beside the 1 key. 1 Quote Link to comment Share on other sites More sharing options...
Scratch Posted March 4, 2012 Author Share Posted March 4, 2012 oh maaaaaaaaaaaan!!! I hate syntax! Now it works! Thx alot!! Yeah! Quote Link to comment Share on other sites More sharing options...
hopbin9 Posted March 4, 2012 Share Posted March 4, 2012 oh maaaaaaaaaaaan!!! I hate syntax! Now it works! Thx alot!! Yeah! lol, next time remember that string and filename fields will not show the result of expressions by clicking the label with the left mouse button. You must click the middle mouse button to toggle displaying of the results. Try it, you should be able to toggle the display of the full filename. 1 Quote Link to comment Share on other sites More sharing options...
Scratch Posted March 4, 2012 Author Share Posted March 4, 2012 (edited) oh nice! didn't know that either! I tried and it works as you said it would. Let me say that this forum is awesome! Such quick replies, such helpfull people... just absolute superb! THX! Edited March 4, 2012 by Scratch Quote Link to comment Share on other sites More sharing options...
hopbin9 Posted March 4, 2012 Share Posted March 4, 2012 Let me say that this forum is awesome! Such quick replies, such helpfull people... just absolute superb! THX! This website has a forum? Quote Link to comment Share on other sites More sharing options...
Scratch Posted March 4, 2012 Author Share Posted March 4, 2012 (edited) i ment internet forum / bulletin board / message board.... i may have translated wrong in the first place, sorry. My first language is german, i'll try my very best Edited March 4, 2012 by Scratch Quote Link to comment Share on other sites More sharing options...
hopbin9 Posted March 4, 2012 Share Posted March 4, 2012 i ment internet forum / bulletin board / message board.... i may have translated wrong in the first place, sorry. My first language is german, i'll try my very best I was being sarcastic. That's my bad. I'm Canadian. It's impossible to translate what we say sometimes. Quote Link to comment Share on other sites More sharing options...
Scratch Posted March 4, 2012 Author Share Posted March 4, 2012 oh I love Canada! I traveled there in 2008 (Toronto, Montreal). A very cool country and also very cool people! I could even imagine living there! Quote Link to comment Share on other sites More sharing options...
hopbin9 Posted March 4, 2012 Share Posted March 4, 2012 Yes, please come to Canada. We'll get a group from the forum together and all go have drinks. Quote Link to comment Share on other sites More sharing options...
magneto Posted March 4, 2012 Share Posted March 4, 2012 Hey Hopbin, are you handing out immigration papers? Quote Link to comment Share on other sites More sharing options...
Scratch Posted March 4, 2012 Author Share Posted March 4, 2012 hehe i'd take one together with a caipirinha 1 Quote Link to comment Share on other sites More sharing options...
alexis12 Posted February 22, 2014 Share Posted February 22, 2014 I used PathTooDeep.com and was very pleased with its performance. Long Path Tool is awesome to get rid on your long path files. Good luck! 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.