PDA

View Full Version : centering


Darrek28
15-09-2005, 06:59 PM
I have four single object drawings on a 10" x 7.5" border and the border is split into 4 equal squares. I need to know how to center each item in each square. I have a line from corner to corner so i have my center of each box i just cant find the center of each object and move them to the center. Help is much appreciated. PS i am a student just learning Autocad im im trying to finish my homework and this is my dilemma.
:banghead3

CarLB
15-09-2005, 07:17 PM
Here's an "approximate" method. Go into the viewport (type MS or doubleclick), type "-pan", select the center of the object as the base point, then for the "to" point click at the center of the line. You may want to first draw another line from the midpoint of the line to mark the center ov the viewport. Unfortunately you can't use object snap on a PS entity while in MS, but you can do the reverse.

csiarch
16-09-2005, 02:35 AM
Another more tedious method.

In paper sapce, draw a vertical and horizontal line from the midpoint of your diagonal line. Measure the x-axis distance from the center of your object to the vertical line; ditto y-axis from the object center to the horizontal line.

Multiply these measured values by the viewport scale factor. This will give the actual distances to move the object.

Type MS make the viewport active.

Type -P <enter>, click a start point, enter to x-axis distance on the command line: @real x-axis distance<0. Do the same for the y-axis distance.

Please do not zoom while viewport is active....

Close the viewport (PS <enter>

Should get you pretty close to the center of the viewport (these are viewports, aren't they?).
Hope this or CarlB's suggestion helps you on your way...

hendie
16-09-2005, 06:49 AM
if you make the outline of each object into a REGION, it will then inherit a CENTROID property. Use LIST to get the centroid, then move the object from the centroid to the centre of your bounding box