Constraining Pattern-Copied Objects

This section refers to objects copied in patterns (lines, linear arrays, radial arrays), using the Copy Entities tools (see Copying Objects).
When you copy objects in a pattern, you can use Auto Constraints and dimension variables to control spacing, angles, etc. This example uses a circle copied into a linear array.

1. Before you begin, make sure Auto Add Constraints is active in the Inspector Bar.

2. Create a rectangle and add a small circle. The rectangle should have parallel and coincident constraints assigned automatically.

3. Select the circle and use Fit Array Copy to copy the circle into a grid. See Fit Array Copy 

4. Assign some Orthogonal dimensions as shown. (See Creating Dimensions).

5. Open the Variables palette (F2) and the dimensions should be shown, identified by a variable. In this example, the variables were assigned names (L, E1, E2).

   

Note: For more information on working with variables, see Calculator Palette - Variables Palette

6. Create a formula so that the two edge dimensions will be equal. In this case, the variable E1 was used as the formula for E2.

The dimensions update, and the spacing between copied objects remains constant. However, in this case, the linear array does not have a 90 degree angle.

7. Used the Horizontal constraint on the bottom edge of the rectangle.

8. To fix this, activate the Parallel constraint and click first the array (horizontal) constraint line, then the top line of the rectangle. Repeat if necessary to make the array perpendicular vertically.

Now the array is perpendicular again.