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.
Select from configured list with equation in assembly
Cris_Bowers
Member Posts: 281 PRO
Is it possible to select a configuration from a list via an equation in an assembly?
I need the size of trim cap for channel letters to be based on the height of the channel letter. When the letter is 18" tall or less 3/4" is used, 1" if taller than 18". I'm using the Beam FS to create the trim cap around a profile in a part studio. Then I create a subassembly of the trim cap so it is all grouped together when put in the final assembly. I would like to have the size of the trim cap automatically selected based on the height of the letters. Currently I have created a list selection where I'll have to remember to choose the right size based on the height selected.
I'm wondering if I need to use a sketch native to the part studio to accomplish this or if I'm just missing something.
I can't share my document because the customer doesn't want their IP to be public.
0
Best Answer
-
Jake_Rosenfeld Moderator, Onshape Employees, Developers Posts: 1,646@Cris_Bowers
I think the way I would do this is to have just a length configuration in the part studio (rather than a list), and then in the assembly, use some kind of ternary statement as the input to the part studio config:(#textHeight > (18 in)) ? (1 in) : (0.75 * in)
I can mock up an example if this doesn't make sense.Jake Rosenfeld - Modeling Team5
Answers
I think the way I would do this is to have just a length configuration in the part studio (rather than a list), and then in the assembly, use some kind of ternary statement as the input to the part studio config:
I can mock up an example if this doesn't make sense.