code for choosing from more than one model in a part
Hello everyone,
There is a part that has been designed before, when I open the part, it asks me to write the model I will choose and it arranges the model according to the answer I give.
There are some formulas in the parameters, but when I looked at the programming part, I could not find an "if" formula for body selection. The family table is also empty.
I can do this from the family table, but every time I open the part, it asks, which is a problem for me.
How can I do this with the if command from the programming part?
What I want to do is for the user to see the model they want by typing the model code they want.
can you help with this issue?
When the user selects model 1, the model tree looks like this.
When the user selects model 2, the model tree looks like this.

