J
|
|||||||||||||||||||||||||||||
|
AutoCAD Tips BlogJune 23, 2008 July 2008 Resource of the Month - Cadopolis June 21, 2008 AutoCAD 2009 and AutoCAD LT 2009 Bible published!
If you're planning to upgrade to AutoCAD 2009 or AutoCAD LT 2009, and will use the new ribbon and menu browser, you really need this book to avoid wasting lots of time trying to find your favorite commands! Find out how much easier it is to switch between drawings with the new Quick View feature. June 21, 2008 Do you need to know which objects are on which layers? Count your layers? Hide objects on other layers? Layer Walk (the LAYWALK) command does all this and more. It was once part of Express Tools, but has become part of core AutoCAD. Layer Walk is quite a powerhouse and pulls together capabilities from several other commands into one dialog box. You can access it by choosing Format> Layers> Layer Walk. In AutoCAD 2009, go to Home tab> Layers panel (expanded)> Layer Walk. Of course, you can just type laywalk. The LayerWalk dialog box opens.
As you can see, you get an immediate list of all of your layers, plus a layer count. In the text box/drop-down list at the top, you can enter a wildcard and press Enter to filter the layer list. If you have saved filters, you can choose one from the drop-down list. By entering t*, I can display only layers starting with the letter "t." I can easily display all of the layers again, by unchecking the Filter check box to the right.
The best feature is that you can click any layer on the list to display only objects on that layer, hiding everything else. For example, I can easily click the 0 layer and make sure that nothing is on that layer, if my CAD standards say nothing should be on layer 0. Here you see the hatch layer selected, so only the hatches appear. You can select multiple layers using the usual techniques of Ctrl+click to select additional individual layers, or click, then Shift+click to select contiguous groups of layers.
With any layer or layers selected, you can right-click in the dialog box and choose Invert Selection to display the other layers and hide the selected layers. If you select a layer that has no objects on it, you can click the Purge button to purge the layer. Right-click and choose Inspect to display the Inspect dialog box, which shows you the total layers in the drawing, the selected layers, and the objects on those layers.
By default, the Restore on Exit check box is checked, which returns you to your previous display when you close the dialog box. However, you can uncheck that check box to turn off undisplayed layers after you close. All-in-all, a nice multi-purpose tool for managing your layers.
June 17, 2008 Tutorial: Draw a 3D threaded bolt A common, but difficult task, is to create a threaded bolt. I recently got a request for more 3D tutorials, so here you go. This tutorial assumes an intermediate knowledge of AutoCAD. I rummaged around a box of miscellaneous junk and found this bolt. You can see that it's about 3 inches long. Follow these steps:
Note: Close the polyline ensures that you'll get a solid rather than a surface when you revolve. You'll need the solid for later operations, such as UNION.
Here's the result with the Framing Steel material. I expected it to be silver but it came out coppery. It looked so good that I left it.
For an excellent set of 3D tutorials, go to JD Mather's site.
June 10, 2008 How to stay up to date with AutoCAD AutoCAD is a complex program and it's crucial for your work. Obviously, the better you know how to use the program, the quicker and more accurate your drawings will be. This is where the importance of education comes in. Education has two parts:
Some organizations upgrade only every few years. I sometimes get e-mails from people who are upgrading from R14 to R2008! But many upgrade every two or three years, which means that education is a regular feature of the job. Autodesk has a subscription program in which you pay an annual fee and automatically get every new release. Additional benefits are "extensions" (new features released between major releases), e-learning tools, and Web-based support. While companies on the subscription program get each release as it comes out, they don't necessarily install and use it. But they generally upgrade more often than companies not on the subscription program. Even with the e-learning tools, retraining becomes a feature of life. How can you learn as much as possible about AutoCAD and also keep up with new releases? Basic learning resources When you first learn AutoCAD, it may be from your dealer, from a book, or from on-the-job training. But it's never enough. Why?
Here are some resources when you need to learn a new feature, answer a thorny question, or just find a better way:
Updating your skills There are several things you can do to specifically help you with new releases. Most of these are time-dependent, matching the cycle of the new software:
Succeeding in the AutoCAD world means being a perpetual learner. Hopefully, this list will help you find the best learning tools.
May 27, 2008 June 2008 Resource of the Month - Novedge Pulse Latest News May 27, 2008 Temporarily override object snap settings Object snap settings let you quickly choose geometric points on an object. For example, you can set up a running (ongoing) Endpoint object snap (osnap, for short), so that whenever you get near the endpoint of an object, you can snap to it. But sometimes, object snaps get in the way, especially if you want to specify a point near, but not on, an object snap. Temporary overrides are very helpful, because you can turn off the running osnap just for a second, while you finish your task. Temporary overrides require you to press and hold a key, or key combination. As long as you hold down the keys, the override works. As soon as you release the keys, your running osnaps are back again. Here are the temporary overrides:
Note that each override has a left-handed and a right-handed option. If you use your right hand for the mouse (as I do, even though I'm left-handed), use the first option. Print these out and attach them to the wall or a nearby bulletin board! May 19, 2008 Save layouts with layout templates When you create a layout, including viewports, a title block, text, and so on, you can save it as a template to use in the future. If you would sometimes like to use a layout from a different drawing, one that isn't included in your drawing's template, and therefore not available to you in your drawing, then the LAYOUT command is ideal. You can specially save a layout as a template, or you can use a layout from any existing drawing or template. What's special about using templates in this way is that you get only the layout and its objects, layers, and settings; you don't import any model space objects, block definitions, layers, and so on. So it's a clean way to use existing layout in your current drawing and you don't need to purge unwanted definitions. Save a layout template First, name the layout tab, because a name of Layout1 won't be very helpful. When you create a unique layout that you might want to use at another time, enter layout on the command line. At the prompt, use the SAveas option, and enter the name of the layout. Enter layout option [Copy/Delete/New/Template/Rename/SAveas/Set/?] <set>: sa Use a template layout To use a template layout, right-click a layout tab, and choose From Template.
In the Select Template from File dialog box, choose the template that you want and click Open. In the Insert Layout(s) dialog box that opens, choose the layout that you want, and click OK. AutoCAD creates a new tab with the same name, settings, and objects as the source layout.
Note: You can choose any drawing file, not only a template. Note: If the viewport layers are frozen in the template or other drawing, they'll come in to your drawing frozen. May 10, 2008 Tutorial: Add a button to the ribbon in AutoCAD 2009 Customizing the ribbon is similar to customizing a toolbar, but you need to be aware of the special structure of the ribbon. For some basics on using the Customize User Interface dialog box, see my earlier tip, "Create a custom toolbar in AutoCAD 2006 or later." If you're interested in creating custom commands, also see "Tutorial: Create a custom command." This tutorial builds on those skills, but is complete in itself.
Tip: If you display the tab you want to work on and type cui on the command line, you can see that tab as you work-- just move the Customize User Interface dialog box. In fact, if you click the title of the panel you want to work on and click the Pin icon, you can keep even the bottom section open as you work. (Unfortunately, the bottom section collapses when you click Apply.)
Note: One new concept is the sub-panel. Sub-panels are a way of comparmentalizing commands for layout purposes. On the Draw-2D panel, there's a sub-panel after the LINE command to separate that command from the rest. Also, each panel comes with a panel separator. Rows below the panel separator don't show until you click the panel name; they're in the lower, expanded section. Caution: Remember to back up your original menu file in case you make a mistake! The file is acad.cui. The location may vary, so use the OPTIONS command and click the Files tab. Open the Customization Files item to find the location. When you find the file, use Windows Explorer to back it up. Another option is to use Windows Explorer to make a copy first, rename the copy, and load the copy. Use the CUILOAD command to first unload the main acad.cui file, then browse to your copy and load that.
Note: The panel preview at the upper-left corner of the dialog box isn't completely accurate, so don't rely on it completely. For example, my preview showed the LINE command with a large icon, but it shows as a standard-sized icon on my ribbon. You can set the size in the Properties panel.
April 27, 2008 April 2008 Resource of the Month - CADwire.net April 21, 2008 Convert text to Mtext and vice versaText, also called single-line text, or Dtext, makes every line a separate object. It's great for short annotation in a drawing. On the other hand, Mtext, also called multiline text, has more formatting options, and is better for larger amounts of text. Mtext is especially important if you need to create left and right margins and wrap the text between those margins. Sometimes, you have single-line text that should be multiline text, or vice versa. Here are two simple ways to convert between the two types of text. From text to Mtext To convert from text to Mtext, use the Express Tools command TXT2MTXT. Choose Express> Text> Convert Text to Mtext. (In AutoCAD 2009, click the Menu Browser first.) At the Select objects: prompt, select the text objects that you want to convert. If you press Enter instead, you get the Text to MText Options dialog box. Set the options as you want and press OK. By default, the command sorts from the top object downward, and tries to word wrap the Mtext that it creates. One nice feature of the command is that if you select text objects first, the command executes without further input -- very efficient! Another efficient feature is that the command does a true conversion; your old text objects are gone. From Mtext to text The easiest way that I found to convert Mtext to text is simply to copy and paste. Double-click the Mtext to open the Mtext editor. Select the text and copy to the clipboard. Then close the editor. Start the DTEXT or TEXT command. Specify the start point, height and rotation angle as usual. You'll then see a small box and cursor. Paste from the clipboard and press Enter to end the command. You'll then need to delete your Mtext object. Jimmy Bergmark reminded me that you can simply explode the Mtext. The difference is that you'll keep the line wrapping. It all depends on which result you want. A bonus is that you don't have to delete the original object. April 18, 2008, Record macros with the Action Recorder In AutoCAD 2009, you can record macros for later use. This is a long-requested time saver. You can include requests for user input and messages to make the macro work interactively. When you save a macro, it has an ACTM filename extension. You'll find it in your Support\Actions folder of your AutoCAD installation. You can share ACTM files with others. Start by thinking about the conditions that you'll need when you run the macro. Will you be in model space or paper space? The macro doesn't keep track of all of the current settings. If a certain setting is necessary, use the system variable or the SETVAR command while recording the macro to make sure that you have the setup you'll need at playback time. Action Recorder macros have some limitations:
You may find other limitations. You'll find the Action Recorder on the Tools tab, in the Action Recorder panel. You can also choose Menu Browser (the A button)> Tools> Action Recorder.
Here's an example of how you would create a macro to change all objects to the default 0.25mm lineweight. You might get drawings from a company that adds lineweights to objects. Moreover, their default might be different. So this macro sets the default to 0.25, turns on the display of lineweights, and then uses the CHPROP command to change the lineweight of selected objects to the default. At the end, the macro turns off lineweight display.
Figuring out which commands to use often involves some research. For example, I knew that I could turn the lineweight display off and on using the button on the status bar, but I couldn't do that in the macro, since I didn't know which way the display would be when I played back the macro. If I wanted to turn the display on, and it was already on, clicking the button would turn it off! So I needed to find the system variable involved, which was LWDEFAULT. Then, it was easy to turn it on and off as needed. When you've figured out the steps that you want to take, and tried them out a couple of times in different situations, you're ready to record. Choose Tools tab> Action Recorder panel> Record. Your cursor now has a red dot, to show you that you're recording.
Go through the steps that you practiced. When you're done. click the Stop button that has replaced the Record button. You now have the opportunity to name and save the macro, as well as choose a few options.
Here is the command line that I created as I recorded:
Because I specified all at the Select objects: prompt, the macro will always select all objects. I tested that by adding more objects with a non-default lineweight; they were also changed. Here's what the macro looks like in the Action Recorder drop-down window:
I might want to be able to select individual objects. Letting the user select objects makes the macro interactive, and it's a very helpful feature. To do this, I reorganized the macro and used the SELECT command before the CHPROP command. While recording, I simply picked any objects. For the CHPROP command, I then used the p (Previous) option at the Select objects: prompt. When I was done, the macro looked like this:
Then I right-clicked the Select Objects item, and chose Request User Input, as shown below:
When I ran the macro, I got a dialog box asking if I wanted to provide user input. By accepting that option, I was able to either select objects, or enter all. If you have a useful macro that you recorded, I'd like to hear about it. Contact me, and attach the ACTM file. If I can successfully use it and it might be useful for others, I'll publish it (giving credit to you, of course). April 6, 2008 Tutorial: Create a simple sheet set Architects use sheet sets all of the time to pull together the many required drawings into one package. Other disciplines use them less often, but if you need to deliver a number of drawings together, they can help you organize and maintain them. Sheet sets have a reputation for being complicated and they are, if you use all of the features. But you can create a simple sheet set easily and you may find that they help you out a lot. For example, you can do the following with a sheet set:
A sheet set is a DST file that contains the properties of the sheet set. You start with drawings that have model space content; these are your resource drawings. One layout for each drawing becomes the sheet in the sheet set. Therefore, a sheet set is a collection of layouts, one for each drawing. Follow these steps to create a simple sheet set:
Throughout these steps, you'll see various settings that I didn't mention. Investigate them to get the exact results that you want. To specify properties for the entire sheet set, right-click its name on the Sheet List tab and choose Properties. The advanced features of sheet sets help you to automatically number and annotate text in title blocks, callout blocks, and label blocks. March 26, 2008 My site has so many tips on it now, that I'm aware of the fact that they can be hard to find. Don't forget that the Tips menu has a Search box where you can search for tips that meet your needs. Another way to discover new tips is to find out what other people are looking at. Here are the top 3 tips from February, 2008:
March 2008 Resource of the Month - CAD-Manager.com CAD-Manager.com is the Web site of Robert Green, the well-known writer of the CAD Manager column in Cadalyst magazine. He's also a consultant and an author. His site has easy links to his excellent articles, code examples, CUI (customize user interface) tutorials, and more. March 24, 2008 Another Break Objects Quickly AutoLISP routine In my earlier "Break objects quickly" tip, I have 4 routines that help you break objects more quickly than the standard AutoCAD command. Febien Mosen sent me another routine, SCISSORS, that has 3 features:
I tested it, and it worked fine for me. You can download the AutoLISP file here. Here's the code: (defun C:SCISSORS( / pt1 bpt1 bpt2 ss1 dist1 ent1 centrecercle) ;;first, get the breaking point ;;now, check if there's more than one object under that point ;;if there's more than 1 object under point, ask to select, else use existing point ;;but if it's a circle (thus usually unbreakable)... ;;restore cmdecho ;;--- this function makes a selection set of entities beneath a point March 16, 2008 Putting an AutoCAD drawing in a PowerPoint presentationYou can put an AutoCAD drawing -- in DWF format -- directly into PowerPoint. Not just a JPEG or other image of the drawing, but the actual drawing. More incredible, with Autodesk® Design Review (which was previously Autodesk DWF Viewer -- they change the name almost every year), you can zoom in and out and pan around the drawing to show all of the drawing in detail, all from within your PowerPoint presentation. To get the latest version, go to www.autodesk.com/designreview. These instructions are updated for AutoCAD 2008 and PowerPoint 2007. The instructions are quite different, because PowerPoint 2007 requires a different procedure. Here are the steps:
From the toolbar, you can zoom, pan, print, mark up, and measure. Click the Show/Hide Navigator button on the toolbar to display the Navigator, where you can turn layers on and off (if this feature has been enabled), display named views, and more. You can also right-click to use the shortcut menu for many tasks .Other options may be available depending on how the drawing was saved. This makes for a very nice presentation, zooming in and panning to show the drawing in detail. It's certainly more than you can do with a JPEG. Remember that you can create multi-page DWF files, so that you can actually show multiple drawings from one slide. You can also create 3D DWFs. For instructions on creating a DWF file, see "Tutorial: Create a DWF file."
March 10, 2008 The new features of AutoCAD 2009 have now been made public and I've reviewed them in detail, with screen shots and a couple of movies. Read all about it! March 8, 2008 Extend lines to make corners with chamfer The CHAMFER command makes mitered (angled) corners, like the one below.
However, you can also use the CHAMFER command to extend lines to meet and make right-angled corners. In other words, you can use the command to turn the situation on the left to the situation on the right.
You do this by setting the Distance and Angle options to zero. When you start the command, it lists the current settings: Command: chamfer In this example the Distance option (which shows as Length) is 1 unit, and the angle is 45°. To create a square corner, use the Distance option and set both distances to 0 (you can specify a chamfer with two distances, rather than with a distance and an angle). Then use the Angle option and set its value to 0. Then select both lines near their endpoints to get a square corner. But that's a lot of setting. Instead, you can quickly and temporarily override any non-zero settings by selecting the first line, and then pressing Shift as you select the second line. Presto! Instant square corners. You could also use the EXTEND command (or the TRIM command with the Shift key), but the CHAMFER command is faster. February 29, 2008 February 2008 Resource of the month - Rockmaster's CAD Resources February 28, 2008 Write blocks to save them as separate files When you create a block in a drawing, you should think if it will be useful in other drawings. You can access that block from other drawings using the DesignCenter, but you'll probably need to remember where the block was, in order to find it. Instead, many people create block libraries, putting several blocks in a special block library drawing, or putting each block in a separate drawing. Because you name and store these drawings specially to make them easy to find and identify, the blocks they contain are easier to find. For example, you may have a folder named Blocks. And you could name a drawing with a double-hung window block in it Double-Hung Window. That certainly helps you to find it! To save a block in your drawing as a separate file, you use the WBLOCK command. This is called writing (saving) the block. Follow these steps: February 28, 2008 AutoCAD Tutorial: Display a lost custom toolbar When you create a custom toolbar that you use regularly, you may accidentally close it and then not be sure how to open it again. Jay had this experience after using my tip "Create a custom toolbar in AutoCAD 2006 or later." He wrote, "Thanks for the "Create a custom toolbar in ACAD 2006" article... It was very easy to follow and I created a very helpful toolbar with my favorite commands. I have come to depend on it after about a week. I accidentally closed the toolbar and now I can't figure how to reload it..." There are two methods. The first is to... February 28, 2008 Keyboard shortcuts can make your work go much faster. You can use the default keyboard shortcuts and create your own. Here are the defaults that come with AutoCAD... January 31, 2008 January 2008 Resource of the Month - AutoCAD Advice January 27, 2008 Copying objects from one drawing to another is a common task. You can use the Windows Clipboard and the drag-and-drop methods. When working with 2 drawings open, choose Window> Tile Vertically (or Horizontally) to view both drawings at the same time. Use the Windows Clipboard to copy objects between drawings Most people know that they can copy objects in a drawing to the Windows Clipboard and then paste those objects in another drawing. But there are a couple of tricks to this process that can make your work go more quickly and provide more accurate results. Of course, you can use the common Windows keyboard shortcuts:
When you use the simple copy-and-paste procedure, you don't have much control over the placement of your object in the second drawing. That's because this process uses the lower-left corner of the extents of the object as the base point, which may not be useful. For example, here you see this process with a circle.
As you can see, the base point isn't on the circle, making it difficult to place the circle accurately. Therefore, AutoCAD provides you with 2 special tools for copying and pasting. The first is Copy with Basepoint. Follow these steps:
Here, the base point was set to the center of the circle.
The 2nd tool is Paste to Original Coordinates. If you have two drawings that are very similar, you can use this feature to place the object at the same coordinates as in the original drawing. Just copy the object(s) to the Clipboard, and activate the 2nd drawing. Then right-click and choose Paste to Original Coordinates.
If those coordinates are not in the current display, do a Zoom Extents to see the pasted object. Use drag-and-drop to copy objects between drawings Drag-and-drop doesn't give you the same control over placement, but it's a quick way to copy objects. Note that AutoCAD automatically copies objects from drawing to drawing, so that you don't need to press Ctrl as you drag. To copy, select the object or objects. Then click the object and hold down the mouse button until you see the drag-and-drop cursor. The only gotcha is that you need to make sure that you don't click on a grip, because that will just make the grip hot.
Then drag the cursor to the other drawing and release the mouse button to place the object. You'll probably need to adjust the placement, using the MOVE command, or by using grip-editing. January 14, 2008 A DWF file is a vector image format that you can use to share your designs with others, without sending the actual drawing. You might do this to share your designs without revealing the details, or to send them to people without AutoCAD. The recipients use Autodesk Design Review to view the DWF file. Autodesk Design Review is a free download, available from www.autodesk.com/designreview. Follow these steps to create a DWF file:
To view the file, you should be able to double-click it. Autodesk Design Review is installed with AutoCAD automatically. If not, you can find it in your Program Files\Autodesk folder.
|
|
|
||||||||||||||||||||||||||
Home | AutoCAD | PowerPoint | E-Store
| About | Links | Contact | Site Map
|
|||||||||||||||||||||||||||||