Discover the process of changing the display style for labels in a profile view window and learn how to customize it to return different data. This article delves into the selection and modification of label styles, such as depth, station elevation, and projection, and how to define their individual characteristics.
Key Insights
- The article explains how to select a label style and modify it based on specific requirements, including changing its contents, text height, rotation angle, attachment point, x and y offsets, layers, line weights, and border information.
- It further elaborates on how to define the characteristics of these label components, such as the line that goes between the two endpoints, the text component of the label, and the display of data returned by the label.
- The author provides an example of modifying a depth label to return the distance between two points, illustrating a step-by-step guide on how to edit the label style, change the contents, and apply the changes.
Note: These materials offer prospective students a preview of how our classes are structured. Students enrolled in this course will receive access to the full set of materials, including video lectures, project-based assignments, and instructor feedback.
In this video we're going to talk about changing the display style for the labels that we just placed into our profile view window to return some different data that maybe we wanted to display rather than what was given to us. So the one thing to keep in mind when we do the annotation drop down and we select something like profile view labels and station elevation or depth this is a quick way for civil 3D to select the type of label you want and then it automatically applies a certain label style to the label that you're going to be placing.
Now if you wanted to pick the label style rather than having civil 3D pick it for you based on some of the commands that are inside of our settings tabs you can go up to annotate add labels and then drop down your feature to profile view then select the label type you want either depth station elevation or projection so if i did depth i could drop down and then select my label style and we have different label styles so depth is the one that civil 3D chose for us we could do grade percent slope one and X or standard or we could create one of our own since we know that we have a current one here that is depth i'm going to go ahead and go into my settings tab i'm going to go to my profile view i'm going to go to my label styles i'm going to go to depth and then i'm going to go to my depth label style here i'm going to right click on it i'm going to select edit so when i do that i have my label style composer for my depth label here i have a name of depth and i have who created it and i could put it in the description moving on from this information tab we have our general tab so inside of our general tab we have the options for what's the text style what is the label visibility what layer we on what is the behavior for this label so the orientation reference so whether it's a object the view or the world coordinate system we have a first a forced insertion so none top or bottom for how we're going to insert that label we have plan readability whether or not the text flips based on the rotation of that label and then we go on to the layout tab so the layout tab is kind of where we have most of our information for this label so inside of the layout tab we have the options for the different types of components that go into this label so the current one that we have for depth has a line a depth which is some text information we have some arrows and then some markers so this label has been created by civil 3D as kind of a predefined label style and so all of these components were added if you were creating one from scratch you would go ahead and drop down into here and then select the type of object you wanted to add into your label and then add those in and then define their character traits so we have text line blocks directional arrows and then reference text so if we go to look at markers what we're looking at here is these are blocks if we go to the end arrow or the start arrow these are arrows actually these ones are blocks direction arrows could be used but in this case it's a closed filled arrowhead so then we have the depth which is like i said before text and then we have the line which is the line that goes between the two endpoints so the most important piece that we have in here is this depth item which is the text component of our label so inside of text components for labels depending on which type of label you're using you will have different contents available to you so inside of this window here we have our name our visibility and our anchor and our anchor point but more importantly we have our contents of our text our text height our rotation angle our attachment point our X and y offsets the layers the line weights and the maximum width and then border information so inside of contents this is where we're going to get the data that we're pulling for that label i'm going to go ahead and click on the ellipses and i get this additional text component editor window so inside of here this is
Where we get the codes for the text that's going to return inside of our window so what i'm going to go ahead and do is i'm going to modify this by erasing out the depth information and then i am going to choose a new property so the original property that was in here was 0.2 elevation minus 0.1 elevation so we could return just the station for 0.1 just the elevation for 0.1 same thing with 0.2 we can do the grade between points we can do what we had before which is 0.2 elevation minus 0.1 elevation we can have the slope length the slope angle the distance between 0.1 and 0.2 and then name a description of what the label is so i'm going to go ahead and actually change the name of this one in depth to distance and then we're going to go ahead and do the distance between 0.1 and 0.2 so i'm going to choose distance between 0.1 and 0.2 now we have the options of what units are we going to use what precision how we're going to round the decimal character the digital grouping and then the sign and then how we output this number so i am going to type in some text where i'm going to type dist and then colon and then space and then what i'm going to do is use this arrow to bring this distance between 0.1 and 0.2 code into this text window so i'm going to hit the arrow and the code for returning the number that is the distance between 0.1 and 0.2 shows up right here so i'm going to have distance and then i'm going to go ahead and add in the foot symbol so that we have a number with a foot symbol so i'm going to go ahead and click okay i'm going to go back to my information tab and i'm going to type in distance then from there i'm going to go ahead and go to the drag state tab so just as we had a drag state for the station elevation this controls what the drag state would be for your label and then moving on from there we have the summary tab which summarizes all of the previous tabs just in this section here you can expand each one out individually and modify that content if you needed to if you didn't want to go back to the individual tabs so i'm going to go ahead and hit apply and hit okay and what we're going to see here now is that this label says dist 299.7 so we now know the distance between this point to this point so moving on from there i'm going to do the same thing for the label style for our station elevation but we're going to do that in the next video