SolidWorks Automatic Dimensioning Drawing

Hello

I would need  your help to avoid redoing the dimension with each new assembly (dimensions of size) because I have not found anything that works.

I have a basic assembly and the associated dimensional drawing. My assemblies are always in the same configuration (just the parts and subassemblies change but are in the same place). The desired odds are also always the same. Attached is a simplified representation of my assembly where each color corresponds to a sub-assembly/part.

I would like the dimensions of the drawing to adjust according to the components used. I tried to change the reference of the slddrw file by pointing to the new assembly but the dimensions are wobbly and do not adjust to the new dimensions. For example, I would like the " dimension to be adjusted " in the attached image to vary.

 

I also created planes in my different rooms (with the same name) and then added the dimension between two planes in the drawing. The dimensions still don't fit when I change the reference assembly.

 

I also have a problem displaying annotations. If I add annotation to a part and use that part in an assembly, then the annotation appears in the 3D assembly but not in the drawing of the 3D assembly, even though all annotation options are displayed. Indeed, the drawing " finds " the annotations added directly in the assembly but not those of the parts used for the assembly.

I hope I have been clear and thank you for your help !


capture.png

Hello

It depends on the design of the assembly. Are they different parts in each assembly? In this case, why not create a plane at both ends and put the dimensions on the plan?

 

Otherwise, a trick when a dimension is wobbly, we select it, and there we see the two handles appear, by clicking them and we hold the click until the new entity (sometimes the same as before), we can re-hang the dimension.

Thank you for your quick response.

The parts are different in each assembly. Regarding the plans at the ends, they should be in the parts and the assembly drawing should find the references according to each part.
 Indeed, if you have to add planes each time in the assembly, it is also quick to add the dimensions in the drawing.

Regarding the trick for wobbly dimensions, re-hanging doesn't work on my assemblies...

In general, resnapping works better on vertices than edges, for which it is rather erratic.

 

Hello

I'm not sure I've understood everything but a take-home composition of your basic assembly by not forgetting to check "include paln settings" wouldn't work?

You start from a basic assembly "A" consisting of 3 components "01", "02" and "03".

You make your take-home composition by renaming "B", "01_1", "02_2" and "03_3", for example. Check include the drawings and so you can modify these new files which will already have their plans and which will adapt if you modify the dimensions. 

1 Like

TicTic,

Thank you for your answer.

However, I have tried take-home composition and if I replace a component of my assembly, the dimensions of the drawing do not update and become wobbly.

Can you share one of these assemblies with the parts for me to test?

I added the assembly and its parts as well as part 7 which is not in the assembly.

If I change part 4 to part 7, I would like the dimension of the drawing to adapt to the new length.


assemblage.zip

Ok I see the problem!

You did not mention that a prism was replaced by a cylinder. So it's logical that it doesn't find its reference face despite the constraints you made with respect to the basic plans.

I'm continuing my thinking but it seems complex to me to keep the hang of the rating.

Imagine that we could change a part by any one with a totally different geometry, it would be beautiful but not realistic.

2 Likes

Yes, as I indicated, the only solution would be to create two plans at each end, but it takes as much time as redoing a dimension on the plan...

I found the solution to my problem.

In order for the dimensions of the assembly to adapt to the parts used, planes must be added to the parts.

Then, a macro adds the desired dimensions between the created clips.

For the names of the parts (they are needed in the macro to display the dimension), the macro will look for them in an Excel list file. So, if I change the part of my assembly, the macro finds the new part with its plans and the assembly dimension updates.