SolidWorks Pattern Equation Help
SolidWorks Pattern Equation Help
(OP)
I am trying to make an equation to drive a quantity of a pattern so I can just adjust a qty and then the height will modify accordingly. Is there any way to use an equation for a qty of a pattern? Help is appriciated.
Thanks,
Jr-
Thanks,
Jr-






RE: SolidWorks Pattern Equation Help
What type of pattern? (Linear Sketch Step & Repeat, Feature Pattern or Component Pattern)
MERRY CHRISTMAS
(Unabashedly Politically Incorrect)
RE: SolidWorks Pattern Equation Help
RE: SolidWorks Pattern Equation Help
Double-click the pattern in the assembly tree, and rename the quantity to Pattern Quantity, and rename the distance value to Vertical Quantity (this is assuming the pattern axis is horizontal)
"VQ"= 16 ' Vertical Quantity
"PD"= 4 ' Pattern Distance
"Pattern Distance@LocalLPattern1" = "PD"
"Pattern Quantity@LocalLPattern1" = "VQ" + 1
"Length@Extrude-Thin1@Vertical Tube.Part" = "VQ"*"PD"+1
The last equation is the dimension entity of the part.
Note the last number "1" on the last equation is the width of the part being patterned, in this case a 1" square tube.
The fun part is when you start using the "IF" and Integer functions.
Flores
SW06 SP2.0
RE: SolidWorks Pattern Equation Help
Thanks,
Jr-
RE: SolidWorks Pattern Equation Help
RMB click on the QTY value, select Properties.
Type a name in the Name box & click OK.
Obviously all other dimensions can also be named the same way.
MERRY CHRISTMAS
(Unabashedly Politically Incorrect)
RE: SolidWorks Pattern Equation Help
MERRY CHRISTMAS to you too! And, to all others also!
Will
RE: SolidWorks Pattern Equation Help
If it's a sketch pattern you cannot control it because the dimensions will not show up - been like this since SW04, SW05 and SW06
Turn it into a feature pattern then you can control it.
Regards,
Scott Baugh, CSWP
www.scottjbaugh.com
FAQ731-376
RE: SolidWorks Pattern Equation Help
Jr-
RE: SolidWorks Pattern Equation Help
http://www.mytempdir.com/335028
(pattern_driven_assembly.zip)
In the assembly equation change the value of VQ to change the length of the horizontal tube.
CODE
"PD"= 5 ' Pattern Distance
"Pattern Distance@LocalLPattern1" = "PD"
"Pattern Quantity@LocalLPattern1" = "VQ"
"Length@Extrude-Thin1@Horizontal Tube.Part" = "VQ"*"PD"-"PD"+1
Flores
SW06 SP2.0
RE: SolidWorks Pattern Equation Help
Windows 2000 Professional / Microsoft Intellimouse Explorer
SolidWorks 2006 SP02.0 / SpaceBall 4000 FLX
Diet Coke with Lime / Dark Chocolate
Lava Lamp