DynamoCPythonHandle (NumPy)

Out of curiousity: I get that this is some casting issue on my side probably in the new CPython3 engine, but why are numbers represented right in Dynamo list view, when they are a handle of sorts?


Anyone?

Hello @jostein_olsen

the Dynamo wrapper does not recognize a NumPy array, it must be converted to list

5 Likes

Thanks, @c.poupin! I was thrown off course by the Dynamo wrapper’s implementation of a tostring() method in the list display if I’m not mistaken. Casting to floats in the code worked like a charm! :wink:

1 Like