If you have been using SOLIDWORKS for some time you may agree with me that using global variables and equations can save a lot of time. It is easy to make a variable and link it to a dimension. Well at least most of the time. You are asking why most of the time? With a SOLIDWORKS Sketch Pattern it is a little tricky to use a global variable to control the number of instances.
Let’s say you want to pattern a 2D entity in your sketch. You can use “Linear Sketch Pattern” or “Circular Sketch Pattern” tools. Now if you try to link the number of instances to a global variable, SOLIDWORKS will display an error message that states “you can only type a number here”.
But don’t worry. Fortunately, there is a simple workaround for that which I have explained in this short video: