Specifically I am trying to link the length of an extrusion in a part to the length of another part, and don't know how to do this to parts that are already made, without external references.
Thanks,
Mike
SolidworksParts And Features
Specifically I am trying to link the length of an extrusion in a part to the length of another part, and don't know how to do this to parts that are already made, without external references.
Thanks,
Mike
SolidworksParts And Features
If you want to avoid creating assemblies, insert one part into the other part (Insert menu/Part).
You can insert the model dimensions or just add a reference dimension to read the length of the referenced part. Now make your other dimension equal to the first one using an equation.
Feel free to delete the body of the inserted part after that to keep things simple (make sure you delete the body not the "insert part" feature).
Let me know if you need to see a quick video for this workflow.
You can also use design tables linked to the same external Excel file. Or use the same external file for both parts in the Equation Editor (SW 2011 only).
I do have them all in an assembly, and could all be driven by the distance between two parts.
Then is quite simple. Add an equation between the dimensions and the distance mate value in your assembly.
Can you add an equation to an extrusion length?
Do you want the Length to be equal to an expression (so the Length will be on the left side of the equal sign in an equation)? Or the other way around?
1. Depends how you modeled it. If the length "L" is defined by a sketch or feature dimension, you can have it in an equation.
L = A+B+C, where L is the dimension I was writing about.
2. The opposite is true, if you want another dimension to match that "extrusion length" and you do not have a sketch or feature dimension for it, you can add a reference dimension directly on the model (smart dimension, pick the entity or entities that define the length) and use that on the right side of the equal sign in an equation.
Something ELSE = L+..., where L is the reference dimension I was mentioning above.
yes, show the dimensions of the feature (highlight or double-click on the feature name - depending on your settings), and edit the extrusion length dimension to add the equation.
Quick and dirty way is to insert the part into your assembly with the sketch plane on your fixed face.
Edit the extrude feature of your sketch and use "extend to surface" (something like that) . Click the face of the part you want to use to determine the length of your part.
Like I said though this is a quick and dirty way and can get you in all kinds of trouble down the road if you have to change your assembly a lot.
A quick video would be great!
try this:
open part #1
1) roll back to just before the extrusion whose length you'd like to link
2) create a sketch on a reference plane whose normal is perpendicular to your extrusion direction
3) create a line with a starting point on the plane of your extrusion sketch
4) throw a dimension on the line at a length you'd like
5) edit the extrusion, and choose "to vertex" and click the endpoint of the line you just put a dimension on.
open part #2
repeat steps 1-5 as in part #1
open the assembly
1) edit either part #1 or part #2 in-context, and use an equation to drive the length dimension for the extrusions. you can make part #1's dimension drive part #2's dimension, or vice versa. you could also use an assembly sketch to drive the two equations on the extrusion dimension.
it works splendidly, so let me know if this method needs any clarification.