AutoCAD 2013 & AutoCAD LT 2013 Bible

The most comprehensive AutoCAD book around!

AutoCAD 2012 Bible

Control the shape of objects when you edit them – Keep an equilateral triangle equilateral

Let’s say that you have an equilateral triangle and you want to make sure that it stays that way, even if you grip edit a corner. Because without any restrains, you can just wreck it, like this:



Use Parametrics to control the shape of objects as you edit them

AutoCAD’s geometric parametric feature lets you place constrains on objects so you can control what happens when you edit them. For example, you can constrain a line to be:

  • horizontal or vertical
  • equal in length to another line
  • parallel,  perpendicular, or collinear to another line

For an equilateral triangle, you certainly want all the lines to be equal in length, since that’s the definition of an equilateral triangle. You might also want to maintain its bottom side horizontal (to the X axis).

The feature has a great shortcut, Autoconstrain, but it doesn’t always do everything that you want. Here are the steps to draw and constrain an equilaterial triangle with a horizontal bottom edge:

  1. Click the Ortho Mode button on the Status bar.
  2. Start the POLYGON command and set its sides to 3. (On the Home tab, in the Draw panel, you’ll probably see a rectangle for the RECTANG command. Click the down arrow to its right to find the POLYGON command.)
  3. Click to specify the center of the triangle.
  4. Choose either the Inscribed in Circle or Circumscribed about Circle option.
  5. Move the cursor up or down from the center (depending on the option you chose in the previous step) so one side is parallel to the X axis and click to specify the triangle’s size.
  6. Click the Parametric tab and choose Autoconstrain in the Geometric panel. At the prompt, select the triangle and press Enter to end the command. AutoCAD only adds a horizontal constraint to the bottom line.
  7. Again in the Geometric Panel, click the Equal button. Choose the Multiple option. Then select all 3 lines of the triangle and press Enter to end the GCEQUAL command.
  8. Turn off Ortho Mode.
  9. Select the triangle and click either of the 2 bottom grips. Try moving it. You’ll see that no matter what you do, you’ll always get an equilateral triangle with its bottom line horizontal.  (You might need to choose Stretch Vertex from the options near the grip, depending on your release of AutoCAD.) The top grip will just move the triangle.


 What else can you do with parametric constraints?

How do you use parametric constraints to help you when you edit drawings?

Here are 2 tips on keeping the integrity of a rectangle. I love these tips! Trying them out will teach you a lot about parametrics and dynamic blocks.



3 comments to Control the shape of objects when you edit them – Keep an equilateral triangle equilateral

Leave a Reply




You can use these HTML tags

<a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>