+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Forum Newbie
    Using
    Land Desktop 2006
    Join Date
    Jan 2007
    Posts
    3

    Default upside down contour labels

    Registered forum members do not see this ad.

    On the last couple of jobs I have done the contour labels are printing out upside down, even though they look fine on the screen. When I have someone else print out the same job it comes out fine. The LABEL POSITION is set to MAKE PLAN READABLE. Any ideas?

    I use acad 2006 / ldd

  2. #2
    Super Member CyberAngel's Avatar
    Computer Details
    CyberAngel's Computer Details
    Operating System:
    Windows XP Pro
    Computer:
    Dell Optiplex 330
    Discipline
    Civil
    CyberAngel's Discipline Details
    Occupation
    Civil Drafter
    Discipline
    Civil
    Using
    Civil 3D 2013
    Join Date
    Jul 2006
    Location
    Anywhere Else
    Posts
    976

    Default

    Contours are basically polylines. A label will follow the direction of the pline segment it's on. The only ways I know to make the label appear right-side up are either to explode the contour or to redraw it in the opposite direction. Does anyone have a better way?

  3. #3
    Forum Deity
    Using
    AutoCAD 2002
    Join Date
    Sep 2006
    Location
    East Sussex, U.K.
    Posts
    2,965

    Default

    In the Contour Style Manager dialog box, under Readability, there are two settings - Make Plan Readable and Label Positive Slope. Perhaps they are set differently in the different plots.

    The Contour label alignment does have significance to those who know. The top of the text should be uphill, so when you are looking at the plan with the labels the right way up, you know you are looking uphill. Only one label on one contour is needed to discover uphill.

  4. #4
    Full Member
    Using
    not specified
    Join Date
    May 2005
    Posts
    70

    Default

    If you have to end up reversing the direction of a polyline/contour you could use the lsp below:

    ;;; RPL.LSP a program to reverse the direction of polylines
    ;;; Program by Tony Hotchkiss. Enter RPL to start the program.

    (prompt
    "\nType RPL to run command."
    )
    (defun c:rpl ()
    (setq again nil)
    (setq p-ent nil)
    (prompt "\nSelect a polyline: ")
    (while (not p-ent)
    (setq p-ent (car (entsel)))
    (if (not p-ent)
    (prompt
    "\nNo object selected; select again: "
    ) ;_ end of prompt
    (progn
    (if (and (/= (dxf 0 p-ent) "POLYLINE")
    (/= (dxf 0 p-ent) "LWPOLYLINE")
    ) ;_ end of and
    (progn
    (prompt "\nNot a polyline, select again:"
    ) ;_ end of prompt
    (setq p-ent nil)
    ) ; progn
    ) ;_ end of if
    ) ;_ end of progn
    ) ;_ end of if
    ) ;_ end of while
    (setq etype (dxf 0 p-ent)
    x-ent p-ent
    is-closed (dxf 70 p-ent)
    ) ; setq
    (if (= etype "LWPOLYLINE")
    (progn
    (setq num-vert (dxf 90 p-ent)
    elist (entget p-ent)
    elist (member (assoc 10 elist) elist)
    vvlist nil
    ) ; setq
    (repeat num-vert
    (setq vlist (list (cdr (assoc 10 elist))))
    (setq vlist
    (append vlist
    (list (cdr (assoc 42 elist)))
    ) ;_ end of append
    ) ;_ end of setq
    (setq vvlist (append vvlist
    (list vlist)
    ) ;_ end of append
    ) ;_ end of setq
    (setq elist (cdr elist)
    elist (member (assoc 10 elist) elist)
    ) ; setq
    ) ; repeat
    ) ; progn lwpolyline
    (progn
    (setq vvlist nil
    p-ent (entnext p-ent)
    ) ; setq
    (while (/= "SEQEND"
    (cdr
    (assoc 0 (entget p-ent))
    ) ;_ end of cdr
    ) ;_ end of /=
    (setq vlist (list (dxf 10 p-ent)))
    (setq vlist (append vlist
    (list (dxf 42 p-ent))
    ) ;_ end of append
    ) ;_ end of setq
    (setq vvlist (append vvlist
    (list vlist)
    ) ;_ end of append
    ) ;_ end of setq
    (setq p-ent (entnext p-ent))
    ) ; while
    ) ; progn polyline
    ) ; if
    (setq p-list (mapcar 'car vvlist)
    p-list (reverse p-list)
    b-list (mapcar 'cadr vvlist)
    b-list (reverse b-list)
    b-first (car b-list)
    b-list (cdr b-list)
    b-list (append b-list (list b-first))
    b-list (mapcar '- b-list)
    ) ; setq
    (setq enlist (list '(0 . "LWPOLYLINE")
    '(100 . "AcDbEntity")
    '(100 . "AcDbPolyline")
    (cons 90 (length p-list))
    (cons 70 (dxf 70 x-ent))
    (cons 8 (dxf 8 x-ent))
    ) ; list
    ) ; setq
    (setq elst nil)
    (repeat (length p-list)
    (setq
    elst (append elst
    (list (cons 10 (car p-list)))
    ) ;_ end of append
    ) ; setq
    (setq
    elst (append elst
    (list (cons 42 (car b-list)))
    ) ;_ end of append
    ) ; setq
    (setq p-list (cdr p-list))
    (setq b-list (cdr b-list))
    ) ; repeat
    (setq enlist (append enlist elst))
    (entdel x-ent)
    (entmake enlist)
    (prompt "\nPolyline direction is reversed.\n ")
    (princ)
    ) ; rpl

    (defun dxf (code ename)
    (cdr (assoc code (entget ename)))
    ) ;_ end of dxf

  5. #5
    Forum Newbie
    Using
    Civil 3D 2005
    Join Date
    Sep 2008
    Posts
    1

    Default Upside down contour labels

    Registered forum members do not see this ad.

    Have you had any more suggestions since your original posting?
    Apparently the message is - just live with it even though one tries to be meticulous?

    Quote Originally Posted by surveyor View Post
    On the last couple of jobs I have done the contour labels are printing out upside down, even though they look fine on the screen. When I have someone else print out the same job it comes out fine. The LABEL POSITION is set to MAKE PLAN READABLE. Any ideas?

    I use acad 2006 / ldd

Similar Threads

  1. LABELS TUTORIAL
    By /\/lg|-|T/\/\@R3 in forum Civil 3D & LDD
    Replies: 5
    Last Post: 4th Mar 2007, 05:45 pm
  2. tile labels in .DCL files
    By ancisai in forum AutoLISP, Visual LISP & DCL
    Replies: 1
    Last Post: 16th Oct 2006, 05:07 am
  3. Misc: Interesting Presentation "Turning Email Upside Down" HMTP
    By Between the Lines in forum AutoCAD RSS Feeds
    Replies: 0
    Last Post: 8th Oct 2006, 07:32 am
  4. Contour curves to DWG mesh.
    By jmansa in forum AutoCAD Drawing Management & Output
    Replies: 0
    Last Post: 2nd Sep 2005, 08:54 am
  5. Database labels formating
    By bruno.trudo in forum Autodesk Software General
    Replies: 1
    Last Post: 25th Feb 2005, 06:41 pm

Bookmarks

Posting Permissions

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