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: 

Create truncated spot elevation that can be dragged with background mask

9 REPLIES 9
SOLVED
Reply
Message 1 of 10
Anonymous
1554 Views, 9 Replies

Create truncated spot elevation that can be dragged with background mask

I'm trying to create a truncated spot elevation that can be dragged and keep the background mask, any suggestions on how to do this? So far I have the expressions below in the drawing:

 

{Surface Elevation}-100*TRUNC({Surface Elevation}/100)

IF({Short Elevation}<10,0.1/12,0)

 

The expressions do not seem to be working when they are dragged. I've attached a couple pictures. I would also like the leading zero to work to get both elevations of 01.99 and 99.00.

 

 

1.PNG2.PNG

Labels (3)
9 REPLIES 9
Message 2 of 10
AllenJessup
in reply to: Anonymous

As far as the Background Mask goes. On the Dragged State tab you have to select Staked Text and set the Background Mask field to True.

 

drag.png

Allen Jessup
CAD Manager - Designer
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 3 of 10
Anonymous
in reply to: AllenJessup

That is what I currently have, see attached image. However, this then puts the leading zero on the bottom of the label when it needs to be in front of the truncated spot elevation.3.PNG

Message 4 of 10
AllenJessup
in reply to: Anonymous

Can you share a drawing with that Label Style in it? There's a lot of things to look at when trying to figure something like this out.

Allen Jessup
CAD Manager - Designer
Did you find this post helpful? Feel free to Like this post.
Did your question get successfully answered? Then click on the ACCEPT SOLUTION button.

EESignature

Message 5 of 10
Anonymous
in reply to: AllenJessup

Drawing with the label style attached.

Message 6 of 10
JRitner
in reply to: Anonymous

See if changing Display from 'Stacked Text' to 'As Composed' does it.

 

3.PNG


Joel Ritner
C3D Certified Professional
BIM/Systems Manager
Najarian Associates, NJ
Message 7 of 10
MMcCall402
in reply to: Anonymous

You can it set to Stacked text in the drag mode. That will stack the components separately. You could set it to As Composed but I don't think you'll like the results either as it doesn't switch the attachement of the leader when dragged left or right.

 

I suggest rewriting the Zero expression to be IF({Short Elevation}<10,0,-1)  Use this as part of a single text component within the label style.  When you add it to the text component set it to not display negative values.  This will make it display 0 when Short Elevation is less than 10 and nothing when its 10 or more.  The single text component will stay together when the drag more is set to stacked text.

Mark Mccall 
CAD Mangler



Hammer Land Engineering


Linkedin

Message 8 of 10
Anonymous
in reply to: JRitner

Here is what that does.4.PNG

Message 9 of 10
MMcCall402
in reply to: MMcCall402

Example of my suggestion.

 

 

Mark Mccall 
CAD Mangler



Hammer Land Engineering


Linkedin

Message 10 of 10
Anonymous
in reply to: MMcCall402

This worked perfectly, thank you.

 

I've attached an image for future reference.5.PNG

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

Post to forums  

Rail Community


 

Autodesk Design & Make Report