Resize a part in an assembly relative to another

I would like the diameter of a lid to automatically adjust in relation to a body (cylinder)


capture.jpg

Hello

 

All you have to do is link the dimensions of the diameters together.

 

Show the dimensions, click on the lid diameter dimension, type = and click on the cylinder diameter dimension. Then enter the difference.

 

This will give for example  " =d1@esquisse1 -30"

 

See attached image


cote.png
2 Likes

Hello

You have to create equations between the pieces.

I advise you to see the help: http://help.solidworks.com/2012/French/SolidWorks/sldworks/HIDD_EQUATION_MANAGER.htm?id=ed17cb958abe49f59e7ff4c358c60970

Kind regards

Otherwise start from the assembly to draw the lid by inserting a new part.

And converting the edge of the cylinder to make the lid.