Author Topic: labels along alignment and profile  (Read 17815 times)

0 Members and 1 Guest are viewing this topic.

drizzt

  • Guest
Re: labels along alignment and profile
« Reply #15 on: October 29, 2010, 11:15:47 AM »
yeah, I briefly explored using a "ghost" PVI. But couldn't get a grade break label to go there....

Learning Civil3D is actually fun!

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: labels along alignment and profile
« Reply #16 on: October 29, 2010, 11:19:52 AM »
Use a DEPTH label...instead and NO PVI required; unless you just want something to snap to.

either way would work
Be your Best


Michael Farrell
http://primeservicesglobal.com/

jugglerbri

  • Guest
Re: labels along alignment and profile
« Reply #17 on: October 29, 2010, 07:05:44 PM »
You got me to thinking and I decided to write up my solution on my blog. Hope this helps.

You can read it http://civil3dplus.wordpress.com/2010/10/29/stationoffset-labels-with-a-line-to-the-alignment/?preview=true&preview_id=619&preview_nonce=bc21fcd610.


drizzt

  • Guest
Re: labels along alignment and profile
« Reply #18 on: November 01, 2010, 11:45:45 AM »
jugglerbri

That works great, but i still get question marks instead of my station.

this is my process:
in the label style i created a reference text. in the contents properties I selected "Station Value", clicked the little arrow and bam.... I get three question marks

drizzt

  • Guest
Re: labels along alignment and profile
« Reply #19 on: November 01, 2010, 12:05:09 PM »
ok, I guess you can't add reference text to a style after creating the label and expect it to update. I just created another lable and my style works fine.

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: labels along alignment and profile
« Reply #20 on: November 01, 2010, 12:17:38 PM »
does it retain the information after closing the file and reopening it?

or did you just ADD the reverence text to a label already in the file WITHOUT defining what alignment is should be referencing?
Be your Best


Michael Farrell
http://primeservicesglobal.com/

drizzt

  • Guest
Re: labels along alignment and profile
« Reply #21 on: November 01, 2010, 02:47:59 PM »
no, I had an alignement. Then I created a lable, with the line only. Then I added the label to the alignment, then I updated the lable style by adding reference text.

I have no idea why I expected Civil3D to know what to do with the label.

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: labels along alignment and profile
« Reply #22 on: November 01, 2010, 03:05:06 PM »
no, I had an alignement. Then I created a lable, with the line only. Then I added the label to the alignment, then I updated the lable style by adding reference text.

I have no idea why I expected Civil3D to know what to do with the label.
that's what I thought     ;-)
Be your Best


Michael Farrell
http://primeservicesglobal.com/

drizzt

  • Guest
Re: labels along alignment and profile
« Reply #23 on: November 04, 2010, 10:48:31 AM »
I am now having trouble getting the line to scale with the drawing scale. Text scales fine, but my line does not. I followed Jugglerbri's web page and, for the line length I created an expression. Which is as follows:

Offset/{Drawing Scale Conversion}


I don't get it

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: labels along alignment and profile
« Reply #24 on: November 04, 2010, 02:04:52 PM »
then you have to use that EXPRESSION as the line length in the style....

also the expression once evaluated needs to be set to format the returned value as a distance
« Last Edit: November 04, 2010, 02:10:26 PM by Anti Quark »
Be your Best


Michael Farrell
http://primeservicesglobal.com/

drizzt

  • Guest
Re: labels along alignment and profile
« Reply #25 on: November 04, 2010, 02:36:38 PM »
I show exactly what you have, well except I titled my expression differently.

I have attached my scratch file for you to check out if you want

by the way. I need to thank you again for your help

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: labels along alignment and profile
« Reply #26 on: November 04, 2010, 04:09:01 PM »
the difference is my text is attached to the FEATURE, yours is anchored to the line...

so when you stretch the label your line moves and the text doesn't....

you'll want to adjust your X,Y offset for the first text component, as you anchored all the other entities to it they'll shuffle on over when you adjust the STA portion of the Label
Be your Best


Michael Farrell
http://primeservicesglobal.com/

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: labels along alignment and profile
« Reply #27 on: November 04, 2010, 04:31:34 PM »
actauly it doesn't mind being anchored to the line component, just wants a different insertion origin....
« Last Edit: November 04, 2010, 04:36:24 PM by Anti Quark »
Be your Best


Michael Farrell
http://primeservicesglobal.com/

drizzt

  • Guest
Re: labels along alignment and profile
« Reply #28 on: November 04, 2010, 04:36:19 PM »
I tried to change the text anchor to feature, and now it is completley dis-associated with the line. It isn't rotated 90 degrees from the alignment either.

mjfarrell

  • Seagull
  • Posts: 14444
  • Every Student their own Lesson
Re: labels along alignment and profile
« Reply #29 on: November 04, 2010, 04:37:12 PM »
I tried to change the text anchor to feature, and now it is completley dis-associated with the line. It isn't rotated 90 degrees from the alignment either.
see above
Be your Best


Michael Farrell
http://primeservicesglobal.com/