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
I would like to create an expression that returns the inner pipe diameter if the pipe is circular, and the inner height and width dimensions if the pipe section is square or elliptical. I tried this in the expression editor:
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 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 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'd like to label profile elevations at horizontal geometry points. I accomplished this with a profile reference. Essentially labeling bottom of curb at pc, pt, mid, and pi, and would like to get and expression to add the top of curb, but under hor. geo style expressions you cannot pickup pgl data and PGL style expression are not loaded in the hgp data.
Note: Its all Resistentialism, so keep calm and carry on 64 Bit Win7 OS.
have a diesel expression that would read a layout tab? for example if i have a layout tab names 244180101 I would need it to read the last 2 digits in the layout tab.
AutoCAD Civil 3D 2014 HP Z620 Workstation 64-bit Duel Intel Xeon E5-2620 @ 2.00 GHz Ram: 48 GB
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.
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.
I have created an object (Tube012) that i am trying to use as a rotational control mechanism / rig to move some vertices (morphed spline 012) through a series of progressive morph targets.
i have created morph targets that work as key framed morphs but when i change these to progressive morphs and try to drive with an expression nothing is happening.
The work i am doing is largely based on the great work of Ruramuq and Harvey from the thread "Rigging a wave (3D's Max)" Not sure why. I have file from Ruramuq and have tried to replicate his technique. Everything works well in his file so all i need to do is replicate. The answer is in here but i cant tell what the difference is between his and mine.
I need to make interchange shoulder widening for my sub assembly.
there is picture where I have the shoulder which I want to add target offset in corridor to make offset of the edge of shoulder. but I don't know how to write expression that when top link will offset slope will move with it and the bottom link will connect in crossing of this two points.
How to create an alignment label expression for Geometry Point that will show the delta angle rather than the instantaneous direction or perpendicular direction?
The neww line expressions for Grid distance are phenominal. My problem is getting them into curves. All I want to do is apply the grid scale factor to the curve length and radius, but I can't narrow down the parameter. The Drawing Scale conversion links to the annotation scale. I've also noticed people just scripting in the value, but that doesn't work when the majority of the office doesn't operate at that level.
Also, I work in grid and need to convert to ground. I noticed that the system only does ground to grid, so I'm inputting an inverted scale factor to get the results in need in my distances.
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?
Now, in my understanding, the flow arrow should either be rotated 0, or 180 (pi radians). But clearly, some of them like to have their own mind about things, and decide on some other rotation. It seems that on the steep slopes, the arrows go a bit skew.
I think the skew is related to the actual elevation difference of the segment, rather than the steepness of the slope. A long segment with 15% slope has a worse skew than a short segment at over 30%, presumably because the elevation difference from the start to the end of the segment is larger.
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 am trying to work out a way to set up my Structure Table so that I can show either the Inner Pipe Width OR Headwall Base Width to avoid having Question Marks showing in my Table? Is there a Function in the expressions that equates to a Non-Existent or Null Parameter. Ie.
IF({Inner Structure Width}=???,{Headwall Base Width})
Also, Is there a way to hide Structures from a Table, in particulat, Null Structures?
say you make some parcels in your project with custom data fields like: id_no, permit_no, acres_served etc. you attach an agency provided shape file via an fdo connection that has many fields of information like above.
when you right click on your parcel and do parcel properties you get a tab that lets you input the custom parcel data.
lets say you print an fdo map label showing, say, the id_no, provided in the shape file. Then in your custom parcel properties for id_no you type that in.
is there a way to make an expression to put in the other custom parcel properties that will read, say, the permit_no(id_no) from the fdo like and put that information in the custom parcel property field?
I'm playing around with the FEMA NFHL Database and have some text set up to provide the Flood Zone of the Polygon as shown below. I'm getting an invalid expression, when I go to add the word Zone to the front of the data.