How can I get a list of variables set in a context?
arthur_peters
Member Posts: 19 ✭✭
I would like to create a feature that can import all variables in one Part Studio into another one. I can relatively easily import variables as long as the calling feature knows their names, however I do not see a way to get a list of variables from a context. Is what I want possible? Is there a specific reason not to allow it? (I think it should be possible, even if you only want to expose "normal" variables of some kind, given that variable table exists.)
- Arthur (he/him)
0
Best Answer
-
3
Answers
-
3
-
Thanks!!! I failed to check that source file. I did check others, but for some reason not that one. This is perfect. (And I accept it's internal and may change in incompatible ways without warning.)
- Arthur (he/him)1 -
If you're looking for a pre-built solution, this custom feature made by a FIRST Robotics team is great for transferring variable libraries between part studios.2

