BOON Posted December 15, 2012 Share Posted December 15, 2012 Hi, I have a pointlist that returns 0 to 49. Is there anyway I can +1 to all the numbers so it returns 1 to 50? Quote Link to comment Share on other sites More sharing options...
Eucalyptus Posted December 15, 2012 Share Posted December 15, 2012 (edited) If you use a Sort SOP after your geometry and select Shift under the point tab, and make the offset 1, it will shift all your points up 1 number. However, I believe it works in a loop, so it then makes your last point 0, instead of adding a number up. Not sure if there is a way to just add more. Edited December 15, 2012 by Eucalyptus Quote Link to comment Share on other sites More sharing options...
Annon Posted December 15, 2012 Share Posted December 15, 2012 Yeah there' s no way of changing that. You can however create your own int attribute and just do ($PT + 1). Or in any expressions use the +1. No need to have the point numbers in a 1+ range, just manipulate the data... Christian Quote Link to comment Share on other sites More sharing options...
BOON Posted December 15, 2012 Author Share Posted December 15, 2012 Thanks for your input guys! Cheers! Quote Link to comment Share on other sites More sharing options...
BOON Posted December 16, 2012 Author Share Posted December 16, 2012 One more question regarding pointlist... is there anyway I can return the first 10 numbers from a pointlist that gives me 20 point numbers? I was thinking using "arg", but how do I tell it to return more than just 1 argument? 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.