TheScarecrow Posted February 27, 2017 Share Posted February 27, 2017 Hello guys. Could anyone help me with syntax. Im relatively new to VEX. I need to get total number of points of geometry that connected to second input of wrangle. I tried something like int maxp = @opinput2_numpt; but it always returns 0. Would appreciate help. Quote Link to comment Share on other sites More sharing options...
konstantin magnus Posted February 27, 2017 Share Posted February 27, 2017 (edited) It should be i@opinput1, if you want the second input, but doesn´t work either. However this does: i@maxp = npoints(1); Also in geometry spreadsheet go to detail and click on "intrinsics". There are lots of hidden attributes you can use, eg. i@maxp = detailintrinsic(1, "pointcount"); Edited February 27, 2017 by konstantin magnus Quote Link to comment Share on other sites More sharing options...
Atom Posted February 27, 2017 Share Posted February 27, 2017 The term is case sensitive. so you need... i@maxp = npoints(@OpInput1); Or just use the constant as well. 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.