Cadalyst - October 2008 - (Page 46) hottipharry By Bill Kramer Tip or Treat? This month’s goodies include a utility to annotate profile data. T rick or treat? Harry was in a good mood. From the briefcase tucked neatly under his coat, he produced a laptop full of tricks and treats ready for download from Cadalyst’s new and powerful CAD Tips site (www.cadalyst.com/cadtips). (Just use the tip numbers below for the fastest way to search for a tip!) His grin grew into a big smile as he talked about this month’s really neat selection-set manipulations and expert drawing tools. Tip 3014: Fix Pointing Leaders Fix Pointing Leaders from Phil Tingley provides a set of tools to ease the work of fixing leaders pointing at holes that have been moved. Two command functions are included in the tip: FL (fix leader) and EL (edit leader). After loading the LISP code, type FL at the AutoCAD Command prompt to move the tip of the leader to point at a hole or endpoint. Use EL to add another vertex into the leader string. Tip 3012: Maintain Selection Sets to Copy Ronald Maneja sent in an interesting set of functions that allow you to maintain multiple selection sets ready to copy. In Maintain Selection Sets to Copy, the command functions Q1, Q2, and Q3 operate like the Copy command. The first time you run one of the Q functions, you are asked to define a selection set of entity picks to be used in a Copy command. The next time you run the same Q function, the previous selection set is automatically selected for the Copy command. To clear the set, type RQ1, RQ2, or RQ3 respectively. This routine uses the global symbols SS1, SS2, and SS3 to house the selection sets and PTS1, PTS2, and PTS3 for the points, meaning they could interfere with existing programs in your system. Harry recommends that you change these common symbol names to something more cryptic. Tip 3015: Calculate Excavation Area Volume Theodorus Winata sent in Calculate Excavation Area Volume. This tip determines the volume of closed excavation areas using a depth you supply, then annotates the drawing with the calculated information. Two sample drawings are included. Load either the metric or Imperial drawing and the VOL.LSP file. Type Vol at the AutoCAD Command line and follow along in the dialog box to create the text annotations. Tip 3016: Subdivide Lot into Equal Areas Subdivide Lot into Equal Areas from Noel Gemilga divides a subdivision lot into equal areas. This tip continues the theme of an expert drawing system by automating tedious work. Take a look at the included JPEG image for a better understanding of this tool. Start with a simple lot layout, and this routine will divide it into equal areas following a generally horizontal route through the area. When you’ve defined a basic lot, draw an Xline through it, then load the LISP code. Type AS at the AutoCAD Command line to activate the utility and follow the prompts. Tip 3013: Manipulate a Selection Set In his second tip of the month, Manipulate a Selection Set, Maneja demonstrates how to manipulate a selection set by creating a temporary red box around the limits of the combined entities. Load the LISP code and type BBS to try it out. After you specify the selection set, a red box will highlight the limits of the entities selected. Programmers will find this tip a handy example to learn from when investigating how to manipulate a selection set and how to find the limits of the set so the screen can be adjusted. The screen adjustment may be needed if your application will be adjusting the entities using AutoCAD edit commands inside LISP code. Tip 3017: Annotate Profile Data Pedro Ferreira submitted this month’s top tip, Annotate Profile Data, which is an expert annotation system for profile data. A sample drawing shows how this system works and how you can adapt it to your own requirements. Open the drawing and load the LISP code that comes with it. Type AP to get it started and answer a couple of prompts with information from the drawing. The rest is automatic. This example employs the Visual LISP enhancements and is a wonderful productivity tool for civil engineers. Cadalyst contributing editor Bill Kramer has been programming AutoCAD solutions, writing magazine articles and books, and teaching CAD/CAM/CAE customization for more than 20 years. Bill wrote the first article about AutoLISP in Cadalyst back in 1986. Get the Code! Download Harry’s code at Cadalyst’s new CAD Tips site, www.cadalyst.com/cadtips. Search for the tip of your choice by tip number or keyword. Downloads are free, provided as is without warranty or support. Tips included in “Hot Tip Harry” are tested with AutoCAD 2008, unless otherwise noted. Review tip submission guidelines at www.cadalyst.com/tips, then submit your AutoCAD tip to harry@cadalyst.com. Authors of all published tips will receive a Cadalyst T-shirt. The author of Harry’s Top Tip each month will win a $100 cash prize, and all published authors will be entered in the Hot Tip Harry 2008 Hot Code Contest random drawing for a chance to win a trip to Autodesk University 2008. 46 www.cadalyst.com cadalyst October 2008 www.cadalyst.com cadalyst August http://www.cadalyst.com/cadtips http://www.cadalyst.com/cadtips http://www.cadalyst.com/tips http://www.cadalyst.com
Table of Contents Feed for the Digital Edition of Cadalyst - October 2008 Cadalyst - October 2008 Contents Editor’s Window Cad Central SimCity for Real Designs Spring to Life — 3D Publishing Tools Make File Sharing as Easy as Opening a Book Xi MTower 2P64X — Dual Quad-Core Workstation ArchiCAD 12 — BIM Software Dell Precision M6300 — High-End Mobile Workstation Cad Manager Mcad Modeling Aec Insight Cad Cartoon Issue Indexes Hot Tip Harry Cadalyst - October 2008 Cadalyst - October 2008 - Cadalyst - October 2008 (Page Cover1) Cadalyst - October 2008 - Cadalyst - October 2008 (Page Cover2) Cadalyst - October 2008 - Contents (Page 3) Cadalyst - October 2008 - Contents (Page 4) Cadalyst - October 2008 - Contents (Page 5) Cadalyst - October 2008 - Editor’s Window (Page 6) Cadalyst - October 2008 - Editor’s Window (Page 7) Cadalyst - October 2008 - Editor’s Window (Page 8) Cadalyst - October 2008 - Editor’s Window (Page 9) Cadalyst - October 2008 - Cad Central (Page 10) Cadalyst - October 2008 - Cad Central (Page 11) Cadalyst - October 2008 - Cad Central (Page 12) Cadalyst - October 2008 - Cad Central (Page 13) Cadalyst - October 2008 - SimCity for Real (Page 14) Cadalyst - October 2008 - SimCity for Real (Page 15) Cadalyst - October 2008 - SimCity for Real (Page 16) Cadalyst - October 2008 - SimCity for Real (Page 17) Cadalyst - October 2008 - Designs Spring to Life — 3D Publishing Tools Make File Sharing as Easy as Opening a Book (Page 18) Cadalyst - October 2008 - Designs Spring to Life — 3D Publishing Tools Make File Sharing as Easy as Opening a Book (Page 19) Cadalyst - October 2008 - Designs Spring to Life — 3D Publishing Tools Make File Sharing as Easy as Opening a Book (Page 20) Cadalyst - October 2008 - Designs Spring to Life — 3D Publishing Tools Make File Sharing as Easy as Opening a Book (Page 21) Cadalyst - October 2008 - Designs Spring to Life — 3D Publishing Tools Make File Sharing as Easy as Opening a Book (Page 22) Cadalyst - October 2008 - Designs Spring to Life — 3D Publishing Tools Make File Sharing as Easy as Opening a Book (Page 23) Cadalyst - October 2008 - Designs Spring to Life — 3D Publishing Tools Make File Sharing as Easy as Opening a Book (Page 24) Cadalyst - October 2008 - Designs Spring to Life — 3D Publishing Tools Make File Sharing as Easy as Opening a Book (Page 25) Cadalyst - October 2008 - Xi MTower 2P64X — Dual Quad-Core Workstation (Page 26) Cadalyst - October 2008 - Xi MTower 2P64X — Dual Quad-Core Workstation (Page 27) Cadalyst - October 2008 - Xi MTower 2P64X — Dual Quad-Core Workstation (Page 28) Cadalyst - October 2008 - ArchiCAD 12 — BIM Software (Page 29) Cadalyst - October 2008 - ArchiCAD 12 — BIM Software (Page 30) Cadalyst - October 2008 - ArchiCAD 12 — BIM Software (Page 31) Cadalyst - October 2008 - ArchiCAD 12 — BIM Software (Page 32) Cadalyst - October 2008 - ArchiCAD 12 — BIM Software (Page 33) Cadalyst - October 2008 - Dell Precision M6300 — High-End Mobile Workstation (Page 34) Cadalyst - October 2008 - Dell Precision M6300 — High-End Mobile Workstation (Page 35) Cadalyst - October 2008 - Cad Manager (Page 36) Cadalyst - October 2008 - Cad Manager (Page 37) Cadalyst - October 2008 - Cad Manager (Page 38) Cadalyst - October 2008 - Mcad Modeling (Page 39) Cadalyst - October 2008 - Mcad Modeling (Page 40) Cadalyst - October 2008 - Aec Insight (Page 41) Cadalyst - October 2008 - Aec Insight (Page 42) Cadalyst - October 2008 - Issue Indexes (Page 43) Cadalyst - October 2008 - Issue Indexes (Page 44) Cadalyst - October 2008 - Issue Indexes (Page 45) Cadalyst - October 2008 - Hot Tip Harry (Page 46) Cadalyst - October 2008 - Hot Tip Harry (Page Cover3) Cadalyst - October 2008 - Hot Tip Harry (Page Cover4)
For optimal viewing of this digital publication, please enable JavaScript and then refresh the page. If you would like to try to load the digital publication without using Flash Player detection, please click here.