Grasshopper

algorithmic modeling for Rhino

How to get the total numbers of an input lists of points

I have one component output a list of points, then put this list as an argument for second component.  Now in this second component, I need to figure out how many points coming in, is there any methods to do it?

Assume I didn't calculate the number of points in the first component.

Views: 660

Replies to This Discussion

myList.Count
I can't. The arguments passed is the type of On3dPoint, not a list.
Then you must set the input parameter for the point data to type List. Then you'll get List(Of On3dPoint).

--
David Rutten
david@mcneel.com
Poprad, Slovakia
Oh. Thank you, david. This is another trick I forgot to use. Works great now...

RSS

About

Translate

Search

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service