Automatic solution for overall dimension creation

Hello everyone,

 

I wanted to know today if there is a complete, a macro or a technique to create a cube around an assembly that represents the overall dimensions of the said assembly.

 

Thank you and have a good day.

Do you have the My CAD suite?

 

Look at this question: http://www.lynkoa.com/forum/solidworks/dimensions-hors-tout

 

More info on this subject here : http://www.lynkoa.com/search/boundingbox

3 Likes

Hello

Here is the answer to an identical question:

http://www.lynkoa.com/forum/solidworks/dimensions-hors-tout

 

 EDIT: too slow to write ^^

2 Likes

an option................ And why not use?

 

Creating a cube that integrates your part or assembly 

 

See this link

http://www.lynkoa.com/tutos/3d/solidworks-calcul-de-volume-contenu-juillet-2012

 

@+ ;-)

1 Like

I have somewhat the same problem.

The solution I adopted is the sketch conversion (in your case representing the perimeter of your assembly) and then the addition of a driven dimension. which will thus give you your maximum size. 

Personally, I put these dimensions in a family of parts so that according to my configurations the dimensions are automatically read in the family of parts.

2 Likes

Hello

 

SolidWorks offers it by default (for not long, but I can't say which version), it 's the visualization cube :

 

http://help.solidworks.com/2013/French/SolidWorks/sldworks/c_wn2013_3D_Bounding_Boxes.htm

 

2 Likes

Hello

 

This is easily doable via APIs

 

Look in the GetBox Method API help (IAssemblyDoc)

 

There are examples of codes

4 Likes

The Visualization Cubes works for separate bodies but not for assembly.

 

I still haven't found the solution to my problem.

Optionally, you can save the assembly as a .sldprt, and then use the boundingbox utility.