algorithmic modeling for Rhino
Im trying to create a list of a point list in grasshopper using python scripting. Im getting an IronPython.Runtime.Method as the solution instead of the point list. When I try to do it without using classes all the points are stored in one list which I dont want. Maybe there is an issue with the calling. Please check.
Many thanks!
Tags:
Hi marcus,
Thank you very much for the reply. My reply is a bit late as it took a lot of time to crack this. Honestly I couldnt figure out still, wat it means and how it works as I tried using the enumarate coomand many times without success. However I have learnt to divide the trees into branches and extract data.
Here is an interesting observation though. I send in the python lists into a seperate module in Gh and extracted the surfaces without any code. It works perfectly fine. Will be great if someone can validate this observation and explain why its working.
There was an error in my script in calling the methods within the class, which was throwing the IronPython.runtime.method error. If some has a similar problem maybe they should check if the calling. After correctly, it shows IronPython.runtime.List error which is solved using the simple code shown in the image.
Welcome to
Grasshopper
Added by morteza khorsand 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by