C# component

CAN YOU PLEASE TELL ME WHY THE CIRCLES DON’T SHOW IN THE RHINO SCREEN PLEASE?

THANK YOU !

Er … try to output the Circle List: as it is you get 2 doubles.

1 Like

Because you are not outputting them. (Typically) Only things that are output get displayed.

You may also deactivate Caps Lock on your keyboard. If I would be a circle, I wouldn’t show up either! :wink:

4 Likes

Hello All! PLEASEEEE HELP ME OUT OF HERE !! NOT SURE WHAT I AM DOING WRONG REALLY … example.gh (13.4 KB) excercise1.3dm (25.8 KB)

basically everything works ok but the number of circles DOESNT’T CHANGE PLEASE ANSWER ME ASASP! I have attached both rhino and grasshopper file !

Hello, why shouting !!! It is a forum to help people for sure, but you must explain more well what you want.
To output a circle you must “make” it.
All the documentation is there
https://developer.rhino3d.com/api/RhinoCommon/html/N_Rhino.htm#!
https://developer.rhino3d.com/api/RhinoCommon/html/Overload_Rhino_Geometry_Circle__ctor.htm

you haven’t seen my file have you? I HAVE MADE the circles but the number of circles doesn’t change …. so this is where I struggle at the moment.

You are missing list length,

thank you sooo much Michael for the update but when you change the NumberOfCircles it is not updated in the rhino space! It is should be less or more circles on the grid right? It doesn’t show :frowning: I don’t know why maybe there is a proble with this code? (Screenshot%20(3)|690x388 . Really appreciate your help!

The circles are internal to the script. They are created (and destroyed) inside the RunScript function. In order to get them out you must add an output to your script component and assign your list of circles to that output. Only then will Grasshopper become aware if their existence and be able to preview them.