Page 1 of 2 12 LastLast
Results 1 to 10 of 12

Thread: polyline lengths

  1. #1
    Member
    Join Date
    2006-03
    Posts
    28
    Login to Give a bone
    0

    Default Label the length of a polyline

    Is there a way to easily label a polyline with its length and have it update automatically if the polyline changes?

  2. #2
    Wish List Manager BrenBren's Avatar
    Join Date
    2000-11
    Location
    150700
    Posts
    3,439
    Login to Give a bone
    0

    Default Re: polyline lengths

    Quote Originally Posted by eebryant
    Is there a way to easily label a polyline with its length and have it update automatically if the polyline changes?
    I wonder if fields would help?

  3. #3
    Certified AUGI Addict jaberwok's Avatar
    Join Date
    2000-12
    Location
    0,0,0 The Origin
    Posts
    8,570
    Login to Give a bone
    0

    Default Re: polyline lengths

    Failing that, you could use a reactor and the place to find out about them would be in the programming forum.

  4. #4
    Member
    Join Date
    2006-03
    Posts
    28
    Login to Give a bone
    0

    Default Re: polyline lengths

    I have tried the help file with no luck completing the task. I need to label a polyline with its length and have it update (automatically or manually) if the polyline length is modified. I understand this is possible with Map, how does this work?

  5. #5
    Geospatial Moderator Jmurphy's Avatar
    Join Date
    2000-11
    Location
    TN/KY Area
    Posts
    1,640
    Login to Give a bone
    0

    Default Re: polyline lengths

    There's two ways this can work, the first being annotation blocks as the label. I did a ATP course on it in May/Jun of 2006 (ATP134)

    The other way is by using the display manager on the Map task Pane and using labels in the Style manager. With both methods you need to get the length property from the expression builder under the object property.
    With the annotation blocks you have to tell Map to update the label(Block) but with the display manger and styles it's updates on regens.
    I'll be posting an example of using the display manger & styles on my blog in a few days.
    If you need help post back and we'll take you by the hand if time permits.

  6. #6
    Member
    Join Date
    2006-03
    Posts
    28
    Login to Give a bone
    0

    Default Re: polyline lengths

    I cant seem to find ATP134 in the archives. is there a way to retrieve it? I haven't had time to work on this lately but have a little time now. Thanks for the guidance.

  7. #7
    Wish List Manager BrenBren's Avatar
    Join Date
    2000-11
    Location
    150700
    Posts
    3,439
    Login to Give a bone
    0

    Default Re: polyline lengths

    Quote Originally Posted by eebryant
    I cant seem to find ATP134 in the archives. is there a way to retrieve it? I haven't had time to work on this lately but have a little time now. Thanks for the guidance.
    Judging by the numbers of the courses in the archives, I would say 134 was in July; and will be put in the archives any day now..

  8. #8
    Geospatial Moderator Jmurphy's Avatar
    Join Date
    2000-11
    Location
    TN/KY Area
    Posts
    1,640
    Login to Give a bone
    0

    Default Re: polyline lengths

    Quote Originally Posted by BrenBren
    Judging by the numbers of the courses in the archives, I would say 134 was in July; and will be put in the archives any day now..
    Tic.......tic.......... tic........

  9. #9
    Member
    Join Date
    2006-03
    Posts
    28
    Login to Give a bone
    0

    Default Re: polyline lengths

    I got to the ATP course and was doing good until I got to Pages 4 & 5 of Segment 2.

    While trying to use the Expression Chooser in the Annotation Text Dialog Box to define the expression for the Value of the Attribute it always bombs giving the following message

    FATAL ERROR: Unhandled Access Violation Reading 0x0004 Exception at 645e65d0h

    Any suggestions?
    Last edited by eebryant; 2006-11-02 at 06:54 PM.

  10. #10
    Geospatial Moderator Jmurphy's Avatar
    Join Date
    2000-11
    Location
    TN/KY Area
    Posts
    1,640
    Login to Give a bone
    0

    Default Re: polyline lengths

    Quote Originally Posted by eebryant
    I got to the ATP course and was doing good until I got to Pages 4 & 5 of Segment 2.

    While trying to use the Expression Chooser in the Annotation Text Dialog Box to define the expression for the Value of the Attribute it always bombs giving the following message

    FATAL ERROR: Unhandled Access Violation Reading 0x0004 Exception at 645e65d0h

    Any suggestions?
    A repair may help but if you want to try it with your polylines enter .length (period length) in the value text box. You can also use .angle in the rotation value box to rotate the text to match a single segment pline.

Page 1 of 2 12 LastLast

Similar Threads

  1. Replies: 2
    Last Post: 2015-07-27, 05:10 AM
  2. List total Polyline lengths according to Layer
    By irchrismm in forum AutoLISP
    Replies: 16
    Last Post: 2011-07-11, 07:10 AM
  3. Replies: 14
    Last Post: 2007-09-10, 05:01 PM
  4. tangents and lengths
    By Richard McDonald in forum AutoCAD General
    Replies: 11
    Last Post: 2006-10-30, 11:03 AM
  5. Arc Lengths
    By justin.hosler in forum Revit Architecture - General
    Replies: 2
    Last Post: 2004-12-10, 04:59 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •