Add variables using checkboxes

Hi. I am pretty new to onshape but not CAD work. I picked up the CAD portion of onshape rather quickly and am loving it but now i am trying to investigate featurescripts.

I have successfully created a feature script that, when i add it to a part studio, adds a ton of variables with set sizes. This is nice because now instead of creating the variable and looking up its size in each project i can add the feature. The problem is that My projects normally only need about 4 of these variables out of about 50. This means allot of clutter when using variables in formulas…Is there a way that i can add check boxes to the feature GUI and only the variables that are checked will be added to the project?

Comments