CADTutor: The best free help for AutoCAD on the web

Michael BeallMichael’s Corner #103
July 2011

Software Fireworks!

by Michael Beall

A portion of this month's content was written while I was down in the Dutch Caribbean presenting training for the UTS Training & Development Center in St. Maarten. What a joy and a blessing to be invited down there and the hospitality shown to me by the Center's managers, David & Christine McGregor was positively delightful. My 36 students were pretty great, too, I must say.

This month I wanted to tackle the new AutoCAD 2012 Array feature and at least give you some starting points. So in the fashion of the 4th of July, I'll light the ‘fuse of interest’, and my suspicion is you will all have your own colorful ideas on how to apply these insights:

…Creating and adjusting an Associative rectangular array
…Using the multifunction grips and the contextual tab to edit the Associative array
…Mechanics of editing a source object in an Associative array
…Editing stacked fractions in Mtext (I know, totally random)

I sure hope you all have as much fun with these tips as I did discovering them, and I hope you have a safe summer holiday!

If you would like to contact me directly, you can do that also.

Blessings to one and all,
Michael

AutoCAD 2012's Associative Array

Rectangular ArrayOK, this is classy. So, back in the day, AutoCAD LT had the Array dialog box a full version before it was included in the ‘big dog’. And although the Array dialog box has been sufficient for the last several versions, somebody decided that it needed an overhaul… and they brought their ‘A’ game. It should be a candidate for ‘Trick your Command’ or something equally cool. The Array routine is now associative (think dimensions with grips, and when you edit an associative array, it comes wrapped in a contextual tab with a side of multifunctional grips (covered in this month's Power Tool).

To unpack this critter, we'll do a simple rectangular array to point out the various features, and you can take it from there.

How to Create an Associative Array

  1. Create a rectangle with the dimensions of 1.5″ x 3.5″.

  2. On the Modify panel [Home tab], click Rectangular Array, then select the rectangle and press [Enter]. Move your cursor in any direction to view the dynamic placement of the rectangles.

  3. To create a simple line of rectangles, albeit with specific values, complete the prompts as shown below:

    Specify opposite corner for number of items or [Base point/Angle/Count] <Count>: B

    Specify base point or [Key point] <centroid>: Pick the lower left corner of the first rectangle

    Specify opposite corner for number of items or [Base point/Angle/Count] <Count>: Press [Enter] for the <Count> option.

    Enter number of rows or [Expression] <4>: 1

    Enter number of columns or [Expression] <4>: 8

    Specify opposite corner to space items or [Spacing] <Spacing>: [Enter]

    Specify the distance between columns or [Expression] <2 1/4">: 6

    Press Enter to accept or [ASsociative/Basepoint/Rows/Columns/Levels/eXit] <eXit>: [Enter]

But wait, there's more!!

Editing the array

After completing the Array command, when you click on one object in the array, the entire array is highlighted and you see — in order of appearance — (1) multifunction box grip, (1) arrow grip, and (1) multifunction arrow grip.

Dynamic InputIn this exercise, you adjust the spacing between items and the quantity of items in the array using grips. This exercise also takes advantage of the Dynamic Input mode, available on the Status bar.

How to Adjust an Associative Array

  1. Enable the Dynamic Input feature, then click on one of the rectangles of the array created in the previous exercise to display the three grips.

  2. Current spacingTo change the spacing between each item in the array, click the arrow grip displayed on the 2nd item in the array to display the current spacing.

  3. Type 10 for the new distance between items, then press [Enter]. As you may have noticed, you can also manually adjust the spacing.

  4. To decrease (or increase) the total number of items in the array, click the arrow at the end of the array to display the current number of columns.

    Current number of columns
  5. Enter the desired number of columns for the array, then press [Enter]. You may also simply move your cursor to dynamically display the column count.

That is just the tip of the Array iceberg, but hopefully you now see the potential of this newly updated command.

Note: To disassociate the items in an associated array, use Explode.

Top of page

Power Tool

Multifunction Grip and Contextual Tab for Arrays

In addition to the associativity features of the A2012 Array command, the multifunction grips and a contextual tab also contribute to its effectiveness.

Continuing from the above exercises, this sequence steps you through increasing the Row count using the multifunction grip and specifying the distance on the contextual tab.

How to Adjust the Row Count and Spacing of an Associative Array

  1. Multi-function gripContinuing from the above exercises, click on any object of the array to display the grips and the contextual tab.

  2. Hover in the box grip (don't click, just hover in it) to display the shortcut menu, hence the term "multifunction grip".

  3. Number of rowsClick Row Count, then move your cursor to see the dynamic display of the rows (or enter 3 in the dynamic edit box). Click to anchor the position of the 3 rows of rectangles.

  4. Row spacingOn the contextual Array tab, Rows panel, enter 8 for the Row Spacing value and you will see the distance between rows — the distance between similar points on each rectangle — shift to 8 units.

Top of page

The Odd Spot

Modifying the Source Object in an Associative Array

Edit SourceRounding out the top 3 Need-To-Know bits about rectangular arrays, here's something that's more unique than odd: the ability to modify one object in the array as the ‘Source’ object, then have the modification reflected on all instances of that object in the array.

How to Edit the Source Object in an Array

  1. Continuing from the above exercises, click on any object of the array to display the grips and the contextual Array tab.

  2. On the Options panel, click Edit Source.

  3. Click any rectangle in the associative array and you will get a notice about editing the source object; click OK.

  4. Save ChangesYou may now edit the selected source object, so draw a diagonal line across the rectangle… and when you have finished drawing that line, every instance of the rectangle in the array displays the edited condition!

  5. Click Save Changes on the contextual Edit Array panel and you're good to go!

    Final result

Top of page

The Basics

Stacking Fractions in Mtext

Depending upon the need — or your eyesight — automatic stacked fractions can be unexpected and/or unwanted. My buddy Serge, Design Manager at American Office, was asking me about this recently so I thought I'd take this up this month.

AutoStack Properties

How to Specify and Adjust Stacked Fractions

  1. Sample textLaunch Mtext, then enter the first line of text shown here and you will probably get the AutoStack Properties dialog box shown, above.

    In the lower portion of the dialog box, notice the two options of stacking — Diagonal fraction or Horizontal fraction.

  2. Click the radio button for the desired stack condition, then click OK to close the AutoStack Properties dialog box and your fraction will reflect your decision.

  3. Stack PropertiesTo disable the stacking of fractions in Mtext — possibly because it is too difficult to discern — highlight the fraction (be careful not to include the inches or feet sign, if they're present), then right-click to display the shortcut menu.

  4. Stack Properties dialog

    The option to Unstack is pretty intuitive, but what about Stack Properties? In addition to changing the value of the Upper and Lower text values, you can also specify the Style, Position, and possibly more importantly, the percentage of the height of the fraction numerals in relation to the text itself (Text Size).

UnstackAutoCAD 2012 Note: I noticed that in A2012, when you're in the Mtext Editor, after highlighting the fraction to edit, if you click on the highlight, a small white down-arrow displays. Click on that arrow (not right-click), then choose the desired option. Nice.

Top of page

Left Field

The Seafaring Eight-Legged Wonder:
Cephalopods have one central systemic heart and two brachial hearts, according to the medical journal, The Lancet. The dominant heart supplies blood to the body, while the other two bring it to the gills for oxygenating (similar to how the right side of the human heart pumps blood to the lungs). Unlike humans, however, octopuses bleed blue, as their circulatory systems use hemocyanin — a protein that contains copper — rather than iron-rich hemoglobin, to bind oxygen.
Courtesy of Southwest Airlines Spirit magazine, May 2011

Share this page:

Share at Facebook Submit a link at Reddit Share at StumbleUpon Share at del.icio.us Share at Technorati

Local Navigation

Sponsored Links

Accessibility statement

Valid XHTML 1.0!Valid CSS!Creative Commons Licence