Grasshopper

algorithmic modeling for Rhino

Happy NY fellow GH'ers

I'm trying to get a total value count of objects display by text, does anyone know how to do this?

Views: 786

Replies to This Discussion

Here's a one-line Python code that prints the number of components on the canvas. Note it does not read cluster contents.

print len(ghenv.Component.OnPingDocument().Objects)

Thanks SPM!

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service