Archive

Archive for the ‘Workstations’ Category

A CAD Dinosaur’s Journey, Part 11: We’ve Come A Long Way

April 7, 2015 Leave a comment

Editor’s Note: Welcome to Cadalyst’s blog series by Patrick Hughes, A CAD Dinosaur’s Journey into Modern Times.” In this three-month series, Hughes chronicles his transition from AutoCAD R14 to v2015 and from an outdated PC to a state-of-the-art professional workstation. Follow along and enjoy!

Go Big or Go HomeHardware Hero

Even dinosaurs need to upgrade their computers once in a while. When I started my business in 1991, I chose to buy the most powerful, yet affordable desktop computer possible. Shopping around the local computer stores I settled on a gleaming Intel 486 equipped with a 17” color monitor. It’s almost embarrassing to remember that the price tag was nearly $4,000 back then, but this Dino was ready to work on CAD with the best of them.

Every 4 years or so, hardware technology growth justified an upgrade. Along with the hardware, now and then I also updated my software, that is until I chose to stick with AutoCAD Release 14 for an extended period. In hindsight, that may not have been one of my more astute decisions.

But now with AutoCAD 2015 running at my claw tips on a powerful workstation awarded to me for winning the Cadalyst video contest, this T-Rex is getting all he could wish for.

Powered by an Intel Xeon six-core processor and 32 GB of memory, this workhorse has not left me wanting. Coupled with a 3 GB NVIDIA Quadro K4000, I added a second 23” monitor (which is how I keep my many AutoCAD tool palettes and windows open). I haven’t had any performance issues to speak of. The only sound this machine makes is a pleasing whoosh of the fan on start up. The rest of the day this old Dino can concentrate on my design work without any computer noise in the background.

Tireless Tools

In the right-hand screenshot below you’ll see the Autodesk SEEK Design Center, a new tool I now enjoy. Design Center has been around awhile and you are probably familiar with it. I find it not only useful to insert content from my parts library, but I can also insert blocks from other drawings without opening them. A right-click on a block in a drawing gives you options to insert and redefine the blocks, open in the block editor, or create a Tool Palette. Once created, you can drag and drop additional blocks into the palette. Rawrrr!

AutoCAD SEEK Design Center

AutoCAD’s SEEK Design Center (right) offers tools that let you import objects and more into a current drawing (left).

Blocks are not the only objects that you can easily import from existing drawings, there is a whole slew of items ranging from Textstyles to Layouts, Layers, or Dimstyles to name a few. I mostly use it for blocks because my text styles are already set in my templates.

In an earlier article I mentioned the calculator that you also see in the screen capture. I find it especially useful to avoid errors in numeric entry from calculations. I’m a bit of a stickler for precision and often carry out decimals to 6 digits. The calculator lets me easily paste the calculated value after making the calculation. Any errant keystroke when dyslexia strikes is no longer a worry, well, as long as I don’t enter things wrong in the calculator.

You might also notice the status bar includes a bit of custom diesel code displaying a few items that I long ago decided were valuable. I appreciate that AutoCAD has kept so much of its legacy programmability. But, with that, you can also see that I’m still not using some of the newer tools such as dynamic input and other aids. I keep experimenting with new ones, but many times my old Dino ways seem to get the better of me.

Rawrrr!

In closing, I doubt this constant progression of more powerful computing will end. There are times when you must update and when you do, you should reach for the stars and equip yourself with something that will not just do an adequate job now but will handle future demands as well. How about that? Here’s an old dinosaur offering up advice about planning for the future — what has this world come to?

_________________

About the author: Patrick Hughes, machine designer and owner of Engineered Design Solutions in Rockford, Illinois, has worked with AutoCAD since 1991. He has developed a number of AutoLISP and other software solutions to automate his workflow and increase productivity, including the commercially available time tracking program, CadTempo.

A CAD Dinosaur’s Journey, Part 10: There’s An Array of Hope!

March 31, 2015 Leave a comment

Editor’s Note: Welcome to Cadalyst’s blog series by Patrick Hughes, A CAD Dinosaur’s Journey into Modern Times.” In this three-month series, Hughes chronicles his transition from AutoCAD R14 to v2015 and from an outdated PC to a state-of-the-art professional workstation. Follow along and enjoy!

AutoCAD ArraysAs I continue my quest to conquer AutoCAD 2015 and become a thoroughly modern Dinosaur, onto the scene comes AutoCAD 2016. I must leave its study and review to more capable AutoCAD experts, of which there are many. As it is, my tiny arms are full at the moment and I’m having too much fun with AutoCAD 2015.

I am amazed that I can use these new features as I learn them, including commands that I’ve used before somewhat infrequently. For example, I was able to put the Array command (new in AutoCAD 2012) to good use on a current project.

I’ve used the polar array, so I’m familiar with its associative capabilities. However, I’ve only adjusted the number of items or modified a bolt circle diameter. After I played around with some of the other adjustments, I realized that it is a powerful tool.

While designing a small machine for a client, one of the components was a good candidate to have multiple pieces cut from a sheet of insulating millboard using a water jet. After researching a supplier, I found stock that measured 39″ square. After arranging a simple nesting pattern, I created my rectangular array. In no time, I laid out an array of 6 rows and 5 columns for a count of 30 items. Looking at the array I realized there was plenty of stock remaining that could be put to good use.

As I scanned the ribbon (which conveniently pops into contextual view after selecting the array), my tiny Dino eyes noticed the Edit Source and the Replace Item buttons. Well, that looked interesting.

AutoCAD 2015 Ribbon

I quickly rearranged my part geometry, creating a slightly different nesting pattern of the part and then clicked Replace Item. It prompted me to select an item to replace, and voilà! Because the original array was formed with the two nested items, I continued to select the other array elements. By picking an arrowed grip, I easily added an additional column and in short order my new array updated. Plus, my part count was increased to 36 items.

Arrays in AutoCAD 2015

After my update, I saw that the overall height and width slightly exceeded the stock size. I knew that a small reduction in the part geometry wouldn’t hurt the part function, so I quickly updated the geometry, ran one more Replace Item sequence, and my Dino toothy grin started to make my scaley face ache.

This tool is great. The outer square grip on the top right lets you quickly add rows and columns as you drag it to a new location or the outer arrowed grips provide individual rows or column additions. The inner arrowed grips adjust the column or row spacing. This all happens while you receive instant visual feedback during the grip dragging.

I can see that I’m going to have to come up with an excuse to make more arrays.

Rawrrr!

In closing, adding associative arrays to my repertoire really adds value to the work I produce. Additionally, my customer reaps the benefit, as in this case where the part count goes from 30 to 36 pieces — a 20% higher yield. It’s likely that I would have optimized the nesting to gain the same higher yield, but it would have taken me a lot longer.

_________________

About the author: Patrick Hughes, machine designer and owner of Engineered Design Solutions in Rockford, Illinois, has worked with AutoCAD since 1991. He has developed a number of AutoLISP and other software solutions to automate his workflow and increase productivity, including the commercially available time tracking program, CadTempo.

A CAD Dinosaur’s Journey, Part 9: Hatching, Layers, and More, Oh My!

March 24, 2015 Leave a comment

Editor’s Note: Welcome to Cadalyst’s blog series by Patrick Hughes, A CAD Dinosaur’s Journey into Modern Times.” In this three-month series, Hughes chronicles his transition from AutoCAD R14 to v2015 and from an outdated PC to a state-of-the-art professional workstation. Follow along and enjoy!

Hatching, Layers, and MoreIt has been quite a while since I’ve done actual work in AutoCAD Release 14. In fact, since I jumped into 2015, I haven’t looked back. For this article I wanted to grab a few screen shots to compare and contrast the two versions. As I opened Release 14, it struck me how quickly it started, but that’s about the only thing I miss. I can live with a longer startup because I’ll typically start AutoCAD and leave it open all day.

Hatch Updates

In Release 14 when you type BHATCH at the command prompt, the following dialog box appears. Once you make your selections and picks, you click on the Preview Hatch button to see the changes.

In the Boundary Hatch dialog box in AutoCAD Release 14, you make your selections and then press Preview to see how it all looks.

In the Boundary Hatch dialog box in AutoCAD Release 14, you make your selections and then press Preview to see how it all looks.

In AutoCAD 2015 when you enter the command, the Ribbon switches to the Hatch Creation tab where you can easily access all of your settings (you can also set HPDLGMODE to 1 to display a dialog box). As you make changes, updates dynamically appear as you make them so there is no need to go back and forth to preview your changes. Rawrrr! This is a definite improvement.

In AutoCAD 2015, updates are made to your hatch patterns as you choose them in the Ribbon (or dialog box).

In AutoCAD 2015, updates are made to your hatch patterns as you choose them in the Ribbon (or dialog box).

But wait, there’s more. In Release 14, once you create your hatch, if and when your underlying geometry changes (you just know it will), you must rebuild your hatch almost from scratch.

So, you think you’re going to grip edit a Release 14 hatch? Nope. Think again, Little Dino.

You cannot grip edit a hatch in AutoCAD Release 14.

You cannot grip edit a hatch in AutoCAD Release 14.

But in AutoCAD 2015, you can.

But in AutoCAD 2015, you can.

What about in an AutoCAD 2015 hatch? Yes, in AutoCAD 2015, you can zoom in to see fine details that can be easily updated by grip editing. Usually hatching updates as you go in AutoCAD 2015, although in this example below, it didn’t. I’ll need to dig deeper to figure out why.

autocad-dinosaur-part9_05

For some reason this hatch didn’t update as I stretched some geometry in AutoCAD 2015 — I’ll need to dig a little deeper to figure out why.

In general, I like that for some modifications I don’t need to recreate the whole hatch. Granted, there may be times when recreating the hatch is the easiest solution if numerous changes are needed.

Oh, before I forget (remember my walnut-sized brain), I also much prefer the more defined solid-filled grips in AutoCAD 2015.

Layer Upon Layer

Layer management has also gone through a great transformation. As I’ve mentioned, I try to keep things simple, but simplicity does have its limitations. In the past, I’ve performed most of my layer operations through the dialog box (or home grown AutoLISP routines) rather than the menu drop down. Here’s the simple Release 14 Layer dialog box:

Release 14's Layer dialog box is fairly simple.

Release 14’s Layer dialog box is fairly simple.

I’ve grown accustomed to keeping the AutoCAD 2015 Layer Properties Manager on screen at all times. It makes quick work out of making adjustments to my layers. Unlike the Release 14 Layers dialog box, AutoCAD 2015 lets you to resize the window.

AutoCAD 2015's Layer Properties dialog box makes it easy to adjust layers.

AutoCAD 2015’s Layer Properties dialog box makes it easy to adjust layers.

More New To This Dinosaur

Oh my! Here’s something new. Transparency — this is handy whenever viewing in Conceptual, my new favorite fancy view style. I noticed under Object Properties (which I also keep on screen) that objects have transparency as well. Normally I set this to BYLAYER, but it’s good to be able to adjust each object independently. Within the Content Manager there is easy access to filtering capabilities which I’ve yet to put to use. I generally use my trusty old AutoLISP routines for filtering, but I can see where I can make good use of these tools, especially when dealing with sub-assemblies.

The Laywalk command (dialog box) has been around since Release 2007, but it’s a new tool to me. This useful tool dynamically displays layers as you select them either individually or as multiples. I’ve used it a number of times and the only drawback with it is that the dialog box must be closed to work with displayed objects. There are numerous new layer tools — I will delve more into them and report back to you once I learn more.

Rawrrr!

In closing, as I work with AutoCAD 2015, I find that I’m able to keep things as simple as I like. However, there are times that when it’s important to make a more professional-looking drawing and it’s good to know I can easily I can do so.

When I first learned to draft on the drawing board as a wee T-Rex, I learned to use lineweights to make the drawing “pop.” Over the years working only on CAD, I’ve let those drafting techniques lapse. It’s time for me to ratchet things up and make my drawings a bit prettier (says the ugliest dinosaur in the room).

_________________

About the author: Patrick Hughes, machine designer and owner of Engineered Design Solutions in Rockford, Illinois, has worked with AutoCAD since 1991. He has developed a number of AutoLISP and other software solutions to automate his workflow and increase productivity, including the commercially available time tracking program, CadTempo.

Expert Interview with Pam Broviak on CAD and Public Works Departments

March 18, 2015 1 comment

Like plenty of other job sectors today, public works departments are being challenged to deliver a wider range of services faster and more efficiently with fewer available dollars and staff, says Pam Broviak, manager of Public Works Group, a portal for public works professionals. “This is why we are most interested in headlines and issues related to anything that offers potential to help us perform within these parameters,” she adds.

These include innovations like driverless vehicles; tools that allow them to better capture, analyze and maintain data and information such as GIS/CAD/LIDAR and other 3D technologies; and hardware that leverages these tools such as headsets and smart screens, phones, and tablets and even smart construction equipment.

Broviak recently checked in with Cadalyst to share more about the technology her audience is most excited about, as well as developments they hope to see in CAD in the coming years. Here’s what she had to say:

Tell us about Public Works Group.

Public Works Group was launched in February 2007 as an online resource for public works professionals because we had started to realize online tools and technology in our field had advanced significantly in a very short amount of time. And we knew this was only the beginning. Today, we face continued and rapid change while still trying to catch up with an aging infrastructure and keep up with a new and dynamic workforce. So we wanted to find a way to explore these tools and help ourselves and others keep up with the changes. And we wanted to figure out how all of this fits into everything else we do.

By creating a group and offering online resources, we were able to begin documenting what we found and offer this information to others in our field. Our focus over the last eight years has been on 3D technologies, social media, e-learning and online education, interactions with and support of industry vendors, and promotion and support of industry organizations and communities.

Who should be following your site?

Primarily anyone working in the engineering and public works field or who work in government or delivery of any public service, including those who are interested in or whose work is related to these fields. Also, people who are interested in 3D technology and social media and who want to learn how to leverage these tools to enhance the delivery of information and services.

What technological innovations do you think your readers are most excited about these days?

While I would again mention the innovations above and specifically point out those in the following list, I would also add that while these might be exciting, we are part of a very conservative field that at times can be slow to change. So most professionals are very cautious about getting too excited about any of these and are not ready to embrace them just yet.

  • The Google car
  • Google Streetview and Google Earth (these have been around a while but are still viewed in the industry as new and amazingly helpful innovations we regularly use and for which we are very thankful to have. One of the biggest reasons they are so beneficial is because they are free to use and save us a lot of time.)
  • Oculus Rift and other headsets
  • Smart phones/tablets and the availability of apps
  • Smart boards
  • Collaborative tools such as Dropbox and Doodle, and even Google apps and other cloud applications
  • GIS, LIDAR, and other spatial technologies and the open data movement
  • 3D printing on a large and small scale
  • 3D Design and Modeling/Visualizations and automated machine guidance (This is a federal initiative, so there are many resources/info on this topic here.)

How is Public Works Group using CAD today?

The Public Works Group is primarily using CAD to develop online resources to use in 3D or virtual settings and in our educational offerings and courses.

What do you think is the future for how public works departments use CAD?

As engineers and public works professionals, we are most familiar right now with CAD and prefer to develop in that environment. So for preparing plans and traditional deliverables, we will most likely continue to work in that environment for some time.

However, as the other tools mentioned above advance, there could be a turning point as we face an increasing need to integrate our plans and designs with those tools. If CAD companies begin to realize the need to and benefit of integrating their technology with these tools, the use of CAD could increase significantly because it would open up new and more advanced uses of the software. But at least one CAD company has indicated to me they are not interested in pursuing this use of their software. So if that is the case, we will eventually end up only being able to use CAD software from companies that have built this integration into their product, or we will have to look to other tools that are usually not thought of in the industry as traditional CAD such as Blender; or do what some companies are doing now and use yet another software service to produce programs to take CAD plans and translate them into something that can be used by these other tools.

What do you think are the must-haves for CAD workstations for those in public works?

Multiple monitors, wireless hardware such as a keyboard and mouse, a computer set up to meet and sustain high-end graphics and CPU demands (as a side note, the most deficient item I’ve seen on this is having a power supply that can’t keep up), and a network designed to deliver, archive, and back up files and software.

What do you think are the biggest frustrations that those in public works have with their current CAD workstations?

  • Single monitors – some organizations do not allow multiple monitors, which can greatly reduce production and performance
  • Not having input on hardware specifications – many organizations do not consult the users before purchasing hardware, so many workstations cannot deliver the graphics and meet the CPU demands. This results in greatly reducing production because the user has to wait a significant amount of time for graphics to load when using CAD or GIS
  • Not taking into account speed of broadband services when working through a network that is located off-site – this also greatly reduces speed of performance
  • Not having an efficient backup and archiving system designed for easy access to users who need to share the files – this can take up a lot of staff time when files cannot easily be found and retrieved or shared

Connect with Pam Broviak on Twitter and LinkedIn.

A CAD Dinosaur’s Journey, Part 8: Something Old, Something New

March 17, 2015 2 comments

Editor’s Note: Welcome to Cadalyst’s blog series by Patrick Hughes, A CAD Dinosaur’s Journey into Modern Times.” In this three-month series, Hughes chronicles his transition from AutoCAD R14 to v2015 and from an outdated PC to a state-of-the-art professional workstation. Follow along and enjoy!

Dynamic UCS, Dynamic Input, and Dynamic Blocks At some point, the AutoCAD programmers decided to add dynamic functionality to some AutoCAD features. Dynamic UCS, Dynamic Input, and Dynamic Blocks to name a few! When you typed in DYN at the command prompt, you’d see 13 system variables appear! You would think that the word dynamic would appeal to this dino and, to be honest, it does have a nice ring to it.

While I’m trying to like how these features work, I am struggling with dynamic UCS. I’m still trying to understand how it affects some of my customizations. For instance, one function restricts movement to a specific axis. If I want to move objects only in the Y-axis from picked points, it’s supposed to only move on the Y-axis. Sometimes things go wacky and the objects move unexpectedly and the value that is echoed back to the command line shows X or Z values. Perhaps there are other factors, such as Osnaps affecting it. I suppose that I’ll eventually figure it out, but for now I’ll just think of it as a ghost in the machine.

Lost, But Not Forgotten

An old friend of mine is the Blipmode command. As it is now in AutoCAD 2015, it’s a zombie command — it exists, but it’s not as easy to just turn it on. I dug around and discovered that I could redefine it in my ACADDOC.LSP by adding (command “redefine” “blipmode”) to get it working again. I use the little blips as a visual confirmation for pick points, often as a clue to where on the screen I picked for a selection window. If I mistakenly selected a location, I know not to select the same spot again. Now AutoCAD displays a colored window as you begin your selection, blue for contained selection, green for crossing, and a new cool colored Poly Drag mode. Along with enabling selection preview, these can make it easier to select objects. The blips do still come in handy to see that I correctly picked the endpoint of a line or the quadrant of a circle, etc.

 

T (that’s me) loves blips — they can make it easier to select objects.

T (that’s me) loves blips — they can make it easier to select objects.

Another old friend is the Aerial View command. Not many users were familiar with this little tool and I suspect that’s why it was discontinued. Like Blipmode, you can redefine it, but when I did, the viewer did not display the screen graphics in the viewer window. On the other hand, now that I’ve gotten used to AutoCAD 2015, I don’t miss it like I thought I would. Believe it or not, Release 14 did not let you zoom in and out with the mouse wheel. For the most part, that’s how I’m now navigating large drawings. In fact, you should see how muscular my stubby dino finger is.

Side note: Did you notice that the Explode ribbon icon with a stick of dynamite has been replaced with an image of a broken apart cube. Really? Bring back the dynamite image!

New Awesome Tools

So, enough reminiscing of old dead things, what’s new that’s exciting to this old Dinosaur? For one, the right-click menu that pops up when you select an object. My number one favorite tool is the ability to hide objects (Isolate / Hide Objects) which initiates the Hideobjects command (introduced in AutoCAD 2011). Or, you can select to isolate selected objects. If I need to see hidden objects again, it’s just another right click away. Additionally, there are commands that are available from the menu; a list of recently used commands and input, clipboard functions, filters, properties, a powerful integrated calculator. I find the calculator especially useful.

One of my favorite new tools is the menu that comes up when you right-click on an object.

One of my favorite new tools is the menu that comes up when you right-click on an object.

This little brain of mine gets so easily distracted! I was talking about all things dynamic and I planned on talking about another new-to-me AutoCAD feature, dynamic blocks, and how I plan to put them to use. Alas, my time is running out for now, so I must leave that subject for another date.

Rawrrr!

In closing, old habits can be hard to break away from. Although some may still hold value, I continue to be surprised at how much more efficient the new environment can be. In the past, I’ve always thought that customization was key to delivering greater efficiency, but I’m discovering that AutoCAD 2015 has many of the tools I need right at my fingertips — just the ticket someone with tiny arms!

_________________

About the author: Patrick Hughes, machine designer and owner of Engineered Design Solutions in Rockford, Illinois, has worked with AutoCAD since 1991. He has developed a number of AutoLISP and other software solutions to automate his workflow and increase productivity, including the commercially available time tracking program, CadTempo.

A CAD Dinosaur’s Journey, Part 7: Get A Grip! (Editing Solids Made Easy)

March 13, 2015 1 comment

Editor’s Note: Welcome to Cadalyst’s blog series by Patrick Hughes, A CAD Dinosaur’s Journey into Modern Times.” In this three-month series, Hughes chronicles his transition from AutoCAD R14 to v2015 and from an outdated PC to a state-of-the-art professional workstation. Follow along and enjoy!

AutoCAD SolidsAs you know by now I’m a dinosaur. We T-Rexes like to eat meat and I’ve been anxious to sink my teeth into the REAL meat of AutoCAD 2015. I knew there would be plenty of meaty stuff in 2015. I was right, and it’s tasty too.

Lately I’ve been gnawing on AutoCAD’s solid modeling tools and it’s been a treat. Since the early 1990’s, I’ve used AutoCAD for my machine design work using simple wireframes — I preferred to not even use polylines. After a while, I finally committed to solids and began to appreciate the benefits of doing so. I can’t say it was easy. Early versions of AutoCAD right out of the box tended to be a little cumbersome and required some nimble AutoLISP programming.

AutoCAD 2015 comes with two Workspaces for working in 3D: 3D Basics and 3D Modeling. Both 3D Workspaces present a plethora of tools on the ribbon to help you get your work done. Because there are so many new (to this crusty old beast) 3D tools, what I find especially useful are the popup Help topics with graphics that appear whenever you hover over a tool for a slightly extended amount of time (introduced in AutoCAD 2010). These pop-up tool tips are pleasing to this dino’s eyes!

The popups make it easy to learn what AutoCAD can do and they make it easy to start using these new tools.

The popups make it easy to learn what AutoCAD can do and they make it easy to start using these new tools.

One of my first discoveries when I began using AutoCAD 2015 is that I can now edit solids, for instance I can easily size or stretch a solid using grips.

The arrow grips let you stretch the solid in the given direction.  The arrow grips let you stretch the solid in the given direction.

The arrow grips let you stretch the solid in the given direction. In the case of the cylinder, you can easily resize the diameter. In AutoCAD Release 14 these operations could get tedious and often it was more efficient to reconstruct the solid.

Change is Constant

Once a solid has been unioned with other solids to form a compound solid body, these stretch grips disappear.

Once a solid has been unioned with other solids to form a compound solid body, these stretch grips disappear.

That made for a very sad dino. That is until I discovered Presspull. After issuing the Presspull command, you can select a face of the solid and stretch it further than my tiny arms will ever reach. Here’s the operation in process.

After issuing the Presspull command, you can select a face of the solid and stretch it.

Oh, but wait! There’s more! What if I need to slope one of these sides? No sweat off of these brows (wait, do dinos even have sweating brows? Hmmm….). In any case, just select Taper Faces from the ribbon, click a few times, enter an angle, and the job is done.

select Taper Faces from the ribbon, click a few times, enter an angle, and the job is done.

What’s that you say? You want to rotate that face along the sloped edge? Here you go, Start Solidedit, select Face, enter Rotate, pick the axis of rotation, and enter the rotation angle.

Start Solidedit, select Face, enter Rotate, pick the axis of rotation, and enter the rotation angle.

I’m telling you, I could have fun doing this all day. Back in Release 14 days, stretching a solid involved making a copy of the solid, moving it to the desired position, and then either subtracting or unioning the copy, depending on the desired results. Tapering a face often involved setting a UCS, slicing the solid — often keeping both sides of the resulting slice (just in case you needed to stitch things back together), and deleting the side you didn’t want. I’m glad those days are over.

These tools couldn’t have come at a better time. Historically most of the machine design work I perform consists of rather simple shapes. A new job I’ve been assigned involves creating a few molded plastic parts. Now, I know what a molded plastic part is and how they’re made. I know the die requires draft angles and fillets, and the shape itself can be complex with curved surfaces and all sorts of other considerations. I’m finding AutoCAD 2015 gives me the means to create a design that while I could have eventually done in Release 14, I doubt these arms could have done it nearly as easily.

Rawrrr!

In closing, I’m discovering new design capabilities on a near daily basis. Even better, I’m able to apply them to my work as I get acquainted with them, creating parts and components in ways I haven’t previously thought of. You might say I’m becoming quite the modern dino.

_________________

About the author: Patrick Hughes, machine designer and owner of Engineered Design Solutions in Rockford, Illinois, has worked with AutoCAD since 1991. He has developed a number of AutoLISP and other software solutions to automate his workflow and increase productivity, including the commercially available time tracking program, CadTempo.

A CAD Dinosaur’s Journey, Part 6: Take Me to Your Mleader!

March 10, 2015 Leave a comment

Editor’s Note: Welcome to Cadalyst’s blog series by Patrick Hughes, A CAD Dinosaur’s Journey into Modern Times. In this three-month series, Hughes chronicles his transition from AutoCAD R14 to v2015 and from an outdated PC to a state-of-the-art professional workstation. Follow along and enjoy!

In my last post I discussed Mleaders. I’ll make good use of them, but to my dismay I’ve run into a little stumbling block. Nothing insurmountable mind you, but forewarned is forearmed as they say. Perhaps my problems started when I first established my standards. Rather than load my drawings with custom styles, I simply modified the Standard styles. I set my standard dimensions to display dimension and extension lines to one color and dimension text to another color. These standards applied to leaders as well.

It became complicated when I began to work with the thousands of legacy drawings I’ve accumulated over the years. Now when I work in a legacy drawing and execute Mleader, the resulting object doesn’t conform to my standard. And, yes, I have updated Mleader’s standard style in my template files. This should solve it, right? Unfortunately, it proved cumbersome getting the revised standard style into the working drawing.

An Eon Ago

Long ago I wrote a simple AutoLISP routine, Reset, that resets all system variables and other working environments back to a known state. This is handy if a macro or other tool cancels a command and doesn’t reset certain sysvars and settings such as running OSnaps, UCSIcon display, Pickbox size, and the like. When AutoCAD added the Dimassoc variable, I solved the problem by adding that to my Reset command. Things were different with the MLeader standard style because that object type was not in my legacy drawings resulting in a variable search being none. Furthermore, there isn’t a command line alternative to the MLeader Style Manager.

One of AutoCAD’s shining strengths is numerous ways you can automate tasks, including its simplest form, the Script command. Before going in that direction, I tried the Action Recorder (introduced in AutoCAD 2009) that would hopefully allow a one-click solution. Unfortunately, the input into the Mleader Style Manager failed to be recorded — the recording merely displayed the dialog box and did not record my interactions within the dialog box. While this was disappointing, I do see some potential with the Action Recorder.

I also tried Design Center, another new tool, but that also proved fruitless.

Batch processing to the rescue!

Batch Processing

I chose batch processing to overcome my dilemma. I briefly looked into using ScriptPro, however ScriptPro would have to open and close an AutoCAD session for each drawing. That would not be good. There may be a solution available in the Autodesk App Store, but I grabbed my own CadTempo batch processor that I’ve wanted to put to the test. Again, I felt it was going to be problematic to import the Standard Mleader style.

Many years ago, a chief engineer I worked for advised me on a problem solving technique that I’ve put to the test on many occasions. Essentially it involves inverting an unsuccessful attempt at a solution. In philosophical terms, if you cannot bring Mohammad to the mountain, bring the mountain to Mohammad. In dinosaur speak it goes something like: Grrr gnash gnash, Riiip, tear… Rwar.

So, I created a script template that issued the following command sequence:

New

acad

-Insert

Filename

0,0,0

1

1

0

Zoom

All

Explode

Last

-Wblock

Filename

Y

*

close

y

My first attempt replaced the FileName with the selected drawing names and then created final scripts with all the files to be processed. Unfortunately, the resulting drawings didn’t contain the correct Mleader style. I revised using a SaveAs sequence. The resulting script template is as follows:

New

acad

-Insert

Filename

0,0,0

1

1

0

Zoom

All

Explode

Last

SaveAs

2013

Filename

Y

Close

Finally, success!

Rawrrr!

In closing, AutoCAD offers an enormous amount of customization in how you work with the software, as well as how your drawing appears both on screen and plotted. You can’t expect a dinosaur with a brain the size of a walnut to see millions of years into the future and make the right decisions. But if he chooses badly, there thankfully is always a good workaround.

_________________

About the author: Patrick Hughes, machine designer and owner of Engineered Design Solutions in Rockford, Illinois, has worked with AutoCAD since 1991. He has developed a number of AutoLISP and other software solutions to automate his workflow and increase productivity, including the commercially available time tracking program, CadTempo.

A CAD Dinosaur’s Journey, Part 5: Can’t Turn Back Now!

March 6, 2015 Leave a comment

Editor’s Note: Welcome to Cadalyst’s blog series by Patrick Hughes, A CAD Dinosaur’s Journey into Modern Times. In this three-month series, Hughes chronicles his transition from AutoCAD R14 to v2015 and from an outdated PC to a state-of-the-art professional workstation. Follow along and enjoy!

A CAD Dinosaur's Journey into Modern TimesIt has become clear that digging deeper into AutoCAD 2015 is going to take me away from how I worked in R14. Oh, I’ll be using much of the same approaches I’ve always used, but I will incorporate many of the best current tools 2015 offers.

I don’t know when AutoCAD originally introduced associative dimensions, but when I started with AutoCAD 10 they were already in place and I’ve used them from the start. Some colleagues refused to use them and their dimensions were un-associated and they ended up with simple text and geometry entities. When grip editing came along, finally I could demonstrate to my colleagues how easy it was to perform updates and edits, and they finally adopted associative dimensions.

Now in 2015, imagine my surprise (note, flailing wee arms) when examining the properties of existing drawing dimensions that they were reported as non-associative. Upon further investigation I discovered that way back in R2002 DIMASSOC came onto the scene. This new variable truly associated the dimension to the geometry. This means that any change to the geometry affects the dimension as well adding new intelligence to the dimension. (It blows my walnut-sized brain!)

Original placement of each dimension type: autocad-dinosaur-part5-01 Awesome, new way: Intelligent associated dimension after moving the geometry. autocad-dinosaur-part5-02 Old school way: Non-intelligent associated dimension after moving the geometry. autocad-dinosaur-part5-03 You might not be able to tell that there is an inserted block made up of a circle and two centerlines. I performed a Move operation by grip editing the insert. I was pleased to note that when I performed a Scale operation on the insert, the dimension maintained the intelligent association.

I know I’ll get a lot of benefit from this. I don’t have to select the insert and the dimension nodes with a poly crossing window. Now, I can just pick-and-go. There may be occasions when the intelligent association breaks, but not to worry — they can easily be re-associated. Even this Dinosaur can figure it out.

Take me to your Leader, QLeader, or MLeader

Back in the day, we had leaders that would vaguely associate text (sorry, annotation) to an arrowed line and landing. I haven’t explored what they have to offer such as adding geometric tolerances or blocks, I’ve only used them in their basic form. That’s changing — starting now. (Insert dino foot stomp here.)

Although QLeaders were included as a bonus tool in R14, I didn’t use them. Now, as I take a look at the options available, I can see the advantages of the MLeader object which was introduced in AutoCAD 2008. In the past, when ballooning an assembly drawing or an exploded assembly illustration, it was a pain to position the labeled balloon. Back in the dark ages, I used a little AutoLISP routine the let me pick the leader start, the text location, and then finally place the balloon. It worked just fine as long as I didn’t need to reposition it. It got even more complicated if I had to re-align the balloon and text to an opposite quadrant from the pick point. On top of it all, the annotation wasn’t associated to the leader.

Now with MLeader at my command I can see that substantial time savings and improved appearance are in the cards for me. I’m able to reposition my annotation at will and the leader follows it around, properly realigning when I move across the leader start point.

I find it helpful to keep the Properties palette available. Just a quick double-click, I can easily modify all the settings that affect the display of my annotation. It’s also very convenient to immediately see the effect of modifying via the property palette as you scroll through the options.

Something else new to me (well, most things are) is the Selection Preview (new since R2006). When I first encountered it, I found it distracting. But, I’ve come around and now find that it allows me to make quick and accurate selections. A related item that is new to AutoCAD 2015 is the Command Preview that provides visual feedback to certain editing operations. When chamfering, filleting, trimming, and extending, you can see the results before committing to the edit. It’s like having your very own time machine to look into the future. How cool is that?

Rawrrr!

In closing, there’s an old saying that I know you’ll relate to: The only thing that is constant, is change. I think one of my old fossil cousins coined that phrase. I’ve found it to be true and confirmed on an almost daily basis. Whenever I “finish” a model or a drawing, there seems to be a never-ending march to “improve” upon it. The newer functionality of associated dimensions, easy maneuvering of MLeaders, quick and easy changes to properties, and automatically seeing my edits are an awesome way to cope with this constant change.

_________________

About the author: Patrick Hughes, machine designer and owner of Engineered Design Solutions in Rockford, Illinois, has worked with AutoCAD since 1991. He has developed a number of AutoLISP and other software solutions to automate his workflow and increase productivity, including the commercially available time tracking program, CadTempo.

A CAD Dinosaur’s Journey, Part 4: Get the Lay of the Land

March 3, 2015 Leave a comment

Editor’s Note: Welcome to Cadalyst’s blog series by Patrick Hughes, A CAD Dinosaur’s Journey into Modern Times. In this three-month series, Hughes chronicles his transition from AutoCAD R14 to v2015 and from an outdated PC to a state-of-the-art professional workstation. Follow along and enjoy!

Live Long and ProsperEarlier I mentioned that the most obvious difference I’d discovered between AutoCAD Release 14 and modern-day AutoCAD was the ribbon interface. In truth, that difference only scratches the surface of what’s in store when you update AutoCAD. Some users dislike the ribbon (undeservedly, in my opinion), there are several significant changes that are of great value.

Many of you coming from a more recent AutoCAD version are more familiar with these features, but 2015 improves on them. One such feature that I’ve been eager to sink my teeth into is the Multiple Document Interface (MDI). The MDI was introduced in AutoCAD 2000 and lets users work on several drawings within one AutoCAD session. You no longer need to close one drawing to access another. Previously, many advanced users opened two or more AutoCAD instances to switch between drawings — never more. Now, if I could only figure out how to toggle with my tiny arms!

AutoCAD 2014 brought forth file tabs. File tabs let you easily navigate between your open drawings. When you hover above a file tab, it displays thumbnail images of the various layouts that are contained in the tabbed files. As you move your cursor across the thumbnails, the main AutoCAD window displays the content. Plot and Publish icons appear above the thumbnail and open the selected layout when clicked. Clicking into the desired thumbnail brings the selected layout into editing focus.

AutoCAD file tabs show thumbnails of files within them.

AutoCAD file tabs show thumbnails of files within them.

It might not be clear above, but I was focused on the 015-….DWG file, but because I hovered over the 025-….DWG file, those are the thumbnails that displayed. Hmmm, looking over my drawing name, I see I erred in excluding an underscore in the name — I’m only a mere dinosaur, you know. Perhaps there are tools that will help me prevent these types of mistakes; I’ll keep you posted on that.

The Layout tabs are also new to me and I’m just beginning to learn how I might want to use them. For the time being I primarily use them for viewing purposes, but I can see the potential for a much more efficient workflow. I’ve likely developed some bad habits (Bad Dino!) over the years, so I hope I can learn to use the layout features as they were intended.

As you can see, I conduct my machine design work with 3D solid models. I’ve been chomping at the bit to get to use all the new 3D visualization tools that are a part of AutoCAD 2015. 3D Orbit was introduced in AutoCAD 2000 and enhanced in 2007. For viewing purposes, this is a huge improvement over the Dview command. Additional viewing tools were added with the ViewCube, introduced in 2009, which makes it painless to navigate around a model. I look forward to trying the Steering Wheel more — it looks like it has some great navigating capabilities.

Visual Styles also made its appearance in 2007 and I’ve found the Conceptual style to be especially helpful in a densely populated model, as well as quite helpful in communicating the design. Check out these next two images for examples.

AutoCAD 2015 offers greatly improved visual display styles

AutoCAD 2015 offers greatly improved visual display styles compared to Release 13’s limited wireframe display.

 

Conceptual visualization brings a model to life.

Conceptual visualization brings a model to life.

Rawrrr!

In closing, being a dinosaur my needs are simple. Most often I work in AutoCAD’s wireframe view so I can select points on solid objects that are behind other solid objects. There are times when I need to view the model from an opposite side or 3DOrbit to a different vantage point and my frame of reference becomes disoriented. On these occasions, I find it quite useful to switch to the conceptual visualization to reorient myself and select points as needed. There are a slew of visual styles available and I’ll experiment with them as time permits. Well, that and getting these dino-eyes modernized.

_________________

About the author: Patrick Hughes, machine designer and owner of Engineered Design Solutions in Rockford, Illinois, has worked with AutoCAD since 1991. He has developed a number of AutoLISP and other software solutions to automate his workflow and increase productivity, including the commercially available time tracking program, CadTempo.

A CAD Dinosaur’s Journey, Part 3: Installing AutoCAD 2015

February 27, 2015 Leave a comment

Editor’s Note: Welcome to Cadalyst’s blog series by Patrick Hughes, A CAD Dinosaur’s Journey into Modern Times. In this three-month series, Hughes chronicles his transition from AutoCAD R14 to v2015 and from an outdated PC to a state-of-the-art professional workstation. Follow along and enjoy!

Installing AutoCAD 2015When AutoCAD 2015 arrived at my desk I eagerly ripped open the cellophane wrapper with my sharpened claws and inserted the 64-bit install CD. I had previously uninstalled the 2014 trial copy and was relieved that there were no conflicts during the 2015 install. The support files, block libraries, and customization files I had copied previously remained in place since they resided in a folder structure independent of the Autodesk files. I merely needed to adjust my file paths within the Options dialog box.

Upon initial startup, as was true when I used the V2104 trial version, I was greeted with the default dark drawing background, but this time AutoCAD also displayed the new dark scheme interface for the ribbon and other elements. Being the crusty old dinosaur I am, I figured I should explore my options and set the scheme to light and the background to white. I do think the new dark scheme is attractive and perhaps I’ll give it a more thorough try at some point. For now, these old dino-eyes are grateful once more for AutoCAD’s easy customization.

I updated from the default dark screen scheme to the white background. Oh, so much easier on my Dino-eyes!

Change Color Scheme in AutoCAD 2015

I updated from the default dark screen scheme to the white background.

Changing Color Scheme of AutoCAD 2015

Oh, so much easier on my Dino-eyes!

 

Speaking of customization, since I began using AutoCAD roughly 23 years ago, I’ve written my share of AutoLISP routines and integrated them into custom menus and toolbars. Upgrading from R14 to 2015, I now had a whole new set of tools to learn and a mental shift in how to put them to use. One feature that I am enjoying is the new Customize User Interface (CUI).

Up until AutoCAD 2006, customizing menus and toolbars required creating and editing MNU and MNS text files. The CUI Editor replaces the need for editing those files in a text editor and provides a rich graphical way to add and arrange elements by dragging and dropping them into place. With AutoCAD 2010, the CUI became XML-based CUIx.

I’m by no means fully up to speed in making my desired changes via the CUI, but I’m eager to make good use of the tool. In some ways, I miss the simplicity of right-clicking on a toolbar icon and entering a new command sequence, but I’m rather certain that those of you who are responsible for a large group of CAD operators appreciate the more refined control the CUI offers.

Rawrrr!

In closing, when Autodesk first introduced the ribbon interface I worried that it consumed too much drawing real estate. After all, I’ve always thought you could never have enough drawing area. Now that I’m used to it, it’s not a major hindrance. As I continue to make modifications, I now realize how flexible it is. My biggest challenge is arriving at an efficient grouping and placement of the commands I most commonly use. However, as I discover the latest tools AutoCAD 2015 has to offer, those tried and true (but tired) methods will likely be replaced with new approaches. I already feel my T-Rex reach lengthening; soon I may even be able to scratch my nose.

_________________

About the author: Patrick Hughes, machine designer and owner of Engineered Design Solutions in Rockford, Illinois, has worked with AutoCAD since 1991. He has developed a number of AutoLISP and other software solutions to automate his workflow and increase productivity, including the commercially available time tracking program, CadTempo.