Same Variable Name!
Bahrami
Member Posts: 1 EDU
Hi I just start learning Onshape from learning center and special thanks to this amazing team.
I have a question about variables.
In the last exercise we should put the same name for variables, Can someone explain me that reason?
Cheers
Alireza.
Tagged:
0
Answers
-
Pay special attention to the Pattern - where "Features" are patterned (or maybe that exercise uses a Sketch Pattern). You'll see how the variable #Slots is used in the pattern.Variables are solved in the Feature List in the order they appear - so #Slots can have different values depending on where it appears in the list. I've mostly seen this used in Patterns.However, you can also use it to Override a variable that may have been imported / derived into your Part Studio - you can use the same name but a different value for that variable, and Onshape will use the last value assigned.Good luck, and Welcome to Onshape!1
