rotating text

Discussion in 'AutoCAD' started by Remo Shiva, Mar 20, 2006.

  1. Remo Shiva

    Remo Shiva Guest

    Hi all,

    I really need help with this, Im working on a topographical survey, I have
    the original with the all wrong levels, and a new processed points dwg which
    has the new correct levels on. ALL levels are in exact same place but on the
    original they are rotated in line with the road and on the new 1 they are
    all at zero rotation. Is there a lisp routine out there that can rotate and
    posibly move the new levels so they are exactly where the old 1s are?

    any help will be much appreciated, if u need more info let me know
    Thanks
    RS
     
    Remo Shiva, Mar 20, 2006
    #1
  2. A mass rotation routine is pretty simple if an insertion point can be the
    origin of the rotation.

    The moving part is tougher. You said the "levels are in the exact same
    place", but then you said you want to"move the new levels so they are
    exactly where the old 1s are". I'm confused.
     
    Michael Bulatovich, Mar 20, 2006
    #2
  3. Remo Shiva

    Remo Shiva Guest

    haha ye just read it, is a bit confusing. each level which is in text is
    accompanied by a point which is also the insertion point of the text, it
    wont be a case of a mass rotation because the angles change as the road
    curves round. once the text is rotated its not going to be much of a problem
    moving them to best fit (so it looks presentable basically), but the points
    stay where they are, if that makes sense.
     
    Remo Shiva, Mar 20, 2006
    #3
  4. Remo Shiva

    Remo Shiva Guest

    It does sound like fun.

    i really isn't ;)

    yep 2 different files, but it's nothing for me to bring them both into 1
    file but on different layers, then wblock when its done.

    the points are the same, and will remain the same, and the text is rotated
    and moved around those points to make it look presentable, trouble is
    because the road curves round the angle of the text is different throughout.
    I have tried using 'matchprop' but it only changes angle of text and not
    base point as well. If u know of a comand that does both i rekon that would
    be the way to go.

    thanks for ur help
     
    Remo Shiva, Mar 20, 2006
    #4
  5. Remo Shiva

    Remo Shiva Guest

    actually since i posted the question I got through bout 70% of the drawing
    so far, so I'll prob just stick with it, but this isnt the first time Ive
    had to do this and that little run down of what a lisp would look like
    sounds good, I know someone that could put all that in lisp form, I'm only
    good with the basic stuff like editing the acad.lsp for new commands and
    basic routines, nothing like that^^^.

    anyway, thanks again for ur help, it's much apreciated
    RS
     
    Remo Shiva, Mar 20, 2006
    #5
  6. If you want these points to rotate around their insertion points that's
    good. If you want to rotate them by varying amounts, that's bad. It will
    require a human.
    If large groups of these points are to be rotated the same amount, that
    could be done by lisp, and might save the human some time.
     
    Michael Bulatovich, Mar 20, 2006
    #6
  7. Remo Shiva

    mark Guest

    Hmm,

    What you're looking for I don't have. It also could be done with VB or
    VBA however. Using each insertion point you could reach out to the
    polyline in a bounding box fashion. By finding the intersections of the
    (invisible) text box and the selected polyline one could discern the
    local angle.

    At any rate, you may be interested in
    http://www.caddproductivity.com/survey.htm

    Using the Export function, write selected entities to a survey format
    (x,y,z,point#,description) *.csv (XL) file.

    Then use the Import function to insert blocks, text, points and/or
    coordinate markers per each unique description. Unfortunately however,
    rotation is not currently an option.


    Mark Frise
    www.caddproductivity.com
     
    mark, Mar 22, 2006
    #7
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.