AU Class
AU Class
class - AU

Faster ways to select your objects and clean up your drawings in AutoCAD!

Share this class
Search for keywords in videos, presentation slides and handouts:

Description

A common workflow issue is managing drawings with CAD Standards issues - blocks on the wrong layer, text with the wrong style or size, etc. I could go on and on about all the issues we face with standards in our AutoCAD files. But taking the time to fix these issues can be a daunting process. In this lab, I will walk you through several tools that AutoCAD offers to speed up this process!

You will also learn techniques to make your drawings open faster, have smaller file sizes, and reduce crashing.This is a crucial part of your day to day workflow!

Key Learnings

  • Review the basics – object selection cycling, select similar, draw order
  • Learn more complex tools – quick select, filter
  • Build on your knowledge – layer translator, scripts
  • Fix problems – audit, -purge, recover, wblock, and more

Speaker

  • KaDe King
    I am a senior technical specialist for U.S. CAD, and provide training, network licensing services, and migration services. I have been using AutoCAD® since 1987 and have been a trainer since 1993. I am an AutoCAD certified professional and an Autodesk Certified Instructor. I have been the recipient of the Autodesk Instructor Quality Award, and have presented at AU many times. My experience is widely varied and includes real-world application of AutoCAD, AutoCAD Map, and Civil 3D in AEC, mapping, civil, and manufacturing Industries. I enjoy teaching, and my specialty is relating to the class participants and helping them to get the most out of the training course, whatever it may be.
Video Player is loading.
Current Time 0:00
Duration 0:00
Loaded: 0%
Stream Type LIVE
Remaining Time 0:00
 
1x
  • Chapters
  • descriptions off, selected
  • subtitles off, selected
      Transcript

      KATIE KING: Well, I think it's time. So we'll go ahead and get started. Welcome to Faster Ways to Select Your Objects and Clean Your Drawing in AutoCAD. Long topic, but I felt like the title suited what I wanted to talk about.

      I may actually be a little ambitious in this session. I probably-- there's probably a little bit more stuff than I probably have given time for, but it's all good. It's all in the handout. If anybody has any trouble accessing the handout, let me know. I know one of my sessions- Printing Like a Pro-- Autodesk kind of didn't publish what I had sent them, and it didn't finish out.

      But it's there now, if anybody was in my Printing Like a Pro session, the handout is available now. But it should be up there. I have detailed workflows inside the handout. So you're more than welcome to use that in whatever you need.

      I have included partial handout here. So what you have at your computer is just the exercises from the handout. This is not the whole handout, the handout is 32 pages. OK, these are just the exercises. Due to some time constraints in my over excitedness in this session, everything that's in exercise one is really pretty simple.

      I'm going to present that at the beginning, and then we'll jump into the harder stuff in two, three, and four. Excuse me. I think I've been talking too much today already I guess. All right.

      So my name is Katie King, and I am a Senior Technical Specialist at US CAD. What I do, a little bit of everything. I've been there for 16 years. I teach/ train AutoCAD. I'm a corporate trainer.

      I go to companies, and I train them on whatever they need. I do custom modular training, whatever. I'm also a migration specialist. So I help people migrate their software customization forward from different versions. And I'm also a network licensed specialist.

      So I also-- I will admit my deep dark secret that I love to set up license servers. I knew that's really weird, but that's OK I like doing it. So now you guys know I'm a true dork at heart. I love this stuff. And that's what I do.

      I've been using AutoCAD since 1987. This is my 30th year using AutoCAD. So my 30th year anniversary when AutoCAD is having its 35th anniversary. But I really do love this stuff. Just to tell you-- my badge, I took it off to avoid conflict with the microphone. But if I can make anything, my make is relationships. That's what I do. That's what I'm good at.

      I'll probably never be a builder, but I love to make relationships. I love to help people out. So that's what we're going to do. In this session we want to learn something specific. We want to learn how to make our files better.

      One of the biggest things that you guys will find that you're dealing with every day is when you get files-- whether you have them in-house or whether you get them from external consultants-- one of the problems you have is dealing with files that have problems. Like, particularly when you attach files as xrefs and you try to change the layer color to gray, and you've got red and blue popping out everywhere. Something like that, right?

      There's all kinds of issues with files. We have issues with corruption in files. We have issues with things on the wrong layers. We have-- we could go on and on about what problems we have with files. Is there anybody in this room that's never had a problem with an AutoCAD file? Right, no? Nobody, right?

      There's always issues. Why? AutoCAD has been around since 1982. We have files-- some of you might have files that you haven't opened that you may be pulled out of storage. And that file now is 15/ 20 years old, and now it's bringing it forward. There's bound to be some issues.

      Additionally, people use all different flavors of AutoCAD. People use AutoCAD Architecture. And then we transfer drawings from Revit. And we bring files from Civil 3D. And they're all different. And we bring files from Microstation. We bring files from-- pick a CAD program.

      All of those variables make our files unstable. So the whole point of this class is to kind of-- two-fold-- teach you faster ways to select objects in AutoCAD. So that when you need to clean your files, it doesn't take you two days to select all the objects to fix them.

      And the other half of that is learning how to fix those files that are bloated. OK, clean up your drawings in AutoCAD. How do I make my file size get smaller? If you have a huge 3D model there's not a heck of a lot you can do about that. But there's other things that we can do.

      Sometimes files just open slow. They're not necessarily a big file, but they might open slow. So those are all things we're going to try to address in this lab.

      So we're going to start off-- first of all we'll just jump in. And I just want to-- I forgot to show you this. So if you need to connect with me, you're more than welcome to. I'm on LinkedIn. I'm happy to connect with pretty much anybody. You can reach out to me on my email address. That's my company's website.

      So this is a four-fold agenda. Number one, we're going to review some basics. Now, due to constraints in time that is exercise one in the handout. I'm going to present that.

      I found that it was pretty simple. This is actually my second time doing this session. And the first session I thought, it's kind of simple stuff. We can-- I'll just show it, and then we can kind of go through the exercise later if they want.

      So we're going to-- I'm going to do object selection cycling, select similar, draw order, and understanding the lasso. Now, anybody here never used select similar? Got a few, OK. Anybody never used object selection cycling? OK, got a couple.

      OK, so they're very basic. So I'm going to show those, and then we'll jump into exercises for the others. Our second topic is quick select and filter. These are tools to speed up the selection of objects as well. But they're more advanced or a little more complex tools. We will start, and do hands on exercises directly on those.

      The third section is using layer translator and scripts. These are also more advanced techniques that are kind of fun to get your hands on and do. And then the last one is kind of getting into that cleaning of those files, or kind of the nitty gritty of fixing these files. All right.

      Now, I'm actually going to start off really quick here, and let everybody know that I have giveaways. Anybody who was already on the list for this class-- sorry anybody who came in late, I can't do anything about it. I had-- OK, hold on. It is not showing my screen, and I don't know why.

      That's not good. Let's see. well, I even hit escape in slideshow. OK, you got the slide. Let's see if we can get to-- it is really not going to-- where is our visual guy?

      OK, so I'm just going to move on. I'm not going to wait around on this. What's on the screen here is this really great website called Name Pick Ninja. Name Pick Ninja allows me to pick somebody to win a prize.

      OK, all of your names that were already pre-registered for this class are in there, and I'm going to pick one. It's kind of fun to watch it, but I'm not sure why it's not showing on the screen. So it's plugged in.

      Are you seeing a web page that says Name Pick-- Name Picker Ninja on it? No. All right. Right I'll just run it, and then tell you the name. I'm not cheating. The name is going. I don't want to wait around on this, so I'm going to hit go.

      And there's bunches and bunches of names scrolling by. Is there a Nathan Worthington in the room? No Nathan. So Nathan does not get a prize. You see-- No.

      Well, that is my computer, but it's the wrong screen. It's probably showing it's the first screen instead of the second screen. It's just showing the second screen, it's not showing the first screen. That's the problem. Hold on. Function--

      There we go. Sweet. All right. Sorry you guys for the delay. The second name is Morgan. Is Morgan here? I won't butcher the last name. No Morgan? Oh, we have Morgan. All right. You've got five seconds to raise your hand before-- this is a power bank and mouse pads.

      And I have a few more of those to give out. I also have some homemade candy to give out. It's peanut brittle and English toffee I homemade made myself. So all right.

      So I'm going to jump into AutoCAD right here, and we're going to get going. So the first thing that I want to show you how to do is object selection cycling. I know some of you have used object selection cycling.

      But one of the things that-- just to give you a quick explanation on it-- objects large cycling is useful when you have objects underneath other objects. And you don't want to have to freeze layers or send things under or whatever to get to them. So how do you turn on object selection cycling?

      The first thing to note is it is not on by default in the list. So if I come in and look for selection cycling in the status bar list, by default when you install AutoCAD it is not selected. It won't be on in the status bar. So you've got to turn it on.

      And then the button at the bottom-- we'll find the icon here-- there's this little tiny icon down here at the bottom. And that is the selection cycling. How many people here are keyboard people? Control W also turns it off and on. So control W is easier to use sometimes than the status bar. So if you're a keyboard person, you'll want to use control W.

      Now mine is on right now, so let's see how it works. I've got a file open here, and I'm going to move my cursor over the top of this object. And you will see two little squares next to the crosshair. Those squares indicate that there is more than one object on top of each other.

      So if I were to take my cursor right now and just click, it has a pop up. It's going to say, oh, you've got a line and a polyline there. Which one do you want? All you have to do is take your mouse and pick the one that you want off the list.

      So if I say, I want the polyline, now the polyline has been selected. And then I can go, oh, I want to get rid of that. So I can just hit my delete key, and it's gone. So that's the object selection cycling for-- I think it was a couple of people hadn't used that before. I think you'll find it extremely useful.

      You may not want to leave it on all the time, because it can be kind of annoying when you have it on constantly and it's always, like, picking multiple objects. So that's why that control W really comes into play. It's really easy to use.

      So the second thing that I want to show you in here is a quick way to manage your draw order. I'm sure most of you have probably used draw order before, but I want to give you a couple of tips. So I have this object here that needs to go underneath. It's just a solid fill.

      I'm going to select this. And say, hey, make sure you get the hatch. And then I'm going to right click. And I can say draw order, and I can send it to the back.

      Now, something that I actually just remembered today in my-- I was helping on another session. How many of you have blocks with, like, wipe outs in them that you put the draw orders in there? Do you know that if you-- instead of using send to back inside the block, if you sit you say, send under objects and you pick the other objects, it works better, instead of using send to back.

      If you're going to put wipe outs in a block, don't use the send to back. Use the send under objects, and pick the other objects. It works better. Just a tip.

      But I'm going to send it to the back here. Now, what I really want to show everyone is do you guys know there's a whole utility of draw order tools? If you go to modify, and then you go to the dropdown here, there's actually, like, a whole set of tools for draw order.

      There's actually a command called text to front that has all the rest of these tools in it. Bring text to front, bring dimensions to front, bring leaders to front, and so on. It's kind of hidden in the menu. If you've never seen that before, that's where you get it. Or you can type in text to front to get to it.

      Anybody used those before? A few. OK, so something new for us few of you. All right.

      So another thing that I want to show you is select similar. Who said they haven't used select similar? Who hasn't used select similar? Just a couple. OK, so I'm going to show you a couple tips with select similar.

      If you select an object and then right click, select similar is on the right click menu. Basically it picks up everything like it. Pretty easy to use, right? Did you know you can then pick up another object, right click, and select similar again, and it'll do that one? You could keep going on. I could, you know, grab this one, right click, select similar.

      You can keep building on your select similar. So that's a nice tip to know. The other thing that's good to know with select similar, if you type it at the command line, select similar-- I'm going to type the whole thing, there it is. Let's see.

      I don't like when my command line does that. There it is. Settings. There's a settings menu. Anybody use the settings menu for select similar? All you have to do to get to it is type select similar at the command line. Pop it up. SE for settings, or click on the screen, and there you go.

      You can tell it which settings it's looking for. By default, it checks for the layer and the kind of object type stuff. But if you want it to look for color or other properties, you can do that. All right.

      Now-- last but not least-- let's say, for example, I would like to select objects. And in 2016 and above-- who here is using a higher than '16, 2016 or higher? Probably most everyone has at least 2016 or higher.

      In 2016 AutoCAD they introduced a new selection tool called the lasso. Now, everybody here in this room is one of two types of people. You are either a pick and clicker or you are a press and dragger.

      Who is a press and dragger? That means when you make a window, you hold down your mouse button while you're dragging. OK, so you're press and dragger. If you are a press and dragger you probably don't like the lasso.

      If you're a pick and clicker you probably don't even care, because you don't even notice it. But I'm going to demonstrate that. And, you know, let me change the background really quick on my screen so that you guys can see this a little easier. I'm just going to change the background color of AutoCAD.

      I kind of like my background color to be black, but it's a little harder to see. And I know I'm going to offend you with the white, but it's a little easier to see on the projector. All right. Right I don't like the white either, trust me. I would never work this way, but it's easier to see. All right.

      So here's how the lasso works. If you press down with your left mouse button like you're going to make a window, instead of a window you're going to get the lasso. The lasso is a free form selector. If you go in counterclockwise, it's a blue lasso.

      The blue means everything inside of it is what's going to get selected. It's going to pick up everything. Makes it easy to get stuff like this. OK, so what I mean by press and draggers are going to hate it, because it's going to start the lasso every time, instead of their window. And you can either retrain yourself to be a pick and clicker, or you can turn the lasso function off.

      Now, with the lasso-- something kind of cool to know-- if you go counterclockwise it will give you a crossing lasso. And if you tap your space bar while you're using the lasso, it'll switch between three modes. What's called a fence mode, which is kind of like a little, you know, line. The green one, which is the crossing. And the blue one, which is the window.

      So it's kind of cool. Anyway, so there are just a few basic tips for everyone, and-- on those few components. Now, for those of you who still aren't going to use the lasso, do you guys know how to turn it off? So right click on your command line, and go to options. Let's have everybody do this.

      Right click on the command line in AutoCAD, and go to options. And then go to the selection tab. And there is an option that says, allow press and drag for lasso. If you uncheck that, it will not do lassos. So if you are you are a press and dragger, you might want to just turn it off.

      There was no press and drag in AutoCAD 2.5 when I started, so I was born and bred a pick and clicker. So that's kind of-- I use both the lasso and the other. The lasso works when you press. So that's where it goes.

      Any questions on those kind of basic techniques? Everybody good to go? All right.

      So we're going to move into next-- we're going to learn about the filter command. And what I'm going to do is demonstrate the technique, and then you guys are going to get to do the exercise. All right. And we'll be starting with exercise two in the handout.

      You're more than welcome to turn to art right now, so you have it ready to go when I'm done with the demonstration. It's the back side of page one, the backside of page one. Exercise-- it says exercise two, learn more complex tools.

      So what I want to do here is in this drawing I have a layer, and it's called sports. And it contains all the elements for the sports fields that are in this drawing. There are some tennis courts, there's a baseball field, a football field. There's a bunch of different things.

      But I want to tell my computer to select all the objects that are polylines, lines, or arcs. And I want it to select those for me, and they have to be on the sports layer. So I want to have the computer do that for me, instead of me manually going, OK, that one and that one.

      Anybody ever gone through and selected a bunch of objects, and then you accidentally picked the wrong one? And then you hit escape really quick without thinking. And then you're swearing at your computer going, dang it. Shoot, now I've got to start over.

      OK, so the point of this class is to make it so that you don't have to go, shoot, I don't want to start over. All right. All right. Oh, somebody asked me in the last session something relatively straightforward, and I wanted to make sure that everybody here knew about it. And maybe somebody can even answer it.

      If you were to select some objects, and you accidentally picked up something you don't want, what do you do? Shift to de-select. Don't hit escape and start over, right?

      OK, so if you hold the shift key down, and then you pick the object that you don't want. When you're using that, it will automatically de-select as long as you hold your shift key down. So if anybody who hadn't seen that before, in the old days we used to remove at the command line. But now shift is much easier. Question?

      AUDIENCE: Do [INAUDIBLE] window [INAUDIBLE]?

      KATIE KING: Absolutely. That's a really good point. While you're-- you're asking, or did you want to say it?

      AUDIENCE: Yeah, I can.

      KATIE KING: Yes.

      AUDIENCE: So [INAUDIBLE].

      KATIE KING: So what she's saying is this, is if you got a little over excited when you're doing your lasso here, and you've got too many to hand pick. If you hold your shift key down, you can do a window, another lasso, you can pretty much do anything while you're holding your shift key down. So it's pretty flexible. Anyway-- All right.

      So filter. There's two commands that I use in AutoCAD besides select similar to tell AutoCAD to power up objects, to give me lots of objects. The first one is filter. Filter is really, really old. Filter was created in AutoCAD R12, not 2012. And that was the first version of AutoCAD had dialog boxes. Well, 11 had some, but not too many. So mostly 12.

      And that was back in '92 I want to say. So this command is really old. I'm going to type it. To be perfectly honest, I don't know there's any other way to get to this command. I'm just going to type filter.

      So the way the filter command works is a little bit interesting. Who's used filter before? A hand full. OK, probably because it's a little bit trick to use. So I want you to watch carefully while I'm doing this.

      The first task is I want to tell it to pick up all my polylines, lines, and arcs. And then I'm going to tell it which layer to get them from. In order to tell it to pick up more than one type of object, I have to use a special or statement that says get polylines, or lines, or they can be any of those three types.

      So I have to use a special or statement. It works like this. I'm going to come in, and I'm going to scroll all the way to the bottom of my filter list here. And I'm going to choose begin or. So this little list is a list of everything in AutoCAD that you can filter on. You have a criteria of what you're looking for.

      So I'm going to put in that begin or. And every time you put something in this filter, you're going to click add to list. Then I'm going to come in and say, OK, now for the good stuff. I want to get an arc, and I want to add that to the list. And I want lines, and I want to add those to the list.

      And I want to do a poly-- I want poly lines, and I want to add those to the list. So I've got all three object types that I'm interested in picking up. It does not matter which order you put those in at all. So no particular reason for any one of those being. I just went in alphabetical order.

      Now that I'm done with the objects, I'm going to come in and add an end or statement. To say, hey, I'm done collecting the objects here. And I'm going to insert that add-- I'm going to add that to the list.

      Now, the last part of this filter is to tell it which layer to look for those on. And I want them on that sports layer. So I'm going to come in, and for the filter I'm going to choose layer. Layer, right there it is. And then there's a select button right next to it that lets you pick the layer name so you don't misspell it.

      OK, so you don't want to have to type it manually, because chances are you'll misspell it. I know at least I do. I always fat finger and get something in there wrong. So there's my layer. And then I click add to list. So now it's ready to go.

      So I'm going to hit apply. And it's going to say, what objects do you want me to look through? I'm just going to make a window around the whole thing.

      And if you look closely at the command line right here, it says 232 objects found. And if I zoom in you can see that it's highlighted all the polylines, lines, and arcs that are on that layer. Pretty cool, right? So now I'm just going to hit enter-- because I'm done with the filter-- and it leaves those objects selected for me. Why do I want to do that? Well, we're going to-- in the exercise we're just going to go to the copy command in AutoCAD. We're just going to make a copy over here to the right side. Pretty easy. All right.

      So let's go ahead and do this exercise. So jump in exercise two part one. And it's called part one filter. You can start on step two because-- or wait, do we have the files open? Thank you.

      I think the file-- you are you should already have the file already opened, you can just start right on step two. I totally forgot to introduce my lab aids. You guys should have said something.

      Real quick at the back, we have Tracy Chadwick from Hutchinson Community College. We have Steve Bennett from Taylor-- are you at Taylor, Taylor Architects? And we have James Lord, who also works with me at US CAD. Please raise your hand if you need help.

      OK, so the first thing you might notice is I'm back in the filter box. Did it get rid of my last filter? No, it keeps it for you, which is kind of nice. OK, so I'm going to go ahead and save this filter.

      What I'm going to do is just give it a name. I'm going to call this sports objects, just to keep it simple. And I'm going to hit save as, and it's going to save it to the list. The list is right above there, right here. You can create as many as you want. They're going to save there. No, this list is not exportable, before somebody asked me that.

      AUDIENCE: So this is?

      KATIE KING: So I've seen it stick, but it's pretty much drawing specific. It's kind of-- it does stay in the registry while you're in the file, that's how it comes back up. But-- so there is probably a way to capture it with LISP. But it is drawing specific, as far as what saves with the file.

      Because we're talking about layers that are in that drawing, right? And that layer may not be in another drawing or whatever. OK, so I'm going to give away one of my things of candy here really quick. OK, I'm pressing go. Let's hope for somebody who's actually here so I don't have to run it a couple times. Lee Dexter? All right. You are not allergic to peanuts are you? OK.

      AUDIENCE: Can you take me to the casino?

      KATIE KING: With the candy?

      AUDIENCE: [INAUDIBLE]

      KATIE KING: OK. That's funny. All right. Yeah, there's no guarantee this is going to make you any luckier in the casino, but hey-- All right.

      OK, so the next thing we're going to do is we're going to use Quick Select. First thing I'm going to do is show you all the places you can get Quick Select, because there are multiple places you can open Quick Select from. Real quick, who has never used Quick Select? A few? OK, you're going to love Quick Select.

      My husband uses AutoCAD. I taught him AutoCAD years ago. And about a year and a half ago he got a new job using AutoCAD. He also does document management. The other day I was showing him my handout, and I was having him do the exercises to make sure that a newbie could handle it.

      And he goes, what is Quick Select? And I'm like, oh, my gosh. We're in trouble. I got-- now he tells me it is his favorite thing in AutoCAD. So he's pretty excited about Quick Select. So hopefully those of you who've never used it, you'll be excited as well. All right.

      So what I want to do in this particular one, Quick Select is a tool that works similar to filter, but it is simpler. OK, I use it when I want to say look through the entire drawing for all the text that has a height less than 10. Or look through the entire drawing for all the text that has a particular style. Or I want to look through the entire drawing for all the objects that are leaders.

      And the point is when I am done selecting them, I want to do something to them. I want to change the arrow size. I want to change the text height. I want to change the layer they're on. I want to change the text style. Anything that you can think of that you want to change, Quick Select basically selects the objects for you-- just like filter would-- but it's a little bit simpler to use.

      Would you guys agree who have used Quick Select, it's a little simpler to use? What do you think? Yeah, it's a little simpler. So I'm going to show you, first of all, where to find it.

      Number one, the properties box. Who-- is there anybody here who doesn't use properties? Anybody not use properties? Everybody uses properties, right? How many of you have more than one monitor? Most everybody nowadays. Anybody have three, four? Everybody's going three? I want three.

      A lot of times we keep our properties window open all the time. We put it on another one of our monitors, right? We put it to the side or something like that. So properties, why do you think I'm going to properties? Well, Quick Select is available on the properties box. It's in the upper right corner of the properties.

      How do you open properties? PR for properties, that's one. I know Tracy uses CH to get to it. You can do-- who knows the keyboard keystroke? Control-- so close-- control one. Control two is actually the design center. Control three is the tool palette. We could go on and on.

      OK, so control one is the keyboard. Now, one other place you can get it, from the ribbon. This is actually one ribbon panel I use quite a bit, because it has the measurement tools on it. In the utilities panel on the ribbon in the upper right hand corner is also the Quick Select button. So you can get that from there as well.

      And of course you could just type in QSE. QS is Quick Save. And there is no actual alias for it. But if you type QSE, it's the only thing that starts with QSE, and it'll pop up for you.

      And last but not least, if you right click on the desktop, and you right click is not set to do enter, it will pop up right now-- the menu. And then Quick Select is on that menu as well. If you cannot find Quick Select, you are in trouble. OK, it's easy to find. It's everywhere.

      So I'm going to do Quick Select. My favorite is the properties. I use that one the most. So here is the Quick Select dialog box. If you've never used this box before, you just start at the top and work your way down. It's that easy. All right.

      The first thing it's going to do is say, apply to what? That means what do you want me to search through? What do you want me to look through to find it? By default, it says entire drawing. Now, one of the things that people do accidentally is they'll have selected an object accidentally when they started Quick Select. And it'll say current selection, instead of entire drawing.

      Anybody ever done that before? It's an easy to mistake to make, unless you hit escape all the time, right? So if that happens to you, all you have to do is change it to entire drawing right there in the box. And then you can tell it to look through the entire drawing instead of just the pieces you selected accidentally ahead of time.

      Now, if you actually did want to select a specific group of objects to look through, this button right here on the right will let you make a window around your drawing to look through. Up to you. I'm just going to tell it entire drawing.

      And the next thing he says is, what kind of objects are we looking for? And I want to look for all the leaders. And I actually just want to get every leader in the drawing, I don't even care what layer they're on. And this drawing actually has three or four different layers for the leaders.

      So how do I do that? Well, we got properties here. And because I don't care about the properties-- I just want everything-- I'm going to come down to the operator and tell it to select all. So there's a select all option in that operator there.

      Now, normally what that operator is used for-- let's say you were looking for text. You could say find me all the text that has the property of height, and then set that height lesser than, greater than, equal to and so on. Really handy for blocks, too.

      Because you could say I want to find-- who does-- who has architectural drawings? You ever want to try to find every single block that's a door, and then tell all those doors to go on the door layer because half of them are on the wall layer or some other type layer. Think of a block-- you guys probably have an example where they're on the wrong layer and it's mixed-- but how many different door blocks you people have?

      There's probably like a door 28, a door 32, a door 30, a door 36. So one thing that's kind of cool with this-- in this operator-- instead of saying equal or not equal or whatever-- let me click this back to equal here. So if I said some value, I can actually use-- I may have to do it with block. I'll show you really quick with block, and then I'll come back to my leader.

      So if I said, go in, look for a block name. Instead of saying equal, I can use a wild-card match. Anybody ever use the wild-card match in there? That wild card match is genius. So, like, if your block name starts with the word door, you could put door asterisk and it would pick up every single door in the entire drawing. Because the asterisk replaces the rest of the characters in the block name.

      Who here are familiar with wild card matches? Anybody? OK, if you had been around like since Dos-- like me-- we used to use those in Dos days. There are some advantages to being old. Yeah, I am actually almost 50. I have five grandkids, five. They are all under five years old, but--

      So that's how you would do that. I'm going to come back. I'll get my leader, and I'm going to just tell it I want to select all. I'm going to include those in a new selection set. Any idea what would happen if I didn't exclude? It would get everything but my leaders. So it would get everything in the drawing except for my leaders.

      I'm going to go ahead and pick OK. And you can see-- you look now, it's picked up every single one of my leaders. And what I want to do is look at the arrow size.

      Yuck, half of my leaders have different arrow sizes. It says varies. What does varies mean? Varies means it is not good. I mean so my arrow heads are bigger or smaller than the other ones. And you probably don't want that in the drawing.

      So I'm going to change it to what I want them to be. I want them all to be 0.18 arrow size. So I'm going to click on varies, and then change it to 0.18. Hit enter. Now that I've changed them all, I can hit escape and I'm done.

      So go ahead-- on the exercise-- go to part two, and start on step 14 there. You're going to get to do both a block and the leader. There's two pieces you're going to Quick Select. How's everybody doing? Anybody need more time? Looks like eveybody's done? All right.

      So let's pick another winner. I'm going to give away another power bank and a mouse pad. And let's see-- who likes my Name Picker Ninja. Isn't it cool. Yeah, it's really cool. Denise? Is Denise here? Denise? Denise? Going once, going twice.

      OK. Michael. Is Michael Marc-- I'm going to obliterate that name. Is he here? No, no Michael. OK. They don't know what they're missing. Kevin Potter. All right. You-- take it Kevin's here.

      Last year I made up questions, and I had people answer questions. But it got sketchy, because there was one instance where I was like, who raised their hand first? So I thought this might be a little funner. I only can get names from somebody who's actually assigned, but it's all good. All right.

      So moving into topic three, which is two things-- layer-- what we call layer translator, or standards tools, and scripts. So who here uses CAD's standards, or the layered translator tools? Either, and, or both? A few of you.

      OK, I'm going to show you kind of just-- and explain a little bit about what CAD standards tools are. Under the manage tab on the ribbon, AutoCAD has three tools. They have a layer translator, they have a check standards, and they have a configure standards tool.

      The standards tools allow you to take a file that has, like, all of your master stuff-- like your layers that are on there with the right colors and the right line types and line weights and all of that-- and your styles-- like text styles, dimension styles, and so on. And then it allows you to assign that standard to your template file, or to any drawing.

      And then the check button will check the current final against your standard. So if you have never used this tool before, it's a way to check a file to make sure it meets your criteria. Now, that's a great little tool.

      A lot of-- some companies even actually assign it to their core template. So that every time you start a new drawing with your template, and then you change something on purpose-- like maybe you change the color of your layer-- it slaps your hand. It says, hey, you're using the wrong color for that layer, or you made a layer that's not allowed.

      Anybody ever worked at a company that uses the standards checker? All built in. You like those little notifications that tell you you were bad? All right.

      In addition to that CAD standards configuration tool and that checker tool-- just a little shout out-- there is also a batch standards checker. Windows 7 I used to go to start, all programs, and show you. Windows 10 I'm a search girl now. It just gets searched. It's easier.

      So if you're using Windows 7, it's in the start menu. If you're using Windows 10, just type batch standards checker. That one doesn't fix issues. But if-- anybody here work with consultants and they have to deliver a drawing package to you? Anybody?

      If you use the back standards checker, it will create a report that tells you what is wrong. And you can send the report to your client, and say fix it. OK. In a nice way, of course. So that's just a little heads up on that tool that's available to you. Anybody use that batch standards checker already? Some of you are already using it. OK, awesome.

      So what I want to focus on-- because it's something that I think more people will use in addition to the standards-- is the layer translator. We're going to do a little exercise on this layer translator. So the translator's purpose is to take the list of layers that you have and tell it, OK, this is the list of layers, and I really want you to be these layers.

      So let's say, once again, you get a drawing from somebody else. Maybe you have somebody that does some work for you on the side, and they use their layer standard instead of yours. And now you have to say, OK, this one should be that one, and this one should be that one, and you have to go through.

      If they only have one drawing, no big deal. What if it's a set of 50 drawings? Yuck, right? OK, so that's what this tool is for.

      I'm going to demonstrate the process for creating the layered translation list. Now, we're not going to match every layer because there's too many. I would take way too much time. All right.

      We're going to do-- I think I have five layers I have pre-set. They're in the handout. It's going to show which ones.

      What I'm going to do is look for-- first of all I've got this list. Where's the list of ones I want to translate to? Well, what you're going to do is you're going to click this load button. And then you're going to go and pick your template file or a drawing file that has a good list in it, right?

      So I'm going to come in and I'm going to click load. And I'm going to load up. I've got a DWG here in this folder called template layers. And I'm going to load that list up. It's going to load it in here for me.

      And first layer I'm going to locate in my list is called P7EPL. I have no idea what that means, but I figured it out ahead of time. I actually think it's edge of pavement lines. That's that guy right there. And I want to put that-- it's for parking. And I want that one to go to that one.

      So I pick the one I want. I pick the one I want it to go to, and then I hit map. Easy enough? Pick, pick, map. Now, if any of these layers matched your list already, the maps same button will automatically map all of those and remove them from the list so you don't have to deal with the ones that are already right.

      So if you have any that are good, you can run the map save first. It'll put on the map-- put those in, get them out of your way. And then you can do all the ones left over. I'm going to do a couple more just to show you.

      So let's say P6-- let's see P6CUL. Where is that little guy? There he is, P6CUL. And that one is parking curb. And I'm going to click map. and it's going to add it to my list.

      Now, obviously this could take a few minutes, right? But if you have 50 drawings that need to be done, once you're done with this you save it, and then you can use it on every file. So you only have to do this once if you're going to have this list of files that you want to run it with.

      So once I'm done, I'm just going to go ahead and quickly grab the other three. I've got P5PLL, and that one is going to parking spaces. And then I've got P6PLL, and that's this guy here. And that one is going to parking lines. I'm going to map that one.

      And last but not least, I've got P1COL, which is going to contour lines. And I'm going to map that one. Now, when I'm done I want to save this, because I don't want to do this again, right? So I'm going to go in here, and I'm going click this save button.

      When you click save, you have two options to save it. You can save it as a DWG or a DWS. Does it matter? No.

      I use DWS for one reason. It's a different file type, and it's more obvious to an end user that it's not regular AutoCAD drawing file. OK, so I use DWS. Perfectly up to you to do whatever you want. And I've got it in my folder here.

      And I'm actually just going to save it over the top of this file, because I've done this before with this exercise. I'm going to call it project layer standards. You'd probably want to store this with the project that you're going to use it with, right, so that users can get to it easy.

      And you can name it project A, C, C, D, whatever the project number is. And then it's the layer standards for it. You're going to hit save, and it's going ask me to replace it, of course. And then I would just hit translate, and it would fix this. And it's done. It's just going to do it.

      All you'd have to do-- I'm actually going to cancel out of this real quick. And I'm going to go back to the layer translator tool. So now let's say I'm in drawing two, and I've got to apply that, right? I already created it.

      Drawing two all you have to do-- hit load. Change it to DWS. Pick up your project layer standards, hit open, and hit translate. And it'll say, what do you want to do? Just translate. It's done. OK, pretty cool. All right.

      Now, in the exercise that's in the handout, it actually just jumps straight to the load, so that you can just bring it in so you don't have to map each one. But if you want to map them you are more than welcome, because the list is in the graphic there. So if you think you can do it real quick, go ahead and do the mapping. And save it, and have all the kinds of fun.

      It is page 19 on the handout, which is like page four or something like that. Exercise three part one, layer translator. So who can think of a situation where you might find the layer translator useful? Anybody have any of those situations?

      I'll give you another example, just to get your minds kind of-- the gears turning. Anybody have old projects that you have to recycle and reuse for new stuff, because they're changing something in that same area? And that old project was done in a completely different layer standard. This is another good example.

      You might want to take that old project and move it into a new layer standard. And this is a great way to do it. There are a lot of ways to swap layer lists out this is just one of them.

      And this may not be the one you choose. You may choose to use-- if you have a LISP programmer in house, you may choose to use LISP or some other programming language to do these kind of tasks. I'm going to show you another technique in a minute which is called script-- AutoCAD scripts, and that's another way to do it, too.

      There's no wrong way or right way. It's just the way that works best for you guys. So if you have any kind of older drawings or any kind of files that come in and the layers are wrong, there's lots of things that you can do to fix it.

      The one advantage to something like a script-- which we're going to do next-- is that scripts have the power to do more than just the layers. They may take a little bit longer to write, but they're not t hard to do. They're just-- you just got to take the time and sit down and do it. Do it where it makes sense.

      If you are only changing two drawings, just fix them. If you have more stuff though-- like 50 drawings or whatever-- it's a little more complex.

      So for Civil 3D, specifically, I prefer to use the Civil 3D styles manager that comes with Civil 3D. Have you used that before? Come see me after, and I'll show you where it is. I have Civil 3D loaded on my computer. Civil 3D has a styles manager that is sweet and awesome. All right. Are we ready?

      Everybody get a chance to kind of fill it out with the layer translator? All right. Right OK, scripts-- now, who here has wrote an AutoCAD script before? And I'm not talking about Visual Basic Scripts, I'm just talking about a very simple AutoCAD script in Notepad? About maybe a dozen people.

      OK, in AutoCAD if you were to just type at the command line, that would be what making a script is like. You open a Notepad document, and you literally type the commands in just like you would in AutoCAD.

      A couple of rules-- you can't type in commands that are going to start a dialog box. Because the Notepad-- the script-- cannot interface with the dialog box. It'll just stop the script, because it won't be able to go any farther. So you can't type dialog boxes.

      So what about layers? How do you get to the layer command without a dialog box? Well, who knows what you do? Dash. Put a dash in front of the command name. Who's put a dash in front of your command name before?

      Yeah, so it's so that you don't have to go to the dialog box. It just says, it's command line only. So I'm going to open this up real quick so you can see it on my screen. Let me find my data set. So I have this already written so you guys can see it.

      This is a script. It starts and it says dash layer. And then I hit enter, just like you would on the command line, right? Dash, layer, enter. You can put dash LA, just so you know. But when I'm writing the script I like to type them out, so that if somebody else reads the script it's a little obvious to them what it is, instead of trying to figure out all your aliases for your commands.

      Next-- and then, well, sometimes people change aliases too, right? So if somebody changed the alias on their computer and tried to run your script and it didn't have the same alias, you could be in trouble. So just something to be aware of.

      And then the next thing it says is N. N stands for new. It's part of the layer. If you were to type the dash layer command and look at the command line, there's an N for new option. And then right after that, it has a list of layer separated by commas.

      This tool will let me build as many layers as I want at one time by just simply typing all the layer names separated by commas. So this script is saying, start the layer command. Do the new layer. Make three new layers. And then it hits enter twice actually. And at the very end, it does a save of the drawing file.

      Now, I want you to stop and think for a minute everything that you could possibly do with something like this. You could change variables. You can create new layers. You could change the color of those layers that you create. You can change-- we could go on and on.

      We're probably not going to draw lines with this, but you could. You could say L for line, zero, comma, zero. Enter. Put a co-- you could use coordinates. Not that you would, but you could. So anything you can think of that you can do from the command line, you can do in a script.

      So once you get it in here, how do you name it? You name the file with a .SER extension. You're not going to want to use Notepads.TST. How many of you have extensions turned off on your Windows? Turn them on. Who knows how to adjust Window-- I'm going to show you real quick, because this is actually a big pet peeve for people when they're creating scripts.

      In Windows Explorer-- by the way, who knows the quick way to get Windows Explorer open? Windows key E, Window E, or whatever they call it. What do they call it? The Windows key? I think so. So Window E, boom it's open.

      And then I'm going to go in, and I'm going to tell it under-- usually the way I do it is I just go to view, and then I just make sure file name extensions are checked. Yeah, probably won't work on these with this virtual frame going on.

      The frame that they're running on these is a little bit weird. It might get a little weird. Anyway, so if you've never had to turn your file name extensions on, you'll want those on. When you get back to your office, if you don't have them on turn them on.

      There is nothing worse than trying to use AutoCAD-- as an advanced or even intermediate level user-- and not having extensions turned on. Because it makes it hard. Like when you go to create a Notepad document for a script, it will automatically name it .SCR.TXT. And then you go, where is it? Where's my .SCR? So just be careful with that.

      So now that I have this, what I'm going to do, I'm just going to save it. And then I'm going to come into AutoCAD, and I'm going to say, I want to run this script. So I'm going to click run script right here from the manage tab. You can also type in just the word script. That is the command that runs scripts.

      I know a lot of companies that use tool palettes. Who uses tool palettes? They attach a command on their tool palette that runs a script. So they build a script that builds all their layers, or builds whatever, or sets variables. And then they put a button on the toolbar palette that runs the script.

      So it's a great way to enforce your standards through your tool palette. So all I'm going to do is click run m and I'm going to go and find this script I created called layers.SCR. The default is an SCR extension. And I'm going to hit open, and it's going to run it.

      And I'm going to hit my F. I'm going to go to my layer list here. And then I'm going to prove to you that I created-- there's the sewer lines layer I created. And I think there's, like, gas lines, and there was one other one in here somewhere. But-- water, oh, it's all the way at the bottom. There it is, waterlines.

      So you can see it created those. It did not put any color on those. They are all white. I didn't get that fancy in the script yet.

      Now, what I'm concerned about with this exercise is the frame, and you guys being able to get to Notepad. Anybody have any tips on quickly getting to Notepad with this?

      AUDIENCE: [INAUDIBLE]

      KATIE KING: Do they have a search on there? OK, so I can't even-- I can't demonstrate it. So if you need help doing it, basically, like, when I do Windows 10, I would just type in Notepad, and that would open up Notepad.

      So if you guys want to do this exercise, it's bottom of page 19. And you're just basically going to create a little script, and then run it.

      AUDIENCE: [INAUDIBLE]

      KATIE KING: Oh, that's right. I forgot you could do that right from AutoCAD. You can type in Notepad in AutoCAD, hit Enter, and it'll open Notepad. Thank you. I totally forgot about that. I forgot AutoCAD will launch Notepad. That is so much easier. Kudos.

      AUDIENCE: I just learned it a few hours ago.

      KATIE KING: OK. See, AU is really good for a lot of things. I know about that one, but it's been so long since I've used it. If you actually open up ACAD.PGP-- which is like the like the aliases-- it has a whole list of Dos commands that it will run externally.

      If you don't want to type all the layer names, you can even just type one in there just to make it quick. OK, we're going to do another giveaway. I know you guys may want to do some more scripting, but we're going to move on. Go. Dean? All right. I've got another power device and a mouse pad.

      The best part about this Name Picker Ninja is I do not have to come up with a list of questions to ask you guys. That's the best part. All righty.

      OK, I'm going to finally close this drawing I've been using here. And I want to talk for just a minute about audit and recover. We're going to move into section four of this class, and that's cleaning our files. Who has used audit here? Probably pretty much almost everyone. Who has used the recover command?

      So what's the difference between the two? Does anybody know maybe something that's different between the two, or did you think they were the same? Who thought they were the same? Anybody? Or you're just not going to admit it?

      So audit-- one of the differences between audit and recover is audit only works if you're in the file already, and recover only works when you're not in the file. If you type audit, it will audit the drawing you have opened. If you type recover, it will ask you to open a file. And it won't let you open one that you've already got open, right?

      There's also a recovery with xrefs. What does recover with xrefs do? It recovers the file, and all the xrefs that are attached to it. So what do audit and recover really actually do? How do they fix our files?

      What they do is they examine the database of the file. AutoCAD-- every AutoCAD file is really just a giant database. Not that-- who hates databases? Anybody not like databases. So you know that you work with a database everyday, but we just get a graphic interface for it.

      The audit command can only examine the parts of the database that are available while the file is open. The recover command can also examine what we call the header of the drawing file. So there are some things that recover can fix that audit cannot.

      Do we care exactly? No, not really. Just be aware that recover is better and deeper than audit. All right. Now-- so I'm going to do a quick demonstration of the recover command. You can get recover from the A button. And then go to recover, and then I can choose the recover tool.

      So from the application menu in the upper left hand corner, I can get recover or the recovery manager. But I'm going to go ahead and choose recover. And I'm in a pick a file here. I think I'll get this guy right here. And I'm going to open that.

      So while it's opening it, it's actually scanning the drawing for error messages. Hopefully it doesn't crash. There it goes. So it's telling me the drawing file was recovered. Said it found four errors, and that they're fixed.

      This-- if I opened this file, it wouldn't even have told me that it needed to be recovered. So the system will not always tell you if it needs to be recovered. If you crash your AutoCAD, it will tell you that the file needs to be recovered, and it'll automatically run the recover.

      But there are files that you guys have on your-- in your projects right now that probably need recovering. And if you wait and don't recover on a regular basis, guess what happens? Those files will eventually not be able to open. Does anybody have any files that you couldn't get open, and you had to go find an old one? Yeah.

      What happens is the garbage builds up time over time over time. It just keeps adding. You know, it just gets worse and worse and worse. You've got to run this once in a while. All right. So that's recover. Audit's pretty much the same. Enough said about that.

      So I'm going to jump to the second part of this. And just so you know, there is an exercise in the handout for that. If you feel like you need to do the audit recover exercise later, you can pick that up and do it.

      The next thing we're going to do is talk about purge regapps. Who here has used the purge command before? Everybody should probably should raise their hand. If you don't raise your hand, I'm going to cry. Because everybody should know the purge command.

      The purge command allows you to get rid of things that are no longer being used in your drawing. Purge Regapps is different though. Who has used purge regapps? OK, a few. All right. Purge regapps is only available at the command line. You have to type dash purge or dash PU.

      OK, what all regapps? Who knows what internet cookies are? OK, when you go to a website and you put in your password and username and it saves it for you. OK, so when-- regapps are similar to that. t called, registered applications.

      When an auto-- when a drawing file like an AutoCAD file is opened in a CAD program, that CAD program puts a plug-in-- or a registered application-- to make it easier for it to use that software. Now, how many of your files could have come from Microstation? How many of your files could have come from ArchiCAD? How many of your files came from AutoCAD 2010?

      OK, we could go on and on. But all of these products-- including all of the AutoCAD products-- put plug-ins in. Guess what? Those build up over time. The most I've ever seen in one drawing file was 250,000 regapps. No joke.

      The file would take 20 minutes to open. And every time they'd pan, it would take three minutes to regenerate the screen. It was brutal. Does anybody have any files that are like that?

      OK, they may have regapps in them. All right. Here's how you get rid of the regapps. You type in dash PU, and then you choose regapps, or R for regapps. It says, do you want to enter the names? The default is an asterisk, which just means give me all of them.

      It will not hurt if you delete all the regapps. If AutoCAD needs it, it'll just put it back in. All right. So don't stress over worrying about which ones to delete, just delete all of them. I'm going to hit enter.

      It says, do you want to verify each one? Well, if you had 200,000 would you want to say yes 200,000 times? The answer should be, no. Now, if I only have 10, no big deal. But it's never going to hurt to just say, no. You don't want to verify each one. And then it's going to clean those out.

      This particular drawing had 47 registered applications. Doesn't seem like it's that big of a deal. But what is one of those regapps was a troublemaker? You don't know which ones are trouble makers and which ones aren't. I guarantee you that there's going to be trouble makers in your file. They do-- any of you guys ever felt like there was, like, a hamster in your AutoCAD drawing causing problems?

      Like have you guys ever tried to copy and paste and it doesn't work? Regapps. OK.

      AUDIENCE: Question. On the dash PU, can you not list [INAUDIBLE]?

      KATIE KING: Very good question. So the question was, can't I just type in dash PU and then do A for all? That will get everything but the regapps. It's actually a great way to purge, but you'll still need to do the regapps option. Autodesk did not make it so that all included the regapps.

      The other troublemaker in our drawings is purging-- is microstate-- DGN linestyles. Who has DGN linestyle issues? Probably a lot of people you do, even if you don't know what it is. When you get drawings from micro station they have similar to line types in AutoCAD, they have line styles. Autodesk even has a line style purger that you can download from their website.

      But AutoCAD 2015 and higher, the line style purger is included in the regular purge dialog box. So if I type in just regular PU for purge-- and I'm going to give it a second, because this drawing has a lot of garbage in it. Oh, no, this is not too bad.

      You'll see under line types here there are some line types that are kind of garbagey. Like, it's like bad line type and all kinds of error messages in there. Generally, if you come in and turn on automatically purged orphaned data, that will get rid of the DGN line styles. It will not always work, but it should get rid of most of them.

      I don't know if you guys realized that orphaned data was the DGN line styles, but that's what it is. So if you have AutoCAD 2015 and above, you can just check that in there. If you have an older version of AutoCAD, you should go to Google and type in AutoCAD DGN line style purger. You will find it on the Autodesk website, and you can download it and use it. It will help you with your files. They will be better.

      So, of course, I could just purge this out. I should have ran that purge right there. I'm just going to tell it purge all. Let it do its thing. It's still got some line styles in there. All right.

      So let's go ahead and do this little exercise. Start with part two on page 30. It's a very short exercise. Step nine to step 14. One page, very easy.

      We have three things left to do after this, and it's going to be easy and we'll be done. So we still have about eight minutes left. So don't give up on me yet. I still have candy to give away.

      So for those of you who've never purged regapps, you want to do this whenever you get a file from a consultant, whenever you get an old drawing, whenever you're drawing starts acting funky. OK, if it gives you any trouble, run a purge regapp. Don't let-- I'm going to-- do not let files come in from outside of your company, and do not attach them as xrefs until you've purged the regapps.

      Regapps are basically bathroom hands. As soon as you attach an xref to your drawing, you will regapp. Every regapp that's on the xref will automatically attach to your current file. They spread like germs. Bathroom hands. Regapps are bathroom hands. You need to wash the hands on the drawings, and that is the regapp purger.

      What does that mean? You need to clean all the xrefs before you attach them to your files. You should also do regular purge. And you should also recover or audit the files or whatever. You-- I know it sounds like a lot of work, but is worth the trouble.

      Anybody ever had a project that nobody ever cleaned when the files came in from somebody else? And then you're trying to attach them as xrefs and basically all hell breaks loose? I'm sure you guys have all seen that before. OK, so those are some tips. All right.

      Now, the next thing I want you to see-- I know this is a little bit tiny, but you can see I have two files. One is called store elevations, and it is a 3.7 megabyte file. The other one is called store floor plan, is a 4.9 megabyte file. Both of these have DGN line styles that will not purge out. I don't know why, they just won't.

      A client of mine sent me these files. And they're like-- these files are troublemakers. We cannot figure out what to do. So I said, well, I'm going to try one of my extreme techniques. I'm going to give you a tip on this particular technique I'm going to use. This is called W block entire file. I'm sure some of you have used it before.

      If you are using Plant 3D or AutoCAD Electrical or anything that has a database attached to the drawing, these don't tend to work very well. They tend to screw the files up. Anybody using Plant 3D, PN ID, AutoCAD Electrical, OK, anything that a database is attached to, be aware that it could possibly screw up database attachments. I don't want you to accidentally make your drawings worse. All right.

      So what I'm-- I want you to see those file sizes, because I'm going to do something then I'm going to show you. So I'm going to open up this store elevations. And I'm going to run a command just W for W block. What do you guys use W block for? Save pieces to a new file, right?

      But W block has a command called entire drawing, or option called entire drawing. Anybody ever-- who hasn't used entire drawing before? I'll say who hasn't. OK, there's a few. So here's what entire drawing does. It lets you pick a new file name, and it saves the entire file to the new name. And it is not the same as save as.

      It strips out any garbage that nothing else can get to. It will not leave any layers or styles that aren't being used. So be aware it'll strip out all extra styles and layers and everything, blocks. You name it. If it's not being used, it's going to get rid of it. It's kind of like a massive purge.

      OK, you probably will still have to purge regapps. I've seen regapps stick around through this, but it does work pretty well. What I'm going to do, I'm just going to put this in the same folder that I have my other files in. And I'm going to name it store elevations dash W block, just to see the difference between the two files. And then I'm going to say OK.

      So once again, all I did was use entire drawing, and I gave it a new name and a folder to put it in. That's all I did, and then I picked OK. That's it. OK, now I'm going to open that folder so you can see the file. So store elevations w block is 204 kilobytes, and it was 3,700 kilobytes. There were some troublemakers in that file. Yeah, for sure.

      Do you guys have any files that just seem like they're way too big, and it doesn't really make sense that they're too big? You can try W block on them. I'm going to tell you that 3D models are going to be bigger no matter what. So if you have 3D models, they're going to be bigger. But if it seems abnormally large for what's typical for your drawings, something like this can help. Question?

      AUDIENCE: What if it crashes [INAUDIBLE]?

      KATIE KING: If the system crashes when you try W block-- have you had that happen on your-- Yeah, that means your file is pretty much screwed. I'm just going to say that but I want you to know. It does mean that there's very bad things going on.

      I usually do all the rest of the stuff first. I regapp purge. I do a regular purge. I run audit and recover. And then I run W block. Because if you run w block and it crashes sometimes there's something else in there holding on causing issues.

      If I get really desperate, I will W block a selection one at a time, and rebuild the file. And sometimes it comes down to taking things out a little bit at a time. So just something to be aware of that's just really good to know about the w block entire drawing if you've never used that before. . You can see that is a pretty big file size difference right there. All right.

      So if you guys want to go ahead and try that, that's the exercise at the top of page 31. It's pretty simple. You're just going to open the store elevations drawing. Do W for W block, and try to do that. Send that out. I know it's time. It's time.

      Are you guys-- I have two more work small things to show. Do you guys want to do the exercises, or you want me to just do it? Just do it. OK, you guys can do the exercises later.

      So I'm going to show you two very small things that are very big. Set by layer. Who's used set by layer? set by layer is an amazing little tool that is hidden in the AutoCAD interface. The purpose of this tool is to fix drawings that have overwriting properties.

      So if you have blocks that belong to xrefs, and those blocks have colors that are assigned inside the blocks-- and so let's say it's red, but the layer it's on is like green. So no matter-- when you change the layer they don't change to gray, right? And then you end up with these pieces all over that are different colors.

      Like, if somebody physically went in and selected the piece and made it red or green instead of a specific layer. OK, so set by layer is really cool. I'm going to demonstrate set by layer. OK, watch on my screen carefully. I'm going to type set by layer.

      Now, you can get this off the window. If you go to the modify ribbon panel, it is the very first button in the drop down. It's called set by layer. Here's what's a genius about it. When you first start set by layer, you can just type in all, and it will get the whole drawing. Then it'll say, do you want to change anything that's by blocked by layer?

      By block is just a different property, and sometimes you want that to be by layer so that your layers-- when you change the layer colors-- it fixes it. So I'm going to say, yes. And then this is the best one. Set by layer, would you like me to include blocks? Yes. Because that is the biggest pain.

      Anybody ever opened the blocks one at a time changing everything to by layer manually with properties? And there's 50 blocks in the drawing, and you're trying to go through them one at a time. Yeah, that's painful. So this will just do it for you in one whack.

      Open the files that you have as an xref, and then just run set by layer. So I'm going to say, yes. And it's going to clean them all. And it said, 66 objects modified, 125 objects did not something-- did not need to be changed. It fixed 66 things for me like that. Set by layer is really cool. So set by layer.

      Last but not least, most of you have probably used this, overkill. Who's used overkill? It's meant to help you delete access objects. It looks for duplicates, and then gets rid of the duplicates.

      So here's how overkill works. You just type in all so it looks through the whole drawing. And then it comes up with the dialog box. It lets you set a tolerance. And then it lets you tell it which properties you might want to ignore. Like, even if two things are on different layers, I still wanted to find if there are duplicates so I've got layer check.

      It can also do kind of cool things like optimize polylines and combine collinear objects for you, kind of like P edit. OK, pretty cool. I'm going to go ahead and pick, OK. Let's see how many duplicates. So it says I found zero duplicates, but 21 overlapping objects.

      I'm going to run over to model space, and run it here. I don't think it did both spaces. Let's see. Yeah, so in model space eight duplicates were found and deleted. This is stuff you probably normally wouldn't bother with. But they're kind of annoying, because when you get in your drawing there's, like, pieces under pieces. So this can fix them for you.

      If you have AutoCAD Civil 3D or AutoCAD Map, try the map clean command. That is an amazing command. So if you have Civil 3D or AutoCAD Map-- and this is not in plain AutoCAD-- there's a command called map clean. It is an amazing little tool. You should check it out if you have one of those two products. all right. We're done. We're done. All right.

      I have one box of candy left. Let's see who's going to get it. Oh, please, make sure you do an evaluation for me. Please, I would love it.

      Last year I took second-- I tied for second place for best lab, and I would love to get first place. Heck, I'd like to just tie for second place again, that was great. So I'm in a hit go, and we'll hopefully get somebody who's here still. Elena? All right. Here you go.