AutoCAD Civil 3D General Discussion

AutoCAD Civil 3D General Discussion

Reply
Distinguished Contributor
pocketmerlin
Posts: 112
Registered: ‎08-24-2013
Message 1 of 10 (685 Views)

How to base structure profile label location on top of profile view?

685 Views, 9 Replies
11-04-2013 12:18 PM

I'm working with a structure profile label style and it seems like the only way to anchor the position of the label is based on offsets from the structure itself...does anyone know if there's a way to position the label based on the top of the profile view, so that I could make all of my labels horizontally aligned above the profile view?

 

Thanks in advance to anyone who can help.

*Expert Elite*
Jay_B
Posts: 2,730
Registered: ‎09-15-2010
Message 2 of 10 (680 Views)

Re: How to base structure profile label location on top of profile view?

11-04-2013 12:51 PM in reply to: pocketmerlin

Not that I know of, there are  three options for anchor being Top, Middle and bottom of Structure. and then an offset could be applied to shift label upward a set distance but that wouldn't result in a horizontal  labeling along the top of profile view it sounds like your looking for. Hopefully someone has a better answer.

 

Jay

C3D 2014 SP2
Win 7 Professional 64 Bit
*Expert Elite*
troma
Posts: 2,525
Registered: ‎05-21-2008
Message 3 of 10 (651 Views)

Re: How to base structure profile label location on top of profile view?

11-05-2013 07:42 AM in reply to: Jay_B
Is it possible that a data band could help?


Credit where credit is due! Give kudos or accept as solution whenever you can.

Distinguished Contributor
pocketmerlin
Posts: 112
Registered: ‎08-24-2013
Message 4 of 10 (629 Views)

Re: How to base structure profile label location on top of profile view?

11-06-2013 06:27 AM in reply to: troma

Ah, it seems like a band is probably what I want.

 

I'm actually not sure anymore whether I'll need to have my labels aligned this way but if I do I'll try to create a band label. Thanks.

Distinguished Contributor
pocketmerlin
Posts: 112
Registered: ‎08-24-2013
Message 5 of 10 (623 Views)

Re: How to base structure profile label location on top of profile view?

11-06-2013 06:58 AM in reply to: pocketmerlin

OK...I just played around with band labels a little bit and it will give me what I want in terms of aligning structure labels horizontally above the profile view...but now I have an issue in that I had a line going from the bottom of the profile view through the structure drawn in profile view and ending at the bottom of the structure label above...with a band it doesn't seem possible to draw a line like this automatically.

*Expert Elite*
Jay_B
Posts: 2,730
Registered: ‎09-15-2010
Message 6 of 10 (616 Views)

Re: How to base structure profile label location on top of profile view?

11-06-2013 07:17 AM in reply to: pocketmerlin

If your line is to go from from bottom of structure to the top of the Profile Viewport, you could create a structure label style using fixed length line component using bottom of pr as placement.

Kind of crude as the length can't vary but making it long enough for all scenarios should work as the viewport will hide the extra length.

Jay

C3D 2014 SP2
Win 7 Professional 64 Bit
Valued Mentor
david.zavislan
Posts: 282
Registered: ‎10-31-2006
Message 7 of 10 (611 Views)

Re: How to base structure profile label location on top of profile view?

11-06-2013 08:08 AM in reply to: pocketmerlin

You can set structure labels so that they will be located relative to the profile view.  There are two parts to the process.

 

  1. You need a structure label style with an anchor point that is set to Structure Dimension.  This is set on the Layout tab of the Label Style Composer.  The following image shows the Start point anchor point, for a line component, set to the Structure Dimension value.  All other elements in this style anchor to the line.
          StructureLabelDimensionSetting.jpg
  2.  When adding labels, edit the command settings, and set the Dimension Anchor Option for Structures to Graph view top.

    StructureLabelDefaultPlacement.jpg

This will place the labels at the top of the profile view.

StructureLabelTopOfProfileView.jpg

David Zavislan, P.E. | Wood Rodgers, Inc.
Distinguished Contributor
pocketmerlin
Posts: 112
Registered: ‎08-24-2013
Message 8 of 10 (596 Views)

Re: How to base structure profile label location on top of profile view?

11-06-2013 11:24 AM in reply to: david.zavislan

David: first off, thanks, this was very informative...however, I still have an issue.

 

After going through your post I figured out that the dimension anchor option in the style I'm using (which was created by someone else) was already set to be "Graph view bottom" and this was how the line was being anchored to the bottom of the graph.

 

I would like to keep the fact that the line starts at the bottom of the graph and ends at the tag block I have in addition to having all of the tags aligned horizontally, but it seems like I can only define one anchor point in the Edit Command Settings menu...so am I stuck with just placing the tag using a vertical offset from the bottom and then always making sure my profile views are the same height if I want things to display correctly/making a new style for each height of profile view I use?

Valued Mentor
david.zavislan
Posts: 282
Registered: ‎10-31-2006
Message 9 of 10 (586 Views)

Re: How to base structure profile label location on top of profile view?

11-06-2013 04:09 PM in reply to: pocketmerlin

Without a picture, I am not really sure what exactly you are trying to do.  However, I won't let that stop me from providing an answer.

 

Since you can only specify a single dimension anchor option for each label, you may be able to achieve what you want by creating the label in two parts, with two different label styles.  One could be just the line, that would be anchored to the graph view bottom, and the other, with the text, would be anchored to the graph view top. 

 

The opposite ends of the lines could then be anchored to the structure dimension.  In the command settings, set the structure label placement to "At Middle of Structure" to get the two lines to a common endpoint.

 

StructureLabelGraphTopToBottom.jpg

 

You can also use the 'line only' style to create lines from the structure to a corresponding band label.

David Zavislan, P.E. | Wood Rodgers, Inc.
Distinguished Contributor
pocketmerlin
Posts: 112
Registered: ‎08-24-2013
Message 10 of 10 (570 Views)

Re: How to base structure profile label location on top of profile view?

11-07-2013 01:50 PM in reply to: david.zavislan

OK, thanks a lot for your help. Having two labels and two styles isn't a super-elegant solution, but I guess that's the best I will get to for now.

Post to the Community

Have questions about Autodesk products? Ask the community.

New Post
Announcements
Do you have 60 seconds to spare? The Autodesk Community Team is revamping our site ranking system and we want your feedback! Please click here to launch the 5 question survey. As always your input is greatly appreciated.