galagast Posted August 27, 2016 Share Posted August 27, 2016 (edited) On a Detail Wrangle connected to a 5x5 Grid: i[]@foo = expandpointgroup(0, "10 1-3 8-6"); Returns: [ 1, 2, 3, 6, 7, 8, 10 ] It works great, but is there a way to disable auto sorting? Like this: [ 10, 1, 2, 3, 8, 7, 6 ] Edited August 28, 2016 by galagast Quote Link to comment Share on other sites More sharing options...
f1480187 Posted August 28, 2016 Share Posted August 28, 2016 Create ordered group before wrangle and use it. You can implement it in vex and python, it won't be hard, but it's not worth it, probably. expandpointgroup_ordered.hipnc 1 1 Quote Link to comment Share on other sites More sharing options...
galagast Posted August 28, 2016 Author Share Posted August 28, 2016 Thank you! That example file is totally awesome! You covered multiple approaches! SOPs/Python/VEX I've been seeing that "Create Ordered" check box for quite a long time, and I have been ignoring it! Now I can see its usage. I really appreciate the effort @f1480187, thank you so much 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.