QUOTE (Dmitry Ushakov @ Mar 18 2009, 07:42 AM)

I am not so familiar with SolidWorks, but I think it is not possible to put the 3D driving dimension on the main diagonal of a box in SolidWorks.
Dimitry, I'm not quite sure what you are getting at here, but I have trained to BSc level, using Solidworks as the main CAD package. In Solidworks, as soon as you draw a line, that line, if fixed from the origin is given a parametric constraint. You can add further constraints by using the add relations tool- for example a concentric restraint of a smaller circle within a larger circle- for doing accurate shafts and bushes etc.
So to create a cube in Solidworks, start a new sketch by pressing the 'Extrude Solid' tool. A new sketch will start as soon as you have told Solidworks whether you want to draw on the front, right or top planes). Draw a line (say approx 100mm) from the origin in both the x and y axis. By using the smart dimensioning tool, you can adjust each line to the required length, simply by clicking on the line, and entering 100mm in a floating input box that appears. Once you have made a square, by adding two more lines, with the line tool (best to do that before adding dimensions!), the lines will turn from blue to black. This change of colour indicates that you have fully defined the sketch. Now you exit the sketch, and the square will extrude . Here you enter 100mm and press accept (a green tick at the top of the display). You should now have a '3D' representation of a cube.
At all times you are able to upgrade the model's parametric data, but you must edit extrusion data (z) separately from x and y (sketch). This of course is very different in software such as Sketchup, and the excellent SpaceClaim.
I hope that makes sense- I'm doing this while typing on my Mac, and Windows isn't open, so it's "from the top of my head" so to speak!

Tom