Sourabh Posted December 14, 2016 Share Posted December 14, 2016 Hello I want to ask one quick question. How to store all primitive number in array using VEX. I am writing int nearpts[] = nearpoints(@OpInput1, point(1,"P",0), 20); to store points in array. Now i want to store prim num. I connected grid on 1st input and one centre point on 2nd input to use this one. If you have other way to store points tell me that also. Thank you Quote Link to comment Share on other sites More sharing options...
f1480187 Posted December 14, 2016 Share Posted December 14, 2016 int points[] = expandpointgroup(0, "!*"); int prims[] = expandprimgroup(0, "!*"); 1 Quote Link to comment Share on other sites More sharing options...
Sourabh Posted December 14, 2016 Author Share Posted December 14, 2016 Thanks F1 its working perfect. 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.