Hi,
I’m defining a value list that i want to use with FLY.
I’m dealing with an issue that the output id of the value list is not the one defined but rather the name in the value list. Like so:
The values (1, 2 in this case) from the ValueList component are only meaningful within the Grasshopper environment for controlling downstream logics. But when saving data to a csv files thoes “1” or “2” numbers are really useless and misleading outside of the Grasshopper. Instead, the name of each value “FAR 4” and “FAR 7.5” are more readable in a output csv format, aren’t they?
Could you please more background about what you want to do? What is the use case that you add those names for each value in ValueList, but don’t want to record them?
If you don’t want to use those names, why not use the real values directly in ValueList so that they can be recorded as they are displayed?
If you really want to keep what you have in Grasshopper, you can use this “User Data” component from “2:Pollination” tab, and right click to make the data as “Input”, so it will record what you want.
Hi @mingbo ,
I actually am using the output of the ValueList in the GH workflow so taking the Key doesn’t fit into it.
The reason I’m using it as I am is because i want to “remember” what this value list relates to [in this case FAR4 =1 and FAR7=2]. You are right that i can use just change the name to the value … or i can use a slider … or a panel [which I’m doing now] for this case, but the option I thought was better is the ValueList. I can think about many other cases i would like to get the value instead of the key, though.
For the specific case I’m running I’m not getting any output through the UserData. It is just to run a bunch of cases with the FLY component [which is very convenient].
Hope it helps to understand my logic and case … and that it makes sense for you.
Thanks,
-A.