algorithmic modeling for Rhino
Thought this was rather a simple problem, but it's obviously not!
This works fine inside a c# component:
private void RunScript(List<System.Object> OBJ, ref object A)
{foreach(System.Object myObj in OBJ)
{if(myObj is Mesh) {...} else if(myObj is Curve) {...} else if(myObj is Point3d) {...}
}
Nevertheless, reproducing this inside a custom component seems to elude my powers...
Any hints, tips and tricks? I'm banging my head on this since quite a while...
Cheers!
Tags:
Replies are closed for this discussion.
Please ignore above question, it's stupid. The approach works!
I was just setting up my params with AddMeshParameter, as such conversion was failing, etc. etc.
(facepalm)
Welcome to
Grasshopper
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
Added by Parametric House 0 Comments 0 Likes
© 2024 Created by Scott Davidson. Powered by