AutoCAD Civil 3D :: Expression In Structure Labels For Survey
Sep 6, 2013
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'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'.
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 would like to have the leader arrow attached to the rim of the structure in profile view. Now they are attached along the side of the structure well below the rim. This is for the dragged labels. How can I adjust the arrowhead attachment point?
We have a Structure Style that places a hidden block at the invert of the structure which uses an expression to accomplish Placing the invert text below the structure. (please see attached).
This particular expression was written for a 1"=30 Horz. & 1"=5' Vert. scale and we use it to label our structures in the profile view.
It works great for the 1:30 scale scenario but we also produce 1:20 & 1:50 scale plan / pfl sheets.
3 label styles can be used to accomplish this but would like to create one that would work for all three scenarios if this is possible? (Goal is 1 expression & label style as opposed to 3 of each).
I thought I had it solved & have tried various formulas but can't seem to get it to recognize the various distortions in scale. (The constant being the 5' vertical dimension for all 3 options)
50/5=10
30/5=6
20/5=4
C3D 2012 SP3 & C3D 2014 SP1 Win 7 Professional 64 Bit
When I import Points (w/o Survey Database) that contain Point UDP's they come in just fine, (see attached). However, when I import those same Points thru the Survey Database it does not populate the addition UDP info on the Point Label (see attached). Why? I have created the Styles, Point File Format and I have even added data to Survey DB Extended Properties.
we have serveral situations when we need to label both box culvert pipes and round rcp pipes on the same junction box label. what we cant do is have civil 3d differentiate between the two, it will either give us box labels or rcp labels but not both. we are using civil 3d 2011, does 2012 offer this feature and 2011 doesnt?
I am labeling structures and need to use the station & offset for the street alignment not the alignment for the pipe network. It works great for the station but the offset is not working properly. It reads 0 as though it's reading the alignment for the pipe network. I've tried copying a label and adding reference text, creating a new label from scratch, putting 2 pieces of reference text in (1 for the station & 1 for the offset), and just doing the offset in the reference text instead of the station & offset...none of those have worked.
Any way to label my structures in profile with a vertical line that shows the structure ID, Station number, invert data, etc. all on an adjustable length line. Ive got it worked out for how to show it on a fixed length line, but the problem is when you have multiple structures in close proximity the labels tend to overlap. Dragging the labels upward pull the leader line compnent with them and they do not remain anchored to the structure. When I say leader, I am not referring to the dragged state as that creates a leade with a landing at an angle. What I really want is a line component that stay perfectly vertical and remains anchored to the structure insertion point even though I drag the text of the label upward. Is there a way to do this? Seaching the internet and reviewing ym texts has yet to yield an answer.
I have a pipe network that has labels for structures and pipes. To be able to read the information better, I click on a label and try to move by the grip. The problem is that it freezes the cursor for approximately 10 seconds before I can move it to grip the label and relocate it to another place. Did I miss any setting. Since this is slowing me down in plan production.
Some of our structure styles for null structures are set to display as a block in profile. When we label these null structures in profile, the label dimension line extends to down to zero, way off the profile view. When I change the style to display the boundary of the null, the label pops back into place, but when I change the style back to a block, it will drop back to zero. I just upgraded to 2014 and this did not occur in 2010-2013. I've upgraded a drawing with existing profiles and also created a new pipe network and the results are the same. What changed in 2014 that would cause this?
We are having problems with running out of space and would like to squeeze the line spacing between lines to get more room. We know how to do that in standard MTEXT but can't find the equivalent in the label settings.
I have also noticed problems getting dragged pipe labels to stack. I check the box to stack on drag, but it doesn't seem to do it. We created a separate stacked label style.
I copied some Survey Data of AutoCAD Civil 3D 2013 for Surveyors to my C3D 2013 machine few weeks ago. Now I cannot do the "Import point file" of the Survey2 Data B in Survey Databases, because the Survey2 Data B is locked up - see the attached file that has a red circle with an arrow on. How I can unlocked the locked Survey 2 Data in the Survey Databases.
3- Import my FBK file. The survey figure linework generated doesn't overlay my previously imported asc file. I checked the FBK file and the coord's match the asc file. I'm confused as to why the survey figures don't overlay the survey points from the asc file, since the coords match in both? The survey figures are all shifted .7' and 54deg. from the points. The elevations are all good on the survey figures, as they match the survey points.
So my quick fix is to explode the survey figures, since I don't really need them for what I'm doing, and then select all the 3d polylines and move them to them to an appropriate survey point. Everything then looks fine and I can get the job done.
However, I would like some insight as to why this might be happening. It's strange that the FBK and asc coordinates match, but the survey figures aren't lying over them.
We use C3D 2012 (metric only) - We are attempting to customize our list of structures for Sanitary Sewers. The structure list shows sizes we do not use and we would like to modify them. However, when we try to select the "Inner Diameter" it displays a list of sizes that we can not seem to modify or add to.
I have looked at some of the XML files to try and modify or add new sizes (example: AeccStructConcentricCylinder_Metric.xml) , but they do not seem to be recognized even after I restart the program.
One good thing about null structures is the way they display in 3D. They cover that gap in the pipe segments. Can I steal that shape? I am currently using a simple cylinder for water pipe "joints" and turning it off like most people do I think.
I have drawn a pipe network with multiple concentric sturctures. I need to make them all eccentric now. Is there an easy quick way to do this, or do I have to redraw all of them. When I go to the properties, I cannot find an option that allows me to change this.
I'm a relative beginner with AutoCAD and was looking to find a way to quickly import a selection of survey points (X & Y coordinates) and their labels from an excel spreadsheet using a script file.
I am trying to create a surface rise:run slope label for our company template file. I have it set using the default values that I want. But right now the text is just 1:1...where we want it to read 1V:1H.
how I can keep the label dynamic to the surface, but put the V & H in the label after the values.?
I think it is normal to want a style showing stationing, speed design stattions, etc.But.... Radii of curves ? Clothoid parameters ?
Why is the reason Autodesk developers think that designers dont want to see this information instead of "add labels, aligments, multiple segments,. etc ....
I just merged two catalogs from my work laptop and my home desktop.
One has this folder structure: YY/MM/DD
One has this: YY/YY-MM-DD
I'd like to get them together into one unified YY/MM/DD set of folders, preserving labels and collections from both catalogs.
If I delete images out of the catalog and re-import (to get LR to automagically move/create folders) I lose labels and collections.
If I export as catalog then import as catalog (to keep labels) the folder structure doesn't change.
Creating folders manually in the finder or Lightroom would take foooorever. Is there a way to get Lightroom to move everything into the structure I want, keeping labels, etc?
I am trying to create an expression in SAC and am having trouble getting it to work the way I want. The goal is to have the subassembly figure out what slope to use. If I do not have super elevation, I want it to use the grade for the in the input.output parameters. If I do have super elevation, I want it to use the super settings. So far I have this
get 2012 to make an expression for curve delta angles come in DMS and not decimal degrees? Why do I need this? Well C3D does not have a delta angle label for curve pipe and our client requires it on the drawings.
I'm trying to use an expression for text height and everytime I enter the name of the expression I get "Invalid Input". Is there a trick to doing this?
I even changed a style that "HAD" allowed me to use an expression, to a number then tried to reenter the same expression name that was there and get "Invalid Input".
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.