External references question

Hi,

I have a quick question regarding external references andin-context design.

I have a model of a hollow cylinder of a certain, changeableinternal diameter, and this is the first component created in atop-down assembly.

I would now like to create a solid round shaft that will eventuallybe placed concentric to the hollow cylinder but needs to be able tomove along the axis of the cylinder. The solid shaft needs to havea diameter that is always 1mm less than the internal diameter ofthe hollow cylinder, whatever that internal diameter may be.

The problem I have is that when I reference the diameter of thesolid shaft to the internal diameter of the cylinder, an InPlacemate is created and it is not allowing me to move (translate) theshaft along the axis of the cylinder, which I need to be able to dofor a Motion Analysis I plan to run later on.

If I delete the InPlace mate the external reference to the internaldiameter of the cylinder is broken.

Basically I need associativity between the diameter of the shaftand the internal diameter of the cylinder, but I still need to beable to move the shaft around in the assembly.

What would be the best way to achieve this? I have tried usingEquations but when I am editing the shaft sketch I am not able toselect the internal diameter of the cylinder to use in an equation.

Any help is appreciated.

EdmondSolidworksAssemblies
Answers 4
SF
SF 2009-02-16 Best Answer
In this example the shaft diameter is controlled by the tubeinner diameter with an equation. If you change the tube innerdiameter, also the shaft diameter will change. There is no matebetween them, but they could be mated in any way.
SF
SF 2009-02-16
Hi Sven-Erik,

Thanks for that, this is what I am trying to do. When I am going todefine a new equation how can I see what dimensions in the wholeassembly are available to me to use in the equation?

For example, if I wanted to recreate the equation in your file, doI need to note down on paper the name of the dimension of the shaftdiameter, then go into the cylinder model and create the equationwith that name? When defining an equation it would be nice to havea list of all the dimensions you can use in that equation...
SF
SF 2009-02-17
In the part, right click on Annotations in the top of thefeature tree and tic "Show feature dimensions, so will the partsdimension be visible also in the assembly. To use them inequations, just click on them.
SF
SF 2009-02-17
Thank you Sven!