Input values as table inside grasshopper environment

Hi everyone,

is there a way to have a table inside the grasshopper environment to input values in rows with columns.

Right now I have 4 panels to input values, but I have to make sure they have the same index because theses inputs relate to each other. I can not find table it in the input tab, is there a plugin or anything like that?

Thank you

Here is a small open-source plug-in based on the ReoGrid .NET Spreadsheet: (378.0 KB)


amazing, that’s exactly what I needed, thanks for creating this

Hi Mahdiyar

Thanks so much for writing that plug in, works great.
Got a questions, you know how I can get the values from it with Python as an GH.object?

I’m writing a small script to export all inputs to a csv file, I managed to get all the values from the sliders using:

ghObjects = ghenv.Component.OnPingDocument().Objects

for obj in ghObjects:
    print type(obj)
    if type(obj) is gh.Kernel.Special.GH_NumberSlider:
        print obj.NickName
        print obj.Slider.Value

When I print all the object I can see and object called: “<type ‘TableDataInputComp’>” I suspect its this one.

you have an idea how to get the values from it and the NickName?
In the future, objective is to than control it from a CSV as well.

Thanks so much

Very nice component @Mahdiyar
I have 3 suggestions:

  • If it is possible: the window don’t block Grasshopper window (like Ghpython editor)
  • Adding 2 inputs: button to export to csv and input for file destination.
  • Adding outputs for rows, columns

Thank you so much for this. This is extremely helpful. Can benefit with a few more improvements such as:

  1. Ability to create formula in cell ( So I can sum, multiply etc. a series of cells)
  2. Text font properties manipulation (Size , Italics, bold etc.)
  3. Cell sizes customization (When I exit the table window and i open it again, all cells revert back to it’s original size)

Hopefully this can be implemented :smiley: Thanks again, super helpful

@Mahdiyar Unfortunately, the TableData input component doesn’t scale with my monitor’s DPI. On a 4k screen, the text is very small. Is this something you could address?