Results 1 to 4 of 4

Thread: Rotating annotative text with LISP

  1. #1
    100 Club amaser's Avatar
    Join Date
    2006-05
    Location
    Joliet, IL
    Posts
    105
    Login to Give a bone
    0

    Default Rotating annotative text with LISP

    I got the following code from Cadalysts, cadtips.com website. It works lke a charm, but it doesn't work with annotative text styles, even if there's only one annotative scale associated with it. Is there anyway to modify it so that it works with both? (I program in vba, not that familiar with LISP)

    here's the code. (all credit to whomever wrote it and submitted it to cadalyst)

    Sorry for the *edit* but I believe it would best if the file was *not* posted on the AUGI web site, unless the author has given their permission. I realize the file available from Cadalyst is Freeware.

    However, AUGI can not take any chances with regard to Copyright infringements that may exist. It would be good manners to obtain the author's permission before posting their work.

    Thanks for your understanding,

    Richard
    Forum Moderator
    Last edited by Opie; 2009-07-15 at 01:45 PM.

  2. #2
    Administrator rkmcswain's Avatar
    Join Date
    2004-09
    Location
    Earth
    Posts
    9,803
    Login to Give a bone
    0

    Default Re: Rotating annotative text with LISP

    Quote Originally Posted by amaser View Post
    here's the code. (all credit to whomever wrote it and submitted it to cadalyst)
    Here is the original submission. The moderators may delete the code from this post

    BTW: It works on annotative text for me in 2010.
    Last edited by rkmcswain; 2009-07-14 at 08:30 PM. Reason: addition
    R.K. McSwain | CAD Panacea |

  3. #3
    100 Club amaser's Avatar
    Join Date
    2006-05
    Location
    Joliet, IL
    Posts
    105
    Login to Give a bone
    0

    Default Re: Rotating annotative text with LISP

    Quote Originally Posted by rkmcswain View Post
    Here is the original submission. The moderators may delete the code from this post

    BTW: It works on annotative text for me in 2010.
    that's where i got the original from. but in LDC 2009, and civil3d 2010, it doesn't seem tow ork for any objects marked as annotative, regardless of style, or how many scales are assigend. if i use the properties box and just say annotative 'no' it works fine, even though the style is annotative, so i'm not sure what the problem is.

  4. #4
    AUGI Addict
    Join Date
    2008-02
    Posts
    1,141
    Login to Give a bone
    0

    Default Re: Rotating annotative text with LISP

    i used that same routine for a long time before i finally wrote my own. this will allow you to rotate text, multileaders, blocks, mtext to the same rotation of pretty much any type of selected object, or you can specify the angle. plus, you can rotate as many objects as you can select. it will even work with non world ucs. i keep meaning to do a little cleanup/ rewriting with it and add the option to rotate civil3d points, but i haven't had the time just yet.
    you are more than welcome to use it.
    Attached Files Attached Files

Similar Threads

  1. LISP not grabbing annotative text size properly
    By Jeversole in forum AutoLISP
    Replies: 1
    Last Post: 2012-05-16, 09:32 PM
  2. 2011: annotative text and annotative block failure
    By kuruczregina in forum ACA General
    Replies: 0
    Last Post: 2012-03-25, 06:56 PM
  3. Lisp and Annotative MTEXT
    By bowtle in forum AutoLISP
    Replies: 1
    Last Post: 2010-02-20, 06:01 PM
  4. Annotative Scale with Lisp
    By CADdancer in forum AutoLISP
    Replies: 2
    Last Post: 2009-06-10, 10:05 AM
  5. Replies: 4
    Last Post: 2007-11-26, 10:22 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
  •