generative modeling for Rhino
I have had major problems with User Components lately. In fact, I can't get new User Components to work at all, and some of my previously reliable components are now empty/not working when I put them on the canvas. Attached is an example of a component that works fine as a cluster, but fails as a user component.
Your user object works for me...
Hmm... this is bizarre. Perhaps it has something to do with my installation.
On a side note, another strange thing happened last time I updated Rhino 5 (x64) -- it broke the C# script that you wrote for pulling in objects by layer. The line:
A = doc2.Objects.FindByLayer(LayerName);
had to be changed to:
A = doc2.Objects.FindByLayer(Layer);
That's because you changed the name of the input to the scripting component, affecting the internal variable name. Maybe somehow that has something to do with the user object failing too?