Community
Civil 3D Forum
Welcome to Autodesk’s Civil 3D Forums. Share your knowledge, ask questions, and explore popular AutoCAD Civil 3D topics.
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Profile Middle Ordinate Expression

9 REPLIES 9
SOLVED
Reply
Message 1 of 10
AllenJessup
892 Views, 9 Replies

Profile Middle Ordinate Expression

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.

 

Does anyone know a better way.

 

Allen



Allen Jessup
Engineering Specialist / CAD Manager

9 REPLIES 9
Message 2 of 10
Jeff_M
in reply to: AllenJessup

Use the "Tangent Offset at PVI" label property. This is the distance from PVI to the profile elevation. Here is the expression I use to get the midpoint elevation.

IF({Grade In}<{Grade Out}, ({PVI Elevation}+{Tangent Offset at PVI}), ({PVI Elevation}-{Tangent Offset at PVI}))

 

Jeff_M, also a frequent Swamper
EESignature
Message 3 of 10
AllenJessup
in reply to: Jeff_M

Very nice Jeff. Thank you. I'll see if I'm talented enough to use it in a few minutes.

 

Allen



Allen Jessup
Engineering Specialist / CAD Manager

Message 4 of 10
AllenJessup
in reply to: Jeff_M

Worked very well. Thank you.

 

I'm going a little batty trying to match the labels on the attached.

 

Allen



Allen Jessup
Engineering Specialist / CAD Manager

Message 5 of 10

Hi,
I am using Civil 3D 2014.
When I try to use this expression, it tells me "undefined property".

Please help.

Message 6 of 10
Jeff_M
in reply to: Kenth_Kristoffer

Kenth, this expression works fine for me in C3D2014 (and all other versions I have installed). Which label style are you trying to apply it to?
Jeff_M, also a frequent Swamper
EESignature
Message 7 of 10
Kenth_Kristoffer
in reply to: Jeff_M

I tried to apply it under:
Profile>Label Styles>Station>Major Station>Expressions
and
Profile View>Label Styles>Station Elevation>Expressions
Message 8 of 10
Jeff_M
in reply to: Kenth_Kristoffer

This is only applicable for vertical curves. Therefor, you will only find the needed items in the Profile Label Styles->Curve expression builder.

Jeff_M, also a frequent Swamper
EESignature
Message 9 of 10
Kenth_Kristoffer
in reply to: Jeff_M

Thank you, I found it.

Message 10 of 10
mlokay
in reply to: Jeff_M

This is great thanks.   I would like M value to be a distance not an elevation however.   Any help on how to achieve that?

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Rail Community


Autodesk Design & Make Report