Thursday, April 10, 2008

PVLS PART 2: Creating the Style for the Connecting Pipe Flowline Elevation Label

This is Part 2 of a series on Profile View Label Styles (PVLS). You can view Part 1 of the series here.

Here's the step by step guide to creating the Station Elevation Profile View Label Style. The way this style is created will enable you to easily establish offsets in child styles as needed. That will be explained in a Part 4 of this series.
  1. If toolspace is not visible, type showts at the command line and press enter.
  2. Select the Settings tab.
  3. Double click "Profile View" in the list under your current drawing name.
  4. Double click "Label Styles".
  5. Right click "Station Elevation" and select "New...".
  6. On the Information tab, type a name for your style. I'll use Connecting Pipe Label for this example.
  7. On the General tab, set the layer as required. I'll use PROF-VIEW-TX for this example.
  8. On the Layout tab, delete the default "Station & ELevation" component (yes, the "L" is really capitalized) that is created by clicking on the near the top middle of the Label Style Composer dialog box. I do this because I want a different component to be the first one that appears when the Layout tab is selected in the future.
  9. Select Line from the Create Component dropdown list.
  10. Under the General section:
    1. Change the Name property to Line for Text,
    2. Set the Start point anchor point to Middle Center.
  11. Under the Line section:
    1. Change the Length to 2.0000",
    2. Set the Angle to 270° 00' 00",
    3. Set the Start Point Y Offset to -0.5000". This moves the beginning of the line down 0.5 inches from the point you select for placing the label.
  12. At this point, you're probably looking at the preview side of the Label Style Composer dialog box to see how things are looking. Unfortunately, the default preview state for a Profile View Station Elevation Label is set to Depth Label Style. So click the drop down arrow near the upper right corner of the Label Style Composer dialog box and select "Station Elevation Label Style" to watch the style update as you apply the changes.
  13. At this point, go ahead and select Apply so that everything up to this point will be saved.
  14. Create another line component (same as step 9).
  15. Under the General section:
    1. Change the Name property to Line at Insertion Point,
    2. Set the Start point anchor point to Middle Center.
  16. Under the Line section:
    1. Change the Length to 0.2500",
    2. Set the Angle to 270° 00' 00".
  17. Now create one more line component (same as step 9). This may seem unusual, but it will make sense at the end of the post.
  18. Under the General section:
    1. Change the Name property to Offset Connection Line,
    2. Set the Start point anchor component to Line at Insertion Point,
    3. Set the Start point anchor point to End,
    4. Set the Use End Point Anchor to True,
    5. Set the End Point Anchor Component to Line for Text,
    6. Verify that the End Point Anchor Point is set to Start.
  19. Select Apply again to save the changes up to this point. The preview tab will show that the label currently appears as if there is just one solid line.
  20. Create a text component from the create component list.
  21. Under the General section:
    1. Change the Name property to Station and Flowline Text,
    2. Set the Start point anchor point to Line for Text,
    3. Set the Anchor Point to End.
  22. Under the Text section:
    1. Edit the Contents as follows:
      1. On the format tab, set the Justification to Left,
      2. Insert text appropriate for the style you are creating. For my example, I used this text:
        STA <[Station Value(Uft|FS|P2|RN|AP|Sn|TP|B2|EN|W0|OF)]> SSL-XX=
        STA 1+00 SSL-XX
        FL (XX")=<[Profile1 Elevation(Uft|P2|RN|AP|Sn|OF)]>
        FL (XX")=<[Profile2 Elevation(Uft|P2|RN|AP|Sn|OF)]>
        I also force the XX values to a different color so that I know that these values have to be manually edited and updated as required. It ends up looking something like this:
    2. Set the Attachment point to Bottom Right (Don't ask me why. I think it should be set to Top Left, but once the text is perpendicular to the view, it seems that you have to set it to the opposite of what you think it should be.)
  23. Apply, OK, and your style is complete.
Well, that's it for Part 2. In Part 3, I will describe how to place the Profile View Station Elevation Label Style that you just created.

Technorati Tags:

No comments: