Grasshopper

algorithmic modeling for Rhino

I'm having a sporadic problem with data-type changing when data enters a cluster. Certain times when the input value is a number (in this case 516), I instead get either int: 516 or double: 516. I've seen this happen in many instances, but until now I've regarded it as a mere curiosity since the data have always been automatically converted back to integers or floating-point decimals by components within the cluster.

Today, however, the conversions failed and errors ensued:

In this case, I was able to temporarily solve the problem by recreating the cluster's content in the main workspace. Because this happens in some but not all instances, I strongly suspect that this is a bug, but if not I'd appreciate in any insights.

(On a tangential note, what does 'double' mean in this context?)

Views: 350

Replies to This Discussion

I have had issues with this when the cluster input object was initially derived from one data type and then gets converted to another. Try deleting the cluster input inside the cluster and recreating it with a fresh cluster input - you may have better luck avoiding this bug. 

Thank you—that solution may be tedious to implement, but it is effective!

RSS

About

Translate

Search

Photos

  • Add Photos
  • View All

Videos

  • Add Videos
  • View All

© 2024   Created by Scott Davidson.   Powered by

Badges  |  Report an Issue  |  Terms of Service