New SW user here.
I've got a part template that I want to use to make all similar parts. It's a sprocket, and I can make any sprocket by changing some dimensions and un/suppressing features. Like diameter, number of teeth, thickness, whether there's a hub.
I use the custom properties tab, so all the pertinent dimensions and features are controlled right there in one place. I can change the dimensions that way, but I'm having trouble with feature suppression. I have a yes/no list property for the hub, but is there a way for the model to use this? I tried putting an if statement in the Equations (if hub ="yes", then unsuppress the hub feature), but they only seem to recognize numerical properties. So I got around that by changing the yes/no to 1/0 (if hub ="1", then unsuppress the hub feature). That requires a little more user training than I'd prefer, but we should be able to manage.
Is there a better way to do this? Am I missing something?
So then, I have several dimensions which I want controlled by the product series. Such as, (if Product Series = "Premium" then thickness = 2.5). There are two problems I'm having. First, the number thing. This logical statement won't work with letters. Second, each product series needs its own if statement, but SW will only evaluate the last one. I can use nested if statements, but it appears I can only nest them three deep, and I've got over a dozen product series.