& Construction

Integrated BIM tools, including Revit, AutoCAD, and Civil 3D
& Manufacturing

Professional CAD/CAM tools built on Inventor and AutoCAD
Integrated BIM tools, including Revit, AutoCAD, and Civil 3D
Professional CAD/CAM tools built on Inventor and AutoCAD
Any referenced datasets can be downloaded from "Module downloads" in the module overview.
Transcript
00:06
In this video, we're going to look at linework code sets.
00:10
We're going to open a linework code set and discuss the parameters inside of that code set.
00:13
And then we're going to compare those codes to a survey dataset to see how the codes are read inside of that survey dataset.
00:20
So when we set our survey user settings,
00:23
we directed Civil 3D to look to a specific file that contained our equipment databases, our figure previous databases, and our linework code sets.
00:31
So if that was setup correctly,
00:33
what Civil 3D is going to do now is it's going to populate a already created linework code set for you called Essentials.
00:41
If you were working inside of Civil 3D not as part of these video sets, what you would have to do inside of Civil 3D, first, would be,
00:48
to set up a linework code set unless less where you're working has linework code sets specified and has a location for you to direct Civil 3D to.
00:58
So if you need to create a new linework code set, what you're going to go ahead and do is right click on Linework Code Sets select New.
01:04
Since we already have a linework code set, we're going to go ahead and go to Essentials and we're going to right click, select Edit.
01:10
So inside of this window is the Edit Linework Code Sets window,
01:15
and we are basically setting our codes for how Civil 3D is going to look at the field data inside of a survey database.
01:23
So we're going to go and look down the list, starting with coding methods.
01:28
What this is basically saying is that after your point identifier, how is Civil 3D going to tell when your field codes start.
01:38
And so you have a point description of, say, GS for ground shot,
01:42
and then if there's a Space, Civil 3D is going to see that space and it's going to say, this is the beginning of the field codes.
01:49
And so the field code escape is kind of the opposite of that, it's saying, once I've started reading these field codes,
01:56
when do I decide that I'm done reading that field code, and I switch over to comments.
02:01
And so a slash would say, I'm going to stop reading those field codes, I'll continue to the end of the line,
02:05
but I won't implement any more text inside of this field code.
02:10
Start in comments mode is basically flipping how Civil 3D reads everything.
02:15
When you get to your field codes, it will start in comment mode and it will wait until it sees that field code escape.
02:21
And once it sees that field code escape, it will switch over to reading the field codes and implementing them into the drawing.
02:27
An automatic begin on figure prefix match basically looks to your figure prefix database and says,
02:33
do I have a code that matches this figure prefix database?
02:38
If it does, I'm going to start to figure on it.
02:41
Otherwise, it won't start to figure and it'll look to the rest of your code sets.
02:45
If you don't have this checked basically, what you have to do is you have to always when you want to create a figure,
02:51
use your begin command for that figure.
02:55
So moving on, now we have our special codes for how to dictate what's going to happen with these figures.
03:00
So we have begin which begins a figure, continue would continue a figure,
03:04
and within that figure, close basically takes the point that you're on and loops back to the beginning.
03:10
Horizontal offset and vertical offsets are creating offsets, whether it's horizontal and vertical, and then stop as offsets stops those offsets.
03:18
Then we have our line segment codes.
03:21
We can recall to a specific point, connect to a specific point, create a rectangle on the point that we're reading currently,
03:28
make a right turn based on where we are at currently and an extension to there.
03:34
If you use a negative number, it would be a left turn.
03:36
And then you can also choose to extend a line past a point by using the Extend command.
03:42
Then we have a curve settings, which are begin curve, end curve, creating a circle on the point that we're at,
03:49
and then specifying whether a point is on a curve versus a beginning or an end of a curve.
03:55
The most common ones that I see used in my day-to-day work is begin and end curve.
04:01
And then also begin code, end code, and close.
04:07
So what we're going to go ahead and do is I'm going to open up a survey dataset, and we can see how these code sets are implemented.
04:13
So if we look at this code set or our survey data, you'll see point 306 is a building noted by the BLD,
04:22
and it begins it and draws that building from 306 all the way until you get to 309,
04:28
and then it finds the CLS command for close and it loops back and will create a closed shape from 306 to 309.
04:36
Then we move on to 310 and you will see that it begins a SWL, which is swale, and it creates a swale from 310 all the way to 333 and then ends it.
04:48
So we will not loop back to 310, we will just stop at 333 and start a new code at 334 and begin a new swale moving on until it reaches 341.
04:59
If we navigate all the way up to the top of our survey dataset, what you'll see is we're now working with an edge of pavement,
05:05
and you'll see begin of that edge of pavement moving on to the beginning of a curve of that edge of pavement,
05:11
moving on until we get to the end of that segment and the end of that curve.
05:15
So what Civil 3D does is it starts with a begin, it continues reading until it finds that end,
05:21
and if it encounters another code in between, it starts that code.
05:25
So we will have a linear segment beginning and then we will have a beginning of a curve,
05:30
and then we would have an end of the entire segment code and move on to a new code for figure.
Video transcript
00:06
In this video, we're going to look at linework code sets.
00:10
We're going to open a linework code set and discuss the parameters inside of that code set.
00:13
And then we're going to compare those codes to a survey dataset to see how the codes are read inside of that survey dataset.
00:20
So when we set our survey user settings,
00:23
we directed Civil 3D to look to a specific file that contained our equipment databases, our figure previous databases, and our linework code sets.
00:31
So if that was setup correctly,
00:33
what Civil 3D is going to do now is it's going to populate a already created linework code set for you called Essentials.
00:41
If you were working inside of Civil 3D not as part of these video sets, what you would have to do inside of Civil 3D, first, would be,
00:48
to set up a linework code set unless less where you're working has linework code sets specified and has a location for you to direct Civil 3D to.
00:58
So if you need to create a new linework code set, what you're going to go ahead and do is right click on Linework Code Sets select New.
01:04
Since we already have a linework code set, we're going to go ahead and go to Essentials and we're going to right click, select Edit.
01:10
So inside of this window is the Edit Linework Code Sets window,
01:15
and we are basically setting our codes for how Civil 3D is going to look at the field data inside of a survey database.
01:23
So we're going to go and look down the list, starting with coding methods.
01:28
What this is basically saying is that after your point identifier, how is Civil 3D going to tell when your field codes start.
01:38
And so you have a point description of, say, GS for ground shot,
01:42
and then if there's a Space, Civil 3D is going to see that space and it's going to say, this is the beginning of the field codes.
01:49
And so the field code escape is kind of the opposite of that, it's saying, once I've started reading these field codes,
01:56
when do I decide that I'm done reading that field code, and I switch over to comments.
02:01
And so a slash would say, I'm going to stop reading those field codes, I'll continue to the end of the line,
02:05
but I won't implement any more text inside of this field code.
02:10
Start in comments mode is basically flipping how Civil 3D reads everything.
02:15
When you get to your field codes, it will start in comment mode and it will wait until it sees that field code escape.
02:21
And once it sees that field code escape, it will switch over to reading the field codes and implementing them into the drawing.
02:27
An automatic begin on figure prefix match basically looks to your figure prefix database and says,
02:33
do I have a code that matches this figure prefix database?
02:38
If it does, I'm going to start to figure on it.
02:41
Otherwise, it won't start to figure and it'll look to the rest of your code sets.
02:45
If you don't have this checked basically, what you have to do is you have to always when you want to create a figure,
02:51
use your begin command for that figure.
02:55
So moving on, now we have our special codes for how to dictate what's going to happen with these figures.
03:00
So we have begin which begins a figure, continue would continue a figure,
03:04
and within that figure, close basically takes the point that you're on and loops back to the beginning.
03:10
Horizontal offset and vertical offsets are creating offsets, whether it's horizontal and vertical, and then stop as offsets stops those offsets.
03:18
Then we have our line segment codes.
03:21
We can recall to a specific point, connect to a specific point, create a rectangle on the point that we're reading currently,
03:28
make a right turn based on where we are at currently and an extension to there.
03:34
If you use a negative number, it would be a left turn.
03:36
And then you can also choose to extend a line past a point by using the Extend command.
03:42
Then we have a curve settings, which are begin curve, end curve, creating a circle on the point that we're at,
03:49
and then specifying whether a point is on a curve versus a beginning or an end of a curve.
03:55
The most common ones that I see used in my day-to-day work is begin and end curve.
04:01
And then also begin code, end code, and close.
04:07
So what we're going to go ahead and do is I'm going to open up a survey dataset, and we can see how these code sets are implemented.
04:13
So if we look at this code set or our survey data, you'll see point 306 is a building noted by the BLD,
04:22
and it begins it and draws that building from 306 all the way until you get to 309,
04:28
and then it finds the CLS command for close and it loops back and will create a closed shape from 306 to 309.
04:36
Then we move on to 310 and you will see that it begins a SWL, which is swale, and it creates a swale from 310 all the way to 333 and then ends it.
04:48
So we will not loop back to 310, we will just stop at 333 and start a new code at 334 and begin a new swale moving on until it reaches 341.
04:59
If we navigate all the way up to the top of our survey dataset, what you'll see is we're now working with an edge of pavement,
05:05
and you'll see begin of that edge of pavement moving on to the beginning of a curve of that edge of pavement,
05:11
moving on until we get to the end of that segment and the end of that curve.
05:15
So what Civil 3D does is it starts with a begin, it continues reading until it finds that end,
05:21
and if it encounters another code in between, it starts that code.
05:25
So we will have a linear segment beginning and then we will have a beginning of a curve,
05:30
and then we would have an end of the entire segment code and move on to a new code for figure.
Step-by-step guide
How to buy
Privacy | Do not sell or share my personal information | Cookie preferences | Report noncompliance | Terms of use | Legal | © 2025 Autodesk Inc. All rights reserved
Sign in to start learning
Sign in for unlimited free access to all learning content.Save your progress
Take assessments
Receive personalized recommendations
May we collect and use your data?
Learn more about the Third Party Services we use and our Privacy Statement.May we collect and use your data to tailor your experience?
Explore the benefits of a customized experience by managing your privacy settings for this site or visit our Privacy Statement to learn more about your options.