Hi. I have created some components for grasshopper that run correctly with grasshopper and grasshopper player in rhino 7 but my problem is that those components doesn’t run with grasshopper player in rhino 8. Does anyone know what the problem might be?
Thanks.
Hi Yasaman,
I changed your forum post to the Grasshopper category.
Can you post a small example of what is not working for you? Thanks
Thanks Japhy.
Here is an example of my problem in Rhino 8. Everything is right in rhino 7 by the way.
I made an example in Rhino 7 for grasshopper player and ran it in Rhino 8 with no issues.
Does this work for you?
Rh7-grasshopper-playuer.gh (5.1 KB)
Yes it works for me.
But I didn’t use Get Point or Bake Geometry components in grasshopper. I actually made my components with c# using rhino libraries like GetPoint class.
We’ll need more info to be able to help, can you post a example? Thanks
Yes, here’s an example of one of my components.
Since types of objects that I need in my plugin and the way I bake objects are different from what are available in grasshopper player components like “get …” and “context bake” , I can’t use grasshopper player components. So I used some classes like GetPoint in c#. It’s been about 8 months we’re working on this plugin and everything is right in Rhino 7 but nothing is baked in grasshopper player in Rhino 8. Thanks
test.gh (1.2 KB)
Hi, The plugin object wasn’t available in the file you provided. We’ll need to see the actual code to help troubleshoot.
Hi, here’s my code and my plugin.
GrasshopperPlayerRhino8.zip (19.5 KB)
Hi,
Could you provide something that compiles? I don’t know what ControlzEx and Form1 are.
Thanks.
Hi,
I guess this is what you need. Thanks
GrasshopperPlayerRhino8.zip (436.6 KB)
@Japhy @Alain Hi, sorry but I’m still stuck with this problem and don’t know why it happens… Could you find what the problem might be?
Thanks.
Hi @Yasaman.ag,
‘Grasshopper Player’ command was mean to be used with the contextual components Rhino provide.
Because your definition is not using ‘Context Bake’ Grasshopper does not know your dialog is still floating around and just cancels the whole operation.
In Rhino 8 you have to check this to enable this kind of interaction.
Hi @kike ,
I checked that and It works now. Thanks for your help!