Join Josh Modglin for an in-depth discussion in this video Code set styles, part of AutoCAD Civil 3D Essential Training.
- [Instructor] So far we have simply glossed over and highlighted where a code set style is used. We've identified that a code set style is connected to the codes used with points, links, and shapes. But let's get a little bit closer look and use a code set style to label our cross section. So in this exercise, let's go ahead and open it up, 09_04. We're going to make some edits to a code set style. Now the code set style we're using in this drawing for our cross sections, we can easily identify.
Now ultimately really we have three different sections drawn here. Notice here that I've selected what looks like the cross section of the road, but it's actually the surface section of the proposed surface. Notice how close that proposed surface follows the corridor. Now I'm going to hit Escape and I'm going to select the cross section of the corridor. And we're going to go to the Section Properties, and you see the style associated there.
That is the code set style for that cross section of the corridor. Now the code set style, if we go to our settings here, under General, Multipurpose... notice Marker, Link, Shape. That sounds familiar, that's what a subassembly is made up of... And all of that comes together in the code set styles. We identified that IM-Print is what's being used, so I'm going to right-click and choose to Edit this style.
Now if we go to the Codes tab of that code set style, you'll see the codes categorized in Link, Point, and Shape. Again, what a subassembly is made up of. So if I expand out Point, notice that right now there's really no styles. There's a very generic base style creation. What it means is if there's no codes at all that are found on any points, use this marker, which in this case, we don't have any circles drawn in our cross section view.
Did you notice that? The cross section view doesn't have any circles, whereas if we looked at the assembly itself, because it's a different code set style, you have circles at every single one of the marker or point locations. The default style is no markers as well, so we have no circles drawn at all. And that's understandable. We don't want a bunch of circles drawn when we print. We're going to right-click though on Point and we're going to add another code. It says well what style of marker do you want? Well we don't want an actual marker, we don't want a circle.
We're going to add a label at the edge of travelway. In fact, that's the name of our code, edge of travelway. Now we've learned this code by going to the specific subassembly's help. Every subassembly that comes shipped from Autodesk out of the box, at the bottom of the help page for that subassembly, is what's called a coding diagram. Get familiar with the coding diagram of every subassembly that you use on a regular basis.
But after time, I've learned to memorize these, and so I know ETW, all caps, no spaces, that is the code that marks where the edge of the lane meets the gutter. No style for the marker, but we are going to add a label style. And we're going to choose the Offset Elevation label style. But take a look a little bit more here what is controlled. We can give it a Pay Item. So you can imagine a Shape. We can add in here, curb concrete or whatever the Shape code is.
Give it a Pay Item and the Pay Item then will pick up the quantities of the extruded volume of the entire curb concrete applied to this corridor. You can also control the feature lines. And do you remember when we drew the corridor that the feature lines, when it was cut, were red and the feature lines or the lines drawn along the edge there, if it was in fill, it was a different color? All of that is connected to the code and the feature line style found in the code set style applied to the corridor.
So this is controlled, not at just the assembly, it's controlled at the subassembly, it's controlled at the corridor, it impacts, of course, codes impact the surface, impact the boundary... It also impacts how our corridor is drawn in cross sections. We see the power of the code in learning these codes. So now that we've added this code to our Point section, we have ETW and the label style IM-Offset Elevation.
We click OK. It's going to rebuild all of these different sections applied and we see all the labels are written right at that location of the edge of travelway, at every single one of our cross sections, no matter if the lane has been stretched, or where that edge of travelway may find itself. A great way to add labels that dynamically follow a specific location is by putting the correct code in to our code set style and letting the code set style add the labels for our cross section view.
This course gets you up and running with AutoCAD Civil 3D. First, instructor Josh Modglin shows how to model a surface, lay out parcels, and design geometry, including the making of horizontal alignments and vertical profiles. Next, Josh demonstrates how to create corridors, cross sections, pipe networks, and pressure networks. Then, he covers working with feature lines and grading objects, and how to share your data. He wraps up by providing an overview of plan production tools.
- Navigating the Civil 3D interface
- Using point groups and description keys
- Importing survey data
- Managing figures
- Creating and analyzing surfaces
- Creating parcels
- Working with alignments
- Working with profiles and profile views
- Working with assemblies and subassemblies
- Creating Basic and Advanced Corridors
- Using an Intersection Object
- Making sample lines, cross sections, and section views
- Creating a pipe network
- Understanding pressure parts
- Creating and editing feature lines
- Creating and editing grading objects
- Sharing and referencing data
Skill Level Beginner
Some of the exercise files do not properly function.
This course was built to work with the latest release of AutoCAD Civil 3D. If you are not running AutoCAD Civil 3D 2018 there are some exercise files that will not work for you.