From the course: AutoCAD Map 3D 2022 Essential Training

Adding drawing data in Display Manager - AutoCAD Tutorial

From the course: AutoCAD Map 3D 2022 Essential Training

Start my 1-month free trial

Adding drawing data in Display Manager

- [instructor] As an alternative, to using the attached drawing queries, you can use the display manager to query drawing information, both in attached, and currently in the drawing this drawing data technique, and display manager has the advantage that the information Creek can be toggled on and off as a separate layer within the display manager. Let's try that now. So we're going to attach two drawings to our current drawing. So we're inside of guelph, and you can see the city outline the background, I'm going to go into the 501 folder, and I'm going to drag the buildings and the streets into my map Explorer. So let's just drag that in to map Explorer. Now I get a dialog box, it says what kind of alias Do you want to use? Do you want to use a C alias, or the previously created alias called exercise files, I've already created that. So I'm going to choose that one instead, that points to the files on my desktop, so it knows exactly where they are. So I'll do that. And I'll do this for the second drawing. So it did it for the streets now it's doing it for the buildings, again, fixed exercise files, and done. So by dragging and dropping those two drawings into my map Explorer, they're now attached, I'll just do a quick view so you can see where they are. And hit OK. And sure enough, there's the buildings in the street. So that's what we're going to base our queries on. So I'm going to read Jen just so they disappear. Now, normally, at this stage, I would go into the query library, and I would do my property or location queries, and so on. But what I'm going to do different in this case is I'm going to use the display manager to pull that data out. So instead of using map Explorer, in the current query, I'm going to use display manager. Now what I can do is under data, there's a Data button there. And I can say, add drawing data. So if you look at the list, I've got all sorts of object class topology, and so on. But then I have this one called query source drawing. Now I can query the current drawing that means if any layers already exists in the drawing, but in this case, I've just attached to source drawings. And that's what I'm going to query. So let's do that. So I have a dialog box here, pops open. And what do I want to query? Actually, I just want to get the buildings. So I'm going to go into the property, I'm going to pick on layer, and I'm going to browse the source drawings for the layer called buildings. There it is buildings, I hit OK and okay, and this dialog box looks almost identical to the data we do and attach drawings. But we don't have a query mode options here, we only have draw, we don't have preview or anything else. So and we don't have execute queries. So we don't have that. And we don't have execute query, but everything else looks the same. So what I'm going to do is I'm going to click OK. And it should query the source drawing for the layer buildings and added as a new layer in my task pane. There it goes, it crews the source drawings, and should draw the buildings. When they're there, there's the buildings drawn in. So what I can do is rename that layer, so we know exactly what it is. So we'll go in here, and I'm just going to call it buildings. (keyboard chattering) And what's great about buildings is that I now have a credible layer that's coming from source drawing that I can actually just turn off it on. So the entire query is toggled on and off. The map base is the unstyled everything else in the drawing. So basically, the only thing else I have in this particular drawing is the city limit. So if I turn off the map base, the city limits will disappear. And we'll come back as simple as that. So we've got two different layers, we've got a query layer. So this is coming from the source drawing. And then we have the map base, which is everything else in this particular TWG. That's what map bases everything else. Okay, so I want to do the same for the streets. So let's go to data, add drawing data, query source drawing. So again, we're going to connect to the drawings that are attached to this particular project. I'm going to use property, I'm going to pick a layer again, I'll choose values. And this time, I'm going to pick streets, click OK. So now we have layer equals streets, property layer equals streets, you know, there's no preview mode or anything like that. And there's no exit, you just hit OK. And sure enough, the street should be created right now. And they are they're being queried in. And what I'm going to do is I'm going to rename this layer to streets. (keyboard chattering) And I can toggle the streets on and off simply by checkbox. Because it's a separate layer, and the same with the buildings. And again, if I turn off the map based, it'll just turn off the city limits, and no other layers. So now I've got three different ways of looking at my data. I can just look at buildings, just look at streets, turn off the map base and so on. So by doing this, it gives me a pre canned query that I can toggle on and off directly from my source drawings. And what's interesting is I can actually query the current drawing. So if I actually want to pull out the city limits there, I can do that too. In fact, I can go data right now, and go add drawing data. And I can query the current drawing. And I could do the same thing property layer values, and the city boundaries there. So I can pick that. And now hit OK and okay. And I'll just call this city boundary (keyboard chattering) or city limits. There we go. And I bet you if I turn that off and on, I've now got ability to toggle the city limits as a separate layer. So the city limits is coming from the current drawing, and the streets and buildings are coming from the source drawings. So I've broken it all out by pre canned queries. So in display manager, querying drawing data, and creating drawing layers is a quick and powerful way to have a layer that is dynamic based on the query and toggleable since it appears to be as a layer separate from the rest of the data.

Contents