Categories

AutoCAD 2015 and AutoCAD LT 2015 Bible

The most comprehensive AutoCAD book around!

How to Easily Find and Replace Multiple Text in AutoCAD

Suppose that you want to rename some text labels. For example, you have some part numbers that start with G- and now you want them to start with J- or you want to change every instance of “box” to “rectangle”.

First, it may be hard to find all of the instances of the text you want to change and if there are a lot of changes, it would be very time consuming to change each one individually. Instead, you can use the FIND command, which lets you find and replace text anywhere in your drawing. It finds the following types of text:

  • Single-line text
  • Multiline text
  • Text in tables
  • Block attributes
  • Dimensions
  • Hyperlinks and hyperlink descriptions

autocad_tips-replace-text-1Choose Annotate tab, Text panel, Find Text, and enter the text you want to find in the Ribbon’s text box. Then click the Find Text button or just press Enter.

The Find and Replace dialog box opens with the text you entered in both the Find and Replace text boxes.

You can use wildcard characters: Continue reading How to Easily Find and Replace Multiple Text in AutoCAD

Create objects with transparency in your AutoCAD drawing

Transparency gives you the opportunity to create presentation-ready drawings. You can draw an object that is up to 90% transparent. Here you see some trees filled with a 60%-transparent solid fill.

Transparency in AutoCAD 2011



As with other object properties, you should use the Layer Properties Manager to create a layer and specify the transparency as a layer property. Here you see a red layer that is 75% transparent.
autocad-tips-transparency-1
autocad-tips-transparency-3Transparency is pretty useless for the line that delineates an object, but is quite useful for a solid fill hatch or a gradient. Here you see the effect of a red 75%-transparent layer on top of an opaque blue layer. The result is purple at the point of overlap.** As one of our readers point out – To show Transparency effect on your drawings, remember to check if the correct display mode is activated. Here is how –  Enter “TRANSPARENCYDISPLAY” in the command prompt, then enter “1” to activate.

To create an object with a partially transparent solid fill, follow these steps:

  1. Open the Layer Properties Manager (the LAYER command).
  2. Click the New Layer button and name the layer.
  3. In the Color column for that layer, click the color swatch and choose a color.
  4. Click in the Transparency column for that layer to open the Layer Transparency dialog box and type a value between 0 (completely opaque, the default) and 90 (mostly transparent). Then click OK.
  5. Make any other changes that you want to the layer’s specifications and close or collapse the Layer Properties Manager.
  6. From the Home tab> Layers panel< Layer drop-down list, choose the new layer to make it current. (You can also do this after the next step.)
  7. Draw a closed object.
  8. Choose Home tab> Draw panel> Hatch.
  9. In the Pattern panel, choose Solid.
  10. At the Pick internal point or [Select objects/settings]: prompt, pick inside your closed object.
  11. Press Enter to accept the solid fill and end the command.

Another useful comment from our reader is in relation to xref. The transparency functionality only works if it is set in the current drawings, not as Xref to another drawing. The work around is to copy with base point with all the data from the external file & paste it into the drawing.

Also, if you have trouble seeing the transparency setting after plotting to PDF, please make sure that you have checked “Plot Transparency” under Plot options.

Do you use transparency in your drawings? Why or why not?

Make the command line work the way you want it to

The command line is an essential component of drawing in AutoCAD. Even if you don’t type commands there, you need to look at it for prompts and you probably use it to specify options.

Do you know you can use command line to launch other programs?

The command line is actually a palette window. By default, the command line is docked at the bottom of your screen.

AutoCAD tips: Command line

See more of the command line

Another default is that the command line palette shows 3 lines of text: the Command: prompt and 2 previous lines. You can drag the upper edge of the palette to show more lines.

AutoCAD tips: Command line

To display the entire history of the command line, press F2 to open the AutoCAD Text Window.

AutoCAD tips: Command line

See less of the command line

On the other hand, if you think that the command line takes up too much space you can hide it or collapse it.

To hide the command line, pres CTrl + 9. So you don’t do this by accident without knowing how to get the command line back, you see this message:

AutoCAD tips: Command line

Check the Always Close the Command Line Window check box to avoid seeing this message the next time. Then click Yes. Now, you can easily toggle the command line to display and hide it.

To collapse the command line (like other palettes such as the Properties window or the Tool Palettes), first undock it by dragging its gray title bar at the left.

AutoCAD tips: Command line

Then right-click the gray title bar and choose Auto-Hide. The command line palette collapses to a small gray bar. That’s pretty small! But as soon as you hover your cursor over the bar, the command line expands.

AutoCAD tips: Command line

Let AutoCAD help you

Starting with AutoCAD 2012, when you start to type a command, AutoCAD auto-completes. If you pause, you see all commands starting with the letters you typed and you can choose the desired command.

AutoCAD tips: Command line

You can do minor editing as you type, in case you make a mistake (before pressing Enter):

  • Home: Moves the cursor to the beginning of the line
  • End: Moves the cursor to the end of the line
  • Left arrow: Moves the cursor to the left
  • Right arrow: Moves the cursor to the right
  • Backspace: Deletes the character to the left of the cursor
  • Delete: Deletes the character to the right of the cursor

You can also use Ctrl+V to paste text from the Windows clipboard.

Retrieve command line

One of our readers suggests these 5 easy steps to retrieve command line:

  1. Go to bottom blue area below drawing area and right click.
  2. Choose Hide Task Bar.
  3. Move hidden command bar to drawing area.
  4. Turn back on task bars.
  5. Reposition Command baring

More command line tricks & tips

Here are some more ways to make using the command line easier:

  • Repeat the last line you entered: Press the Up arrow and pres Enter.
  • Copy a previous command from the Text Window: Press F2 to open the Text Window, highlight the item you want, right-click, and choose Paste To CmdLine.
  • Repeat a recent command: In the Text Windows, right-click and choose Recent Commands. Then choose the command you want.
  • This one is from our reader comments: Copy the command line history texts, Type “COPYHIST” in the command line window. Once you hit the enter button, texts are automatically copied in your clipboard. These are just text lines, you can paste it anywhere.

Do you have any other tips for using the command line window? Leave a comment!

Keep blocks accessible so you can insert them in any drawing–Part IV: A block library

In previous posts, I explained how to insert blocks from the Tool Palettes window, the DesignCenter, and the Content Explorer. In this tip, I’ll explain how to create block library and use the INSERT command to insert blocks that are in that library.

You don’t need a special tool like the Tool Palette window, DesignCenter, or Content Explorer to insert a block. Instead, you can save all of your blocks as separate drawings in a folder and insert them from that folder.

I explain how to create a drawing from a block in my tip, “Write blocks to save them as separate files.” This tip explains the WBLOCK command, which automatically uses the base point of the block as the base point of the drawing, so that you can easily insert the block in the right place.

Once you have saved your blocks as drawings in a block library folder, you can easily use the INSERT command to find and insert them. Follow these steps:

  1. On the Home tab, in the Block panel, click Insert.
  2. In the Insert dialog box, click the Browse button to browse to your library folder and then the block you want inside that folder. Remember that each block is a separate drawing.
  3. Double-click the block you want to insert.
  4. Choose the settings you want in the Insertion Point, Scale, and Rotation sections of the dialog box.
  5. Click OK.
  6. If you kept the default option to specify the insertion point on-screen, pick the point you want. Specify scale and/or rotation if you also set them to be specified on-screen.

autocad_tips_insert-blocks-library-1

** One useful tip from our reader’s comment is to create one file with all your most commonly use blocks, then insert it in your drawings. Each block is now available in the insert block drop down list.

How do you manage your blocks? Do you have a formal block library? How do you set it up and access its blocks? Leave a comment!

Create a block in AutoCAD

Creating a block is a basic task that every AutoCAD user should know. But even if you’ve been using blocks for years, I think that you’ll find the links at the end to more advanced tips helpful. Put together, these tips make up an advanced tutorial on blocks.

What is an AutoCAD block?

A block is simply a collection of objects (it could be one object) that has a name. Blocks have several advantages:

  • You can insert them again and again, saving time. In fact, you can insert them into other drawings as well.
  • A block uses less electronic space than individual objects, so your drawing file is smaller.
  • By updating a block’s definition, you can update all the blocks in the drawing.

Note: Dynamic blocks are blocks that have added parameters that function in certain defined ways. Sign up below to get your Free tutorial on creating a complete dynamic block, including a drawing to practice on. You’ll make a movable chair, resizable desk, and more.

How do you create a block?

To create a block, follow these steps:

  1. Draw the objects that you want in the block.autocad_tips_create-a-block-in-autocad-1
  2. Choose Home tab> Block panel> Create to start the BLOCK command. The Block Definition dialog box opens.
  3. Type a name in the Name text box. The name can have spaces.
  4. You need to specify a base point. That’s the point at which you’ll insert the block. In the Base Point section, click Pick Point. Be sure to use an object snap for accuracy! You’ll immediately be returned to the dialog box.
  5. In the Objects section, click the Select Objects button. Select the objects and press Enter to return to the dialog box. Tip: You can select the objects before using the command and they’ll show up in the dialog box.
  6. Just below, choose Retain, Convert to Block, or Delete. These options control what happens after you create the block.
  7. In the Behavior section, you can make a block Annotative (more info here), force it to scale uniformly and choose whether to allow exploding.
  8. In the Settings area, choose the block unit. You can choose Unitless but if you choose a unit, AutoCAD will try to scale the block appropriately when you insert it into another drawing. You can also add a hyperlink if you want.
  9. Finally, you can add a description in the Description box. A description is helpful in the DesignCenter, when you want to insert the block from another drawing.
  10. Click OK to complete the box. If you chose Delete, the objects disappear. You can use the OOPS command to bring them back.

Next time, I’ll cover the process of inserting a block.

Other Useful Related tips on AutoCAD blocks to check out:

Those should keep you busy for a while, but there are more! Go to my blog’s home page and enter blocks in the Search box to find them all.

Want more productivity tips like this? You can draw and edit faster and easier with this easy to follow top 25 productivity tips every AutoCAD user should know.

Do you have any tips for creating blocks? Leave a comment!

What is your favorite AutoCad Block Naming Convention?

AutoCad block naming conventions can help you quickly identify block types, especially in drawings with many blocks or within the block libraries.

There is no one way fits all approach, however, from our experience, three major criteria for a good naming standard are:

  1. Descriptive/Meaningful
  2. Concise
  3. Consistent

So what is a Descriptive/meaningful, intuitive, simple and consistent naming standard actually means?

The name should be a description of the actual block, which tells about the block without seeing it. The name should also be meaningful and obvious to your company’s current user and therefore more intuitive to any future users.

Although there maybe no limit on characters in block names, it is also important to keep it simple and concise.

Last but certainly not least important is that whichever block naming system you decides to go with, it is critical to be consistent.

If your new block naming convention follows the above criteria, it will avoid unnecessary confusion and/or time wasting and it will be easier for new people to learn and get on board with the system.

Below is an example of a descriptive naming structure for door or window blocks for an architectural plan.

Company_Type/Operation of Door/window & No of Panels_ Width_Height

So for a 4 panel sliding door, 4000mm wide 2400 high, you can name it as descriptively as possible such as AACAD_SLIDEDR4P_40W24H

Note: The company initial is only useful if you are sharing & working on the same files with other company.

So if you prefer a simpler and more concise option, you can simply name this block as SD4P_40.24

If you go with this simplified naming convention, it may be useful to also have a print out or an attachment file with legends that clearly shows how the generic abbreviation works.

Comment and share with us below, the block naming convention/system/structure that you use and find most useful.

 

Breaking a line into two in AutoCad

You can break a line or other object into two objects without any space between them using the BREAK command in AutoCad.

Here are 5 easy steps to achieve it:

  1. Type in BREAK at the command line or select break tool
  2. Select the object you wish to break
  3. Select First Point Option (F) then
  4. Pick the point where you wish divide the object
  5. When prompted to specify second break point, type @ and Enter

Note: You probably know that @ means last point picked, so AutoCAD breaks the object at the first point you picked and it becomes two objects. You can’t see the different until you try to select one of them.

Draw and edit faster and easier with these top 25 productivity tips every AutoCAD user should know. Check out “Top Productivity Tips Every AutoCAD User Should Know”

How about if you want to break the line with a specified distance/gap in between? (For this example, we want 100 unit line, 500 unit gap to the second line). We can easily do this by using the “from” command inside of the Break command.

Follow these simple steps below:

  1. Type in BREAK at the command line or select break tool
  2. Select the object you wish to break
  3. Select First Point Option (F) then Enter.
  4. From and Enter. Then for offset prompt, Type @100,0 and Enter
  5. When prompted to specify second break point, type @500,0 and Enter
  6. You now have a gap of 500 unit in between the now separate two lines

Note: if you have reference points to pinpoint exact position of the gap, you can also use the mouse & drag to align to the reference lines instead of typing in the exact unit.

Eric Fransen emailed in a nice macro for this that you can put on a toolbar button:

^C^CBREAK;\F;\@;

Alan Praysman sent me a nice AutoLISP routine that he wrote that uses a single click to specify the object and the break point. Because it allows object snaps, you can pick the right point easily. Download the file (zipped).

 

Use Quick Select to select objects in your AutoCAD drawing

The Quick Select dialog box is a simple filtering device that helps you select the objects you want. For more advanced filters and for when you want to save filters, use the FILTER command.

There are 4 ways to open Quick Select in AutoCAD:qs

  • Home tab> Utilities panel>Quick Select
  • With no command active, right-click in the drawing area and choose Quick Select
  • Click the Quick Select button in the Properties palette
  • Type qselect on the command line.

There are many ways to simplify your selection with Quick Select function. Using the sample drawing below, I will demonstrate how to use this function to easily select a certain type of object with particular perimeter, in this case, to select all the circles with radius of 750

So open the Quick Select tool using one of the 4 methods described above then follow this steps

  1. Under object type, select circle
  2. For properties, select Radius. Note: you can see here all the perimeters that you can use to define your selection.
  3. Under value, key in 750 then click OK

And there you go, with these simple steps, you now have successfully selected all the cicle with radius of 750 in this drawing.

Tom has posted a question below that I feel may help our readers:

Q: Hi Ellen, I’m trying to erase a bunch of tiny circles and don’t want to pick them 1 by 1. I thought of selection sets, but I’m not too familiar with using them. Right then, I got your email newsletter, hence, this post.
I get how to create a selection set with qselect, but how do I do something with the selection set? Do I need to name and recall it? Thanks for your help.

A: You can use the P (Previous) option in the next command’s Select object: prompt. This picks up the previous selection set. Or, if the objects are still selected, just start the ERASE command to apply it to the selected objects.

How do you use the Quick Select feature? Or do you have other methods of creating filters for selecting objects? Leave a comment!

I also have a tip on how to find out how many insertions of a specific block are in your drawing. Read the comments, too, because readers came up with a couple of additional methods.

Clean your screen with AutoCAD’s Clean Screen feature

A viewer asked:

I have lost my menus such as draw, render, etc. Everything that would allow me to copy, move, trim etc. I don’t have anything that will allow me to enter commands. Also my menu bar ie. file, window, help. The command line at the bottom of the drawing is also gone.

Since I didn’t see the viewer’s screen, I can’t be sure what happened. Maybe his menu was unloaded. (In that case, try the MENULOAD command.) But it could also describe the Clean Screen feature–although Clean Screen keeps the command line.

The Clean Screen feature in AutoCAD hides as much as possible of your screen, giving you maximum room for drawing. It doesn’t turn everything off on your screen, but almost everything. Here’s what’s left:

  • Status bar
  • Menu bar (if you have it displayed)
  • Command line

Here’s what my screen looks like with Clean Screen on.

autocad-tips-clean-the-screen-1

Clean Screen is great for keyboard jockeys who like to type in commands and aliases. (“We don’t need no stinkin’ ribbon!” to paraphrase “The Treasure of the Sierra Madre.”)

To turn on Clean Screen, click the Clean Screen button at the right end of the status bar (it looks like a box) or press Ctrl + 0. Repeat the process to turn Clean Screen off. The actual command names are CLEANSCREENON and CLEANSCREENOFF.

Do you use Clean Screen? Why or why not?

Want more productivity tips like this? You can draw and edit faster and easier with this easy to follow top 25 productivity tips every AutoCAD user should know.

Draw a circle centered in a rectangle

It’s common to need to place a circle in the middle of a rectangle, especially in mechanical drawings. It’s easy to do using object snap tracking.

Object snap tracking tracks the coordinates on object snaps and for this task, you need to track the midpoint of the rectangle’s sides. Here are the steps:

  1. Make sure that the Object Snap Tracking button on the status bar is on, or press F11.
  2. Make sure the midpoint object snap is on or press F3.
  3. Right-click the Object Snap button on the status bar and choose Midpoint, if it isn’t already highlighted.  This sets a running object snap for midpoints.
  4. Draw a rectangle (RECTANG command).
  5. Start the CIRCLE command.
  6. At the Specify center point for circle or [3P/2P/Ttr (tan tan radius)]: prompt, pass the cursor over one midpoint of a rectangle side until you see it marked. This is called acquiring the object snap.
  7. Move the cursor toward the center of the rectangle and then pass the cursor over a rectangle side that is perpendicular to the first side, to acquire that sides midpoint.
  8. Move the cursor toward the center of the rectangle until you see the tracking lines from both midpoints cross each other at the rectangle’s center.
  9. Click to specify the circle’s center.
  10. At the Specify radius of circle or [Diameter]:  prompt, specify the circle’s radius.

Watch the video to see how it’s done!

One of our  readers, Andrew, mentions another good method, using Mid between 2 points Osnap, to achieve the same thing:
  1. Draw your rectangle.
  2. Start the circle command.
  3. + right click.
  4. Choose Mid between 2 Points.
  5. Turn on osnap if it is not already on. (need either mid point snap or end point)
  6. Choose the mid point on two opposite sides or two of the opposite corners.

How do you use object snap tracking?