Offset Text lisp routine

Discussion in 'AutoCAD' started by Aaron Fox, Feb 18, 2006.

  1. Aaron Fox

    Aaron Fox Guest

    Does anyone know where I can get a lisp routine to make a command for
    offsetting text?
     
    Aaron Fox, Feb 18, 2006
    #1
  2. Aaron Fox

    per.corell Guest

    Hi

    If you want to make this in Lisp ,you can look closer to the text
    entity yieled by Entget.
    This way you can Entmake a new entity ,all you need to alter is the
    text insert point found in the Entity list. To offset this point value
    is a simple calculation it will not make many lines of code in Lisp but
    , you must know the basics about Mapcar and Apply functions and how
    they work a list ------ So I suggest that you consider if you want to
    use Lisp, that you use it as a script ,and use the build in commands in
    a script.
    With Copy you can make the text entity you want to offset ,with Move
    you can offset the entity allmost as smooth as writing a Lisp program
    that calculate the offset cooerdinates.
    Putting Copy and Move into a small script will be very simple.
     
    per.corell, Feb 18, 2006
    #2
  3. Aaron Fox

    bestafor Guest

    HiHo;
    go to www.cadalyst.com and search the "get the code" for
    MoveText.lsp
     
    bestafor, Feb 18, 2006
    #3
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.