AutoCAD Civil 3D :: User Input In An Expression For Profile Label
Aug 23, 2012Is there any way to allow user input in an expression for a profile label?
View 5 RepliesIs there any way to allow user input in an expression for a profile label?
View 5 RepliesI 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?
Civil 3D 2012 SP3 | Win 7 64-bit SP1
Xeon E5-1620 @ 3.60GHz, 16GB Ram | NVidia Quadro 600
Here is my expression:
IF((FMOD({Raw Station}+5,15))!=0,-1,({Profile Elevation}-100*FLOOR({Profile Elevation}/100)))
I have also tried it without a pair of brackets:
IF((FMOD({Raw Station}+5,15))!=0,-1,{Profile Elevation}-100*FLOOR({Profile Elevation}/100))
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'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".
Civil 3D SP2.1
64 bit
windows 7
I need to edit a personnal expression in VBA ("COMPA")
I join an attachment to show you what i want to edit.
The problem is that i don't find where i can modify this expression in VBA in the database.
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.
View 3 Replies View RelatedI 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.
I need this to round for:
1 decimal place
2 decimal places and
3 decimal places
How to create an alignment label expression for Geometry Point that will show the delta angle rather than the instantaneous direction or perpendicular direction?
View 1 Replies View RelatedWhen 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?
Am I limited to the fields that appear on the label for a pipe network data band, or can I add my own customized expressions?
Using Building Design Suite Ultimate 2014
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'.
Civil 3D 2014 SP1
One of the main things I do is label elevations from an alignment and a profile, in plan view.
I have a style that does this, and it gets to the point where it asks to pick the profile.
If the profiles are data ref's, i can pick from a list, but if the alignment is xreffed, you must do a graphical pick.
This is super inconvenient, as my profile views are in a different base than my alignments, and they are way off to the side.
So I must xref the profile base in, and split my viws so I can pick them without excessive zooming.
Did Autodesk neglect the fact that if they make objects available via xref, they also need to make child objects available?
If I choose to use a dref as the data source, I must make a dref to the alignment and each profile I want available.
Three steps per street at a minimum.
This is also super inconvenient.
I'm struggling to find a decent workflow on this. Both approaches seem painful.
I had always thought the xreffed objects would provide the profiles, and only found they do not just now [URL]...
I'm trying to build an expression to display the Middle Ordinate for profile curves. I don't usually do this but it's required for this project.
The first thought was to subtract the PVI elevation from the profile elevation. The PVI elevation is easy but I don't see an easy way to get the profile elevation. I can go through the whole formula for calculating the grade. But that will probably take some debugging.
C3D 2013. We have profile line labels, some of which get manually edited (for example, change the "<[Tangent grade(FP|P2|RN|AP|GC|UN|SD|OF)]>" to a static number such as 0.29%).
However, if you CTRL+Click and select one of these labels and change the style of that one label, then the manual edits are lost and the label reverts back to the default string.
Is there any way to turn this behavior off?
I'm trying to label my Profile label stations as raw stations, 20~20 meters, and I'm not being able to adapt the format to STATION 0, STATION 2, without any plus zeros or +, or -, or commas, or anything, as following in the image.
Is there a easy way to do it?
I have an alignment label that I normally use to show the PVI's of a profile in the plan view.
This is a little unusual, but in a specific case I wanted to design my profile at one alignment, but show it at another. I designed my swale profile in the pathway profile view and then superimposed the swale profile on the swale profile view. I then went back to the swale alignment to add these labels.
It's a no-go AFAICT. The only profile available for me to select for these labels is the original ground profile from the surface.
I'm working with a structure profile label style and it seems like the only way to anchor the position of the label is based on offsets from the structure itself... Any way to position the label based on the top of the profile view, so that I could make all of my labels horizontally aligned above the profile view?
View 9 Replies View RelatedI am create the stron network. I want structure profile elevation. How to create expression in structure reference alignment profile elevation.
View 9 Replies View Relatedi am following the new feature of CIVIL3D 2013. i have some problems with making user defined properties.
when i make a lable style for figure, lable style should be selected.
But i don't know how to make a properties for text of lable style.
see image below. i select the add labels of annotate ribon -> figur -> add figure labels -> edit section of line label style -> layout tap -> contents below text -> you can see the owership which is user defined properties.how to make that properties?
I am using Civil 3D 2009 version 4.
I have designed a railroad yard that the construction plans require all grading to be to centerline of rail (0.5 feet under the ties) and my profiles are required to be to the top of rail (1.3 feet above the centerline elevation). Since I already have the grading surface done I was hoping there was a way to target my grading surface and add the 1.3 feet to the elevation in the label. Is that passable?
Using the stock 'Elevations and Stations' style I targeted the existing ground for profile 1 and the finished ground for profile 2. Then I tried using the language you enter at the command line to do math in the label (+ 1.3 <[Profile2 Elevation(Uft|P2|RN|AP|Sn|OF)]>) but that only generated a label that read "(+ 1.3 242.00)" instead of the "243.30" that I need for the loading area, for example.
AutoCAD Civil 3D 2012 (Primary), 2011 by contract.
Dell Percision T3500: MS Windows 7 64-bit SP1; Intel Xeon CPU W3505 @ 2.53GHz, 12.00 GB RAM, NVIDIA Quadro 600
Is there a way to insert a jog into a profile label?
View 9 Replies View RelatedWe loaded up C3D 2013 a month or so ago. I exported my user profile (Options>Profiles>Export) from C3D 2012 and loaded it into 2013. Now the profile will not stay loaded. I have to reload it every time I startup C3D. It also doesn't hold my view cube settings or my panes.
View 4 Replies View RelatedI'm trying to label the beginning and end points of a design profile (yellow line in the attached image) using the Horizontal Geometry Station Label tool. For some reason they will not show up.
View 1 Replies View RelatedI 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?
View 9 Replies View RelatedI need to know how to display a proposed profile elevation in the major station alignment label, I mean, for example, I want to read in the label "0+000, 494.444". I've already edited my major station label style adding a (profile type) Reference text, and it only displays "?". I suppose I need to associate it with the correct profile, but I've not figured out how to. I show you how the label looks in the attached image.
View 8 Replies View Relatedi've got a profile with a lot of grade labels, some of which i've turned the visibiliy off. i need to turn some, but not al,l of them on.
Dell Studio XPS 9100
Intel Core i7 CPU 930 @ 2.8GHz
12GB Ram
64 bit
C3D 2012 SP3.0
I have tried all of the expressions below to add the the vertical curve elevation at the pvi to my curve crest & sag labels on my profile and all I get is ??? for the value. I am currently running Civil 3D 2012.
IF({Grade In}<{Grade Out}, ({PVI Elevation}+{Tangent Offset at PVI}), ({PVI Elevation}-{Tangent Offset at PVI}))
{PVI Elevation}+{Tangent Offset at PVI}
{PVI Elevation}-{Tangent Offset at PVI}
I can label the superimposed profile but c3d uses the stations of main profile of profile view.
Thinking on the future.... c3D can have the ability of use superelevation values to calculate the right values of superimposed profiles ?
So I've got a collection of the LabelGroupSubEntity in the ProfileDataBandLabelGroup. I need to replace some values inside them based on what Vertical Geometry Point they are labeling. Is there an easy way to determine what station value it is labeling?
View 2 Replies View RelatedI have a regular AutoCAD line in a profile view and wondered if there is a way of labeling the grade of the line. I'd think I could use and expression to calculate it. But I don't know how to automatically adjust for the vertical exaggeration without having to have a separate expression for all possible situations.
View 5 Replies View RelatedCivil 3D 2013, SP2
Settings > Pipe Network > Right Click > Edit Feature Settings > Default Profile Label Placement, gets you to this point:
Does the highlighted line only apply at the time that the label is placed? I have multiple sewers to label and I want to each set of labels at a different elevation. Changing this default will have NO effect on existing labels?