Slope Label Expression, remove "???" Labels

Slope Label Expression, remove "???" Labels

m_kingdon
Advisor Advisor
884 Views
5 Replies
Message 1 of 6

Slope Label Expression, remove "???" Labels

m_kingdon
Advisor
Advisor

Hi all,

 

During the period of lockdown, I have decided to update some company template label styles.

So far I have written an expression to remove slope labels that on any flat surface.

 

I now want to write an expression that removes any labels outside a surface, the labels that return ???.  But how do I specify that in an expression?  My end goal is to have the labels behave like Spot Elevation of Grid labels, just with sloping arrows.

 

 

labels1.JPG

 

labels 2.JPG

 

 

Mike Kingdon
Civil 3D Zealot

EESignature

0 Likes
885 Views
5 Replies
Replies (5)
Message 2 of 6

Jeew-m
Mentor
Mentor

Hi,

Are they in a grid or just random spot heights.

Can you upload a sample dwg.?

Thanks



Jeewana Meegahage
Design Engineer
Autodesk Civil 3D Tutorials
Facebook | YouTube | LinkedIn







0 Likes
Message 3 of 6

m_kingdon
Advisor
Advisor

I can't etransmit right now, I am working from home.

 

But the labels I am using are surface slope labels.  Not spot elevations.  I have just copied them into a 5x5 grid over my surface.

 

I have added a higher res photo.

 

labels.PNG

Mike Kingdon
Civil 3D Zealot

EESignature

0 Likes
Message 4 of 6

ilia.borisov
Collaborator
Collaborator
Unfortunately in Civil3d you cant test for Null values (like ???) so there is no way to remove it with expression.
Message 5 of 6

Jeew-m
Mentor
Mentor

I am not good at expressions. But I wish this video could shed light you on something.

 



Jeewana Meegahage
Design Engineer
Autodesk Civil 3D Tutorials
Facebook | YouTube | LinkedIn







Message 6 of 6

m_kingdon
Advisor
Advisor

Thanks, but can spot elevations so arrows pointing downhill?

Mike Kingdon
Civil 3D Zealot

EESignature

0 Likes