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: 

Surface Slope as an angle in degrees?

2 REPLIES 2
SOLVED
Reply
Message 1 of 3
Anonymous
2496 Views, 2 Replies

Surface Slope as an angle in degrees?

I'm trying to create a Surface Slope Label to give the slope as an angle in degrees.

 

Under Toolspace->Settings->Slope I have created an expression called "Angle Surface Slope".

 

The Expression is

 

1/TAN({Surface Slope})

 

Format result as "Angle".

 

Then under my surface slope style, the text contents is:

 

<[Angle Surface Slope(Udeg|FD|P2|RN|AP|GC|UN|OF)]>

 

However, my slopes are all displaying as "???"

 

 

Any clues as to where I'm going wrong would be most appreciated!!

2 REPLIES 2
Message 2 of 3
Anonymous
in reply to: Anonymous

Solved.  The expression needed to be

 

ATAN({Surface Slope Depth}/{Surface Slope Horizontal Distance})

 

 

Message 3 of 3
igi_pop
in reply to: Anonymous

Old one, but a quick solution to what I was after 🙂

Cheers,
Iggy
Custom build;ASUS Z790 Prime Z790-P;i5-12600KF @3.6GHz; ASUS RTX3070Ti 8GB GDDR6X; Win11pro x64; 128GB RAM DDR4; SSD 2TB 980 PRO M.2, PCIe 4.0 x4,
"I'd rather have a bottle in front of me, than a frontal lobotomy."

AutoCAD Civil 3D Certified ProfessionalAutoCAD Civil 3D Certified Professional

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

Post to forums  

Rail Community


Autodesk Design & Make Report