Welcome to the Onshape forum! Ask questions and join in the discussions about everything Onshape.
First time visiting? Here are some places to start:- Looking for a certain topic? Check out the categories filter or use Search (upper right).
- Need support? Ask a question to our Community Support category.
- Please submit support tickets for bugs but you can request improvements in the Product Feedback category.
- Be respectful, on topic and if you see a problem, Flag it.
If you would like to contact our Community Manager personally, feel free to send a private message or an email.
How to modify a Configuration variable in a Configuration List
I have all these configuration variables. They allow me to generate a lot of differente planter easily but now I would like to have "sets" of configuration like "Little" or "Big" to automatically change a bunch of these config variables with one click.
I can't select a configuration variable with "Configure features", only "normal" variables.
Thank you very much :)
Best Answer
-
Oliver_Couch Member Posts: 172 PRO
Creating normal variables is the way to do it. Then if you still want someone to be able to use a configuration variable for a custom input you can set the normal variable to use the value of the configuration variable instead of a constant.
Alternatively you can use configuration variables, then insert it in an assembly and create a configuration table in the assembly, then use the configured assembly of the part in your higher level assemblies.
0
Answers
Creating normal variables is the way to do it. Then if you still want someone to be able to use a configuration variable for a custom input you can set the normal variable to use the value of the configuration variable instead of a constant.
Alternatively you can use configuration variables, then insert it in an assembly and create a configuration table in the assembly, then use the configured assembly of the part in your higher level assemblies.
Example: https://cad.onshape.com/documents/9a0e293adec56e6876ffcb77/w/236bd3a18a1df7b31112806b/e/500729be51d0eaf1e56a5eb9?configuration=Custom_Diameter%3D0.05%2Bmeter%3BCustom_Length%3D0.05%2Bmeter%3BList_ky9dWnHd3Y9PDn%3DDefault&renderMode=0&rightPanel=configPanel&uiState=674304ce329729325bd68c7f
@Oliver_Couch Thank you very much, your document is view only but I think that I see what you mean.
I had already thought about using an intermediate variable as cache and a test over a "Custom" list item but I was hoping that it would be possible to do otherwise. The problem with variables is the loose of default and min/max. Erff.
Once logged in you should be able to make a copy to edit, then you can see it in full.
Oh yes, thank you very much.