. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . .
This Week's Software Tips
Send us your tip, code or shortcut for your favorite CAD software. If we publish it, we'll send you a "Cadalyst: CAD the Way You Want It" T-shirt, and each month Cadalyst editors will randomly select one published tip and send $100 to its author. Please submit only code and other tips that are your original work, or provide the original source so we can include proper credit. By submitting code to Cadalyst, you grant Cadalyst the right to print and distribute your code in print, digitally and by other means. Cadalyst and individual authors retain all rights to the code; published code is not to be used for commercial purposes.
Paper Space Zoom
James Smith asks, "Have you ever zoomed in on your viewports in paper space to double-check a detail and been frustrated with very low resolution on the arcs and circles? If so, just double-click the viewport and type Viewres at the Command line. Specify Y for fast zooms and a circle zoom percentage (default is 100; I recommend 2000), then press Enter. Do this for each viewport that you have in paper space."
NOTES FROM CADALYST TIP PATROL: Our Patrollers affirm James's advice and send along a bit more information. "The Viewres command can be used in model space and paper space. Per AutoCAD, the higher the Viewres value, the longer it takes to regenerate the drawing. The low resolution on-screen doesn't affect the printed resolution if you're creating 2D drawings. With 3D drawings and renderings it may be a concern. If you simply want to modify the current resolution without using the Viewers command, type the command alias REA and press Enter to regenerate all spaces at once."
Patroller Two adds, "This setting is saved in the drawing, so you can set it once in your template drawing(s) and not have to worry about setting it each time."
Use AutoCAD for Graphics
Ken Schumacher reminds fellow users that AutoCAD can be used as a graphics design program. "Graphic design programs such as CorelDRAW and Adobe Photoshop are powerful for compiling reports and editing images, but they can be limiting by their complexity. To my surprise, AutoCAD can process pictures and graphics better than some of these graphic design programs (particularly if using the Image tools). After inserting raster images and creating text within AutoCAD, it has more flexibility. For a final report, I set up one layout (8-1/2" x 11" or 11" x 17") within paper space for each page in the report. It prints faster and incorporates my drawings, and I have one file with my original data within model space. It's easy to edit, and the final product looks the same as what I would get from a graphics program (in my nonprofessional opinion). If the file gets too big, I create another drawing -- one for imag es, one for drawings, etc."
NOTES FROM CADALYST TIP PATROL: One Patroller adds, "Images attached with the Image command are references, and are not embedded in the drawing file. Images pasted in as OLE objects are part of the DWG file."
The second Patroller to review this tip adds some perspective on the subject: "Architects continue to search for a means by which their 2D and 3D drawings can better communicate ideas to potential clients. Graphic design programs with capabilities that differ from AutoCAD have been the solution since they are better suited to enhance presentation drawings with effects such as color, drop shadows and text manipulation."
"The debate about which graphics program to use occurs for a variety of reasons. CorelDraw and Adobe Illustrator are vector-based editing programs. They have more in common with AutoCAD (which is also vector-based) than with Adobe Photoshop, which is raster-based. Honestly, there is no perfect solution. Decisions are made based on the talents of one individual at the firm who can use one program over another at a basic level. Unfortunately, architects do not have time (make time?) to explore the strengths and weaknesses of each program and how it can work best with AutoCAD. Rather, the debate will continue based on subjective solutions rather that objective understanding.
"I agree that AutoCAD can be used as a graphic design program, but remember that AutoCAD is only a 2D vector editing program -- and a good one at that. CorelDRAW and Photoshop may appear to be limiting because they are raster and vector editing programs. Keep in mind that each application is optimized to do specific tasks, so it will prove to be insufficient for tasks outside its intended use. If you use AutoCAD for graphics applications, you'll find file sizes grow quite large, an indication that this is not the forte of the software.
"Using these software systems for unintended applications is the subject of an on-going debate," the Patroller adds, "and until there's a good solution, AutoCAD has made available a beta version of Autodesk Impression, a program created (in response to the migration away from Autodesk products) to address the need for graphic representation of AutoCAD drawings. Impression will be successful, but I don't believe it will eliminate the need to use other programs. Architects will always need to better communicate ideas. In the end, the more programs we have available and the better prepared we are to take advantage of their strengths, the more the architect and client stand to benefit. Some day we'll have a 'perfect marriage' -- but that won't happen until Adobe, Corel and Autodesk start talking with each other about this issue.
"I recommend using each program to take advantage of its respective strengths. I create individual PDF documents from each program, then compile one multipage document for future use. A multipage PDF document can be used to communicate the architect's proposed ideas whether it's for a client meeting, construction documents or project meetings at the site. PDF has become the software of choice for sharing information. Until AutoCAD, CorelDraw and Photoshop reach the same level of domination, PDF is the common platform for file sharing regardless of the programs used to create the necessary text and/or images."
Jeff Rayhorn created a number of script files (SCR) that automate plotting and toolbars for each type of plot, such as D full-size, D half-size, E full-size, E half-size and the like. Here are a couple the toolbars:
He says, "I honestly can't tell you the last time I actually saw the Plot dialog box. These toolbars are even arranged on a master toolbar as flyouts so that we have access to them while taking up a minimum of space."
"The scripts contain all the information needed to plot: CTB file name, sizes, plotter name, scale information, etc. These are really simple and anybody should be able to make their life a little bit easier with them. Download one of the script files as an example."
NOTES FROM CADALYST TIP PATROL: Much like the AutoCAD Plot Macro tip that ran in the December 11, 2006, edition -- that one was a menu macro rather than a script file -- this tip cannot be tested because the SCR file contains references to specific plotters, CTB files and the like. To repeat the previous notes: The important point here is that you can drive the Plot command from the Command line in a script or menu macro. Just walk through the Plot command once by hand at the Command line, writing down the answers to the prompts. Then follow the example posted above, test, fix and repeat for your own plotting macro.
Follow-Up: System Variables Report
Michael E. Beall wrote in with more information about system variables, a topic that was on our discussion plate in the February 12 edition. He says, "Years (and versions) ago, AutoCAD introduced the Vars2scr command that you started from the Command line. It created a script (SCR) file, and it works like a champ. I learned this from Hugh Bathurst, who has since returned to his native Australia.
"Although it's a great asset to reset your own variables if they get all gummed up, use caution, as palette-related variables are also captured in the routine. After capturing the sysvars with Vars2scr, to use it to reset your variables simply open Windows Explorer and drag the SCR file directly into your AutoCAD drawing window, just as you would a LISP program. If you drag a DWG out of Windows Explorer and release it in the drawing window, it inserts it as a block. Release a DWG on the Command line and it opens it in a new window (if your SDI variable is set to 0)."
In addition, Brock Narum finds that not many users use the ZOOMFACTOR setvar, which sets the zoom percentage for the mouse wheel. "Upgrading or changing your mouse may require you to change the ZOOMFACTOR variable. I have noticed many users have this set at the default setting of 60 and have problems zooming either too fast or too slow."
MicroStation Tip: Measure the Total Length of Lines
Question: Is there a way to determine the total length of a larger number of separate lines in a drawing?
Answer: Select all the lines you want to measure with Element Selection or PowerSelector, then use the Measure Length tool. It should tell you the total length of all the elements.
Today's MicroStation tip courtesy of Axiom and MicroStationTips.com.
Tips & Tools Weekly software tips for AutoCAD are reviewed by Cadalyst staff and the Cadalyst Tip Patrol before publication. Use tips at your own discretion, please, and watch later editions of this newsletter for updates and corrections. Many thanks to our volunteer Cadalyst Tip Patrol members: Don Boyer, Mitchell Hirschklau, R.K. McSwain, Don Reichle, Kevin Sawyer, Ivanhoe Tejeda, Billy Wooten and Ben Young.