Page 2 of 2 FirstFirst 12
Results 11 to 12 of 12

Thread: match annotation scale to viewport scale

  1. #11
    I could stop if I wanted to
    Join Date
    2003-11
    Posts
    285
    Login to Give a bone
    0

    Default Re: match annotation scale to viewport scale

    additionally, i can't get this lisp to run in 2012. only 2014.

  2. #12
    Past Vice President / AUGI Volunteer peter's Avatar
    Join Date
    2000-09
    Location
    Honolulu HI
    Posts
    1,106
    Login to Give a bone
    0

    Default Re: match annotation scale to viewport scale

    Just thought I would add this here.

    It returns a list of sublists of annotative scales in a drawing.

    Code:
    (defun AnnotativeScaleList (/ lstEntity lstReturn objScale )
     (vlax-for objScale (vla-item
                         (vla-get-dictionaries
                          (vla-get-activedocument
                           (vlax-get-acad-object)))
                         "ACAD_SCALELIST"
                        )
      (setq lstEntity (entget (vlax-vla-object->ename objScale))
            lstReturn (cons (list (cdr (assoc 300 lstEntity)) (cdr (assoc 141 lstEntity))) lstReturn)
      )
     )
     (reverse lstReturn)
    )
    AutomateCAD

Page 2 of 2 FirstFirst 12

Similar Threads

  1. Replies: 9
    Last Post: 2015-08-21, 06:33 PM
  2. Set Annotation Scale Equal to Viewport Scale
    By CADdancer in forum AutoLISP
    Replies: 2
    Last Post: 2009-10-09, 04:48 PM
  3. match annotation scale to viewport scale
    By ccowgill in forum AutoLISP
    Replies: 33
    Last Post: 2009-05-04, 10:54 PM
  4. Annotation Scale different than Viewport scale!!
    By smooth shoes in forum AutoCAD General
    Replies: 1
    Last Post: 2008-10-17, 08:44 PM
  5. Replies: 0
    Last Post: 2006-11-28, 10:37 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
  •