Can I use Equations in a Solidworks Assembly to Create Part Instances
Can I use Equations in a Solidworks Assembly to Create Part Instances
(OP)
I am trying to create an assembly where I have to create more internal parts (ribs) in a assembly (door Panels) as the panels widen. I have used equations for dimentions and mates, but I haven't been able to generate part instances within an assembly using equations. Is this possible, or am I stuck creating configurations (and multiple linear patterns) for very possible door width?






RE: Can I use Equations in a Solidworks Assembly to Create Part Instances
In the assy, In-context the parts length to a driving feature. Actually if you create a driving "skeleton" or "layout" sketch in the assy, it is often easier to use when manipulating subsequent parts.
Using this method though will change any associated drawings of the part with the ribs.
RE: Can I use Equations in a Solidworks Assembly to Create Part Instances
RE: Can I use Equations in a Solidworks Assembly to Create Part Instances
RE: Can I use Equations in a Solidworks Assembly to Create Part Instances
Certainly you can use equations to drive instances in the assembly. I do this all the time both in components and assemblies.
What you need to do is create an equation that sets the number of instance by whatever formula you may use whatever dimensions in the assembly that you need or you can create reference dims to help you. but the equation would look something line
"D1@LocalLPattern1" = "D1@Extrude1@partname.Part" / 60
fill in what you want to drive D1@locaLPattern though..
Hope that helps
Regards,
Jon
jgbena@yahoo.com
RE: Can I use Equations in a Solidworks Assembly to Create Part Instances
RE: Can I use Equations in a Solidworks Assembly to Create Part Instances
Jason Capriotti
Smith & Nephew, Inc.
RE: Can I use Equations in a Solidworks Assembly to Create Part Instances
I created a new equation called # of Ribs.
I set that equal to the width (dimension) of the door panel, and divided by 6.
Now, how do I call up the '# of Ribs' equation in a component pattern? Or do I use something else? Thanks again for your help!
RE: Can I use Equations in a Solidworks Assembly to Create Part Instances
Double click your component pattern in feature manager, and look carfully for the text that shows the number instances. (it will be near the seed component).
Click this text and it will automatically be inserted into the quation dialogue. then you can insert/type the rest of the equation.
Colin.
RE: Can I use Equations in a Solidworks Assembly to Create Part Instances
Yes that is exactly it, and no you are not an id-10-t. These things just happen and sometimes its god to get an outside perspective.
You can drive the the # of instances with a the length/6 and that is it for the instances. You can also control the spacing dimension within the pattern as well which would require two equations then. for example:
N_INSTANCES = LENGTH / 6
DISTANCE = LENGTH / (N_INSTANCES-1)
You need not worry about the "length/6" being and integer because solidworks will round the number off to the nearest integer. so if you had a value 3.333 SWX will treat that as 3 instances, 3.5635 will yeild 4 instances and the like.
Hope that helps
Regards,
Jon
jgbena@yahoo.com
RE: Can I use Equations in a Solidworks Assembly to Create Part Instances
RE: Can I use Equations in a Solidworks Assembly to Create Part Instances
RE: Can I use Equations in a Solidworks Assembly to Create Part Instances
Sound at least like you are on the right path!
Regards,
Jon
jgbena@yahoo.com