Hole Pattern - adding holes as part grows

Use this space to ask how to do whatever you're trying to use SolidWorks to do.
TTevolve
Posts: 257
Joined: Wed Jan 05, 2022 10:15 am
Answers: 3
x 87
x 168

Hole Pattern - adding holes as part grows

Unread post by TTevolve »

I am doing a door assembly and one of the parts has to get holes in it around the outer edge for rivets. The corner holes need to be 3/4" in from the edge and then the rest should be 9" apart.
image.png
Is there a way to get the hole pattern to add/subtract another hole as needed when the part grows and shrinks?
User avatar
Glenn Schroeder
Posts: 1527
Joined: Mon Mar 08, 2021 11:43 am
Answers: 23
Location: southeast Texas
x 1777
x 2142

Re: Hole Pattern - adding holes as part grows

Unread post by Glenn Schroeder »

Create the linear pattern (or edit an existing one) and select "Up to reference" instead of the default "Spacing and instances." By doing that the number of holes will adjust to match the distance.

image.png
"On the days when I keep my gratitude higher than my expectations, well, I have really good days."

Ray Wylie Hubbard in his song "Mother Blues"
User avatar
XHawkeye
Posts: 52
Joined: Thu Apr 08, 2021 4:45 pm
Answers: 1
Location: DFW
x 61
x 47

Re: Hole Pattern - adding holes as part grows

Unread post by XHawkeye »

@Glenn Schroeder the 'Up to ref..." is new to me. I've always used equations, in an Excel Design Table, to calculate the values in the sketch array and keep it centered on the part. I'll have to try 'Up to ref..." next time and see how that works.
User avatar
gupta9665
Posts: 420
Joined: Thu Mar 11, 2021 10:20 am
Answers: 25
Location: India
x 438
x 459

Re: Hole Pattern - adding holes as part grows

Unread post by gupta9665 »

XHawkeye wrote: Thu May 04, 2023 3:01 pm @Glenn Schroeder the 'Up to ref..." is new to me. I've always used equations, in an Excel Design Table, to calculate the values in the sketch array and keep it centered on the part. I'll have to try 'Up to ref..." next time and see how that works.
You will love the "Up to Ref.."
Deepak Gupta
SOLIDWORKS Consultant/Blogger
User avatar
Glenn Schroeder
Posts: 1527
Joined: Mon Mar 08, 2021 11:43 am
Answers: 23
Location: southeast Texas
x 1777
x 2142

Re: Hole Pattern - adding holes as part grows

Unread post by Glenn Schroeder »

XHawkeye wrote: Thu May 04, 2023 3:01 pm @Glenn Schroeder the 'Up to ref..." is new to me. I've always used equations, in an Excel Design Table, to calculate the values in the sketch array and keep it centered on the part. I'll have to try 'Up to ref..." next time and see how that works.
I use it all the time. For example, when I'm patterning rebar in concrete. I place the first one near one end of the concrete, then pattern the rest using the opposite face. If the size changes during the design phase (which we all know happens frequently), the stirrup pattern updates automatically.
"On the days when I keep my gratitude higher than my expectations, well, I have really good days."

Ray Wylie Hubbard in his song "Mother Blues"
Post Reply