ENUM LIST
papawo
Member, Developers Posts: 206 PRO
can i add something in the enum list using user input in the precondition? is it possible?
Tagged:
0
Answers
-
Enums are basically constants. I don't think you can edit them at runtime. However, you can control visibility of individual inputs based on conditional logic. If the variability of your enum isn't too great, you can create multiple enums and have different list inputs using different enums. Then, depending on a previous input, you can choose which list input to show. Your postcondition would need to know which input to use.0
-
0
-
@mbartlett21, yes that's true. I don't have any personal experience with lookup table implementation, but here's a helpful link.
https://forum.onshape.com/discussion/comment/20104#Comment_20104
0 -

