Next-Gen Grasshopper 3.2.0: Keys-Values Create Properties component needed

Maybe a b it too soon, but I am already using the new version of the Grasshopper toolkit and it would be nice if there is a way to create properties with keys and values (similar to the previous version).
I have 24 properties for each object and I had to type by hand all the keys in the component. If the keys change, I need to do this by hand all the time.


Thanks!

1 Like

Yes, good feedback!

For now, if you are using Rhino 8, you can use the User Strings component to do so and pass the content output to a Speckle Properties param directly.

Hi @clrkng, thank you for your reply. Yes, I am using Rhino 8 but unfortunately this procedure is not working. See image below.


Also in The web app I can’t see the properties

I know this can be done with the C# component loading the assemblies. Can you maybe share the code?

You can pipe it in directly to the Properties input on Speckle Object, or a Properties parameter (not the create properties node):

In general, all casting happens within our custom Parameters, in the Params bin :slight_smile:
Once set, they will show up in the viewer like so:

1 Like

All right thanks! This is working for now :+1:

1 Like

Hi,
Can we already create Speckle instances + transforms with this alpha V3 in GH ? Or we need the next release ?
TKX :folded_hands:

Block support in GH will be part of the beta release, will keep you posted!

1 Like

@clrkng, apparently, the User String component was helping but at the end I couldn’t use it because all the data was transformed to text and in my case some parameters are integers or decimal numbers.
I need the numerical data to aggregate in PowerBI, so, it would be nice to have the key-value component soon. Thanks!

Hey @GabrielGarcia,

In PowerBI by default all data from speckle will come as a text, you can change from text to number/date/percentage etc… by clicking the column icon on the left. See image below.

Hi @Nikos, thank you. Yes, that works, but sometimes we need to use the web app to show work in progress results and with that solution we cant classify numerical data. See image below.

Noted. I’ll add a key-value component to our milestone for the Grasshopper stable release!

1 Like