Hey,
In the example on the BETA - Tutorial Grasshopper definitions for ShapeDiver for the topic Dynamic Sliders Tutorial,
The example gives the following json for a StringList:
{
“name”:“Example Value List”,
“type”: “StringList”,
“choices”: [
“Option 1”,
“Option 2”,
“Option 3”
],
“defval”:“0”,
“value”: “0”,
“hidden”: false,
}
The example misses the ID and without it, it gives an error:
{
“name”: “DynamicSlider_0”,
“id”: “DynamicSlider_0”,
“type”: “StringList”,
“choices”: [
“Option 1”,
“Option 2”,
“Option 3”
],
“defval”: “0”,
“value”: “0”,
“hidden”: false
}
and the last , after the hidden boolean is not needed but the ReJson does that correctly automatically,