AutoCAD Civil 3D :: Structure Label Expression - Circular Versus Rectangular
Dec 13, 2013
I'm trying to create a custom expression in a structure table that will list the "size" of the structure, wheter it be a circular or rectangular structure. My column simply states size and I want it to label 5' for a circular or 4'x4' for a rectangular (or whatever the specific sizes are). The thought was to create an IF function, but Structure Shape was not available to use in expressions (among other problems). Short of using the description field (tedious) as a workaround?
In this example - CB-104 is a rectangular structure and CB-106 is a circular. I'd like the CB-104 size to read 4'x4'.
In the case of a pipe network structure, where one pipe is circular (say 60") and the other pipe is box (say 5'x4'), how can you get the "connected pipes" label to reflect [size in feet X size in feet] for the box pipe and [size in inches] for the circular pipe?
I don't see how you can conditionally affect a portion of the "connected pipes" label since it's one label object.
I am trying to make a single point label style that will return a blank line in the label if no data is provided.
The way i have it coded now my label for a structure with only two inverts comes out looking like this:
STCB 500 Rim=300.00 12" CONC N IE=295.00 12" CONC S IE=296.00 IE=300.00 IE=300.00
I would like the number of lines returned to match the actual number of inverts in the structure and leave out the place holders.:
STCB 500 Rim=300.00 12" CONC N IE=295.00 12" CONC S IE=296.00
I can work around this by having a label style for each number of pipes, but i would also like this code to be inseted into a table style and in that case i don't know of any way to assign multiple styles to one table.
The problem is that 1 INV-4 INV are being defined by an expression that reads like
{Point Elevation}-{1 MD}
so when no data is intered for my UDP "1 MD" it returns the point elevation. I want an equation that says if rpoitn elevation -measure down=point elevation then no data is shown.
I would like to build an expression that I can use in a label at a structure in a profile view to show the horizontal angle change on the alignment at the structure.
Of course, in the available structure expressions, we do not have the alignment delta angle at that point even though I have a referenced alignment in my pipe network.
Our subdivision code has minimum drop across manhole for different ranges of horizontal angle change.
I want to create a label that shows the minimum drop required at a manhole off it's referenced alignment and I would like to see it on the profile view, because that is where the drop value is relevant.
I am trying to create a label for fire hydrants in plan view that shows the flange elevation. I want the elevation to be 0.4' above the adjacent road profile. I added a reference text component to my label style that shows the profile elevation. Where would I find the expression for the profile elevation reference text?
and I have tried it using {Station Value} instead of {Raw Station}
Here's what it's meant to do (because it's a long one):
If the station value + 5 is not divisible by 15, return -1 If the station value + 5 is divisible by 15, return the profile elevation, if the profile elevation is in the 100 range, subtract 100 if the profile elevation is in the 200 range, subtract 200...etc
Here is my conundrum: If I use the expression in a profile label, it works fine. But if I use it in an alignment label as reference text, it returns -1 for every value.
I was wondering if it is possible to use an expression in a general note label? The type of label I am using is a general note label that displays our finish grade profile elevation in plan view. What I am trying to do is add a value to that label for the TC elevation and G at the ROW. I noticed in the settings tab of the tool space, surfaces has an expression button that has what I want but I am not seeing that under General/Label Styels/Note. Is it possible to right my own expression? We are using Civil 3D 2008 with Windows XP.
I am looking for a Line Label Style Expression which will perform a rounding function on distance labels that display my "General Segment Length" value.
What I need is to be able to remove "Trailing Zeros" from my distance values, so that if precision is set to say 0.01 and my distance value is measured as 45.5, I do not get 45.50 but 45.5.
How to create an alignment label expression for Geometry Point that will show the delta angle rather than the instantaneous direction or perpendicular direction?
When I open the expression variables available in a label style, I see different options available for different label styles.Can I combine expression variables from different label types? For example, say I want to make an expression that takes the Surface Elevation from a spot elevation label and subtract a variable from a pipe variable such as end invert elevation?
If you can do this, were can I find the expressions file on my computer or network? Can they just be dragged and dropped between label styles?
Is it possible for a civil 3d structure to be displayed correctly in profile view when the alignment does not pass through the insertion point of the structure. See the attached screen capture.
The rectangular structure is a storage tank and there will be a pipe coming in on one end and the exit pipe will be on the adjacent side at the far end, just as the alignment shows - but the structure doesn't show correctly, or now how I expected.
I have my pipe networks data referenced into my Utility drawing and I'm trying to add labels to my structures (catch basins, manholes...). I made styles and selected C-TEXT as the layer for the label, but for some reason they're all on layer 0. The 0 layer is frozen in my viewport but the C-TEXT layer is not, and the labels aren't showing up (but when I thaw 0 they show up)! I can see them in model space and when I click on each label the properties shows it's on the C-TEXT layer...
I need to make a structure label that defines the "PIPE FALL" for each incoming pipe. By "PIPE FALL", I mean the elevation difference between the bottom of the structure and the incoming pipe invert elevation.
Actually, I thought it was going to be pretty simple, just by doing:
I have dragged station offset and multileaders next to each other in the drawing. Everything is set to go on the same layer. I am using named (stb) plot styles. The layer's lineweight is set to .25mm. However, I usually make the leaders be lighter in weight - .13mm. I am using text borders on both of these objects.
I can't get both the text and border to be the same in both objects unless I set everything to Bylayer. Given that I want lightweight leaders, and heavier text, this is unnacceptable.
It seems that the StaOff label style text and border weight in DRAGGED state are controlled by one lineweight setting.
In a multi leader, the text weight is always, apparently, Bylayer, and the text border is controlled by the lineweight set for the leader.
C3D 2012 on 64bit Win 7 all up to date Dell Precision 7core 8GB RAM NVIDIA Quadro FX 1800M LDT/C3D user since release 12
Is there a way that I can get a small angle between my leader and the landing? When I get to a certain angle, the text flips. I can't place the text exactly where I want it because of this. I've tried changing the Readability Bias angle in the label style but that didn't work.
I would like to add a wipeout to this structure label so I don't see the profile view grid lines. I want the wipeout to be the exact width and height of the label. I have tried numerous edits but can't seem to get it. What is the easiest/best way to add this wipeout?
I have a pipe network created that is shown in multiple drawings. I created labels for the structures showing Rims and Inverts. How to put the Rim info on a different layer than the Invert info? Right now the label has 3 different components...I feel like there has to be a way to put each component on different layers...
I need to make a structure label that defines the "PIPE FALL" for each incoming pipe. By "PIPE FALL", I mean the elevation difference between the bottom of the structure and the incoming pipe invert elevation.
Actually, I thought it was going to be pretty simple, just by doing:
Typically when we have station offset for a storm structure shown to center of structure. How do you handle station offset with a storm structure label for say back of curb.
I would like to know if it is possible to display the pipe inlet/outlet elevation in my structure label. It seems like it is not possible.It is possible to use the inlet/outlet elevation of the pipe in my pipe label however I would like to display it in my structure.
Water main pipe network profile labels for structures do not attach to the structure properly in C3D 2014 (this same label style works fine in all previous versions of the software, through the 2013 release). The labels come into the drawing at a northing of 0 rather than attaching to the structure itself. However, if you grip edit and reset the labels, they reset to their correct attachment point. Additionally, if you attempt to grip edit the profile labels with Ortho mode on, it moves the label back to a northing of 0. I've created a new block for the structure, but that does not resolve the issue.
I've included a link to a Chronicle video that demonstrates the label behavior. [URL] .......
When I reposition structure labels (in their 'dragged state'), the component <[Structure Offset Side(CU)]> does not show up while in drag mode. Sort of makes it hard to see the limits of the label if you are trying to place it in a congested area. Watch the "LT" part of the label in the GIF below.
No, it's not that big of a deal, but alignment labels with the same component do not behave this way, so I have to wonder why the structure labels do.....
I have a road with storm drain and sanitary sewer. There are three alignments, one for the road centerline, one for the sanitary sewer and one for the storm drain. I would like to label the structures with the stationing from the alignment it's on but I would also like the label to include the road centerline station perpendicular to the structure.
A way to change the display order of pipes connected to the structure in a structure label? (plan and profile) Say you have a 10", 6" and 12" pipe connected to a structure, modeled in that order, so label would place them 10, 6, 12. we would like the label to display the order as 6,10, then 12 without having to drag the pipes off and then having to re-input inverts.
I have a label style creating a callout bubble for structures in a pipe network, but it keeps placing the label (and therefore, the leader when dragged) at the edge of the structure, and I want it to go to the center.
am in the process of setting up a standard file for all designers to use our local office. This file will have most of the styles created for profiles, alignments, surfaces, profile views, etc... as mostly specified by the customer and industry standards.
I am having trouble maintaining the correct annotation scale in the viewport in paperspace and when plotting.
The attached word document has 3 figures. Fig 1 shows the correct viewport scale and correct annotation scale. Fig 2 shows how the annotation scale abruptly changes during the plotting process. This abrupt annotation scale change sometimes happens during the regen process or when I switch from layout to model space and back to layout.The annotation scale goes from 1:1 to 1:40 just as in the viewport. This change in annotation scale is not supposed to happen because I want to preserve a certain plotting height for my text versus a viewport scale by using various annotation scales.
I have researched the procedures for annotation scale and have not found any info related to this "abrupt change in annotation scale".
Curiously , this abrupt change in annotation scale does not happen if the text does not belong to any styles within Civil 3D. Stand alone text stays at the correct annotation scale and is not affected in the same way.
I am currently trying to model a multi cavity mould tool. The cavities themselves do not follow either a circular or rectangular pattern.I have modelled one of the cavities using a revolve internal to the tool. I have also sketched out on the upper surface centre points where I need the cavities to be.
I was hoping I would be able to copy the cavity feature, select a base point and then use the centres from my second sketch to place the cavities.
I don't seem to be able to find this option. The copy and paste feature will likely work but it is hugely long winded positioning each cavity individually. Any method I might be able to use to model such a part?