See the top rated post in this thread. Click here

Results 1 to 4 of 4

Thread: Drawing Scale Lisp?

  1. #1
    Woo! Hoo! my 1st post
    Join Date
    2017-08
    Posts
    1
    Login to Give a bone
    0

    Default Drawing Scale Lisp?

    Hi all,
    Is there a way or a lisp that could change the drawing scale, ltscale, textscale, etc....all at once? At my old job (dont know what you got, till it's gone), I just type "drawingscale" and enter the value and everything would be set to that scale (ie: for 1/4 scale I would enter 4). I'm working on mutiple sheets in model space with different drawing scales. Sorry if I sound like a noob because I am.

    Please help.
    Last edited by trnbui754584; 2017-09-14 at 12:34 AM.

  2. #2
    Administrator Opie's Avatar
    Join Date
    2002-01
    Location
    jUSt Here (a lot)
    Posts
    9,096
    Login to Give a bone
    0

    Default Re: Drawing Scale Lisp?

    Have you looked at annotative scales?
    If you have a technical question, please find the appropriate forum and ask it there.
    You will get a quicker response from your fellow AUGI members than if you sent it to me via a PM or email.
    jUSt

  3. #3
    Certifiable AUGI Addict tedg's Avatar
    Join Date
    2005-06
    Location
    in the upper right corner
    Posts
    3,505
    Login to Give a bone
    1

    Default Re: Drawing Scale Lisp?

    Quote Originally Posted by trnbui754584 View Post
    Hi all,
    Is there a way or a lisp that could change the drawing scale, ltscale, textscale, etc....all at once? At my old job (dont know what you got, till it's gone), I just type "drawingscale" and enter the value and everything would be set to that scale (ie: for 1/4 scale I would enter 4). I'm working on mutiple sheets in model space with different drawing scales. Sorry if I sound like a noob because I am.

    Please help.
    It appears you are using an old method of CAD use, like before layouts were available (multiple sheets in MS)?
    Not knowing why you would be doing that, I/we highly advise against that, and use layouts with PS = 1:1 plotted sheet size.
    (you can have many layouts (sheets) in one file if needed)

    Maybe you know all about this and have your reasons.. but I threw up in my mouth a little when I read that.

    Anywho... if you need to set scale variables, I think that could be easily done, not knowing exactly what you need to control.
    But an example would look something like:
    Code:
    (defun c:drawingscale (/ scl)
    (setq scl (getdist "What Scale is this being drawn at? "))(terpri)
    (setvar "dimscale" scl)
    (setvar "ltscale" scl)
    ;;add other variables here as needed
    )

  4. #4
    Certifiable AUGI Addict
    Join Date
    2001-03
    Location
    Tallahassee, FL USA
    Posts
    3,658
    Login to Give a bone
    0

    Default Re: Drawing Scale Lisp?

    Gotta agree with Ted, AutoCAD was in it's second version with Paper Space when I started using it over a quarter century ago and has had multiple layouts for the last 19 versions with lots of cool features like viewport overrides added since. Seems like using proper methods would avoid many of the issues posted here, there's no counting how many posts I've seen from someone wanting an easier way to batch plot 20 model space viewports when If they knew layouts and Sheet Sets could be done simply by using the Publish command or right-clicking a Sheet Set.

Similar Threads

  1. 2016: Civil 3D Structure Profile Block display scale as drawing scale
    By Trevor Deleske in forum AutoCAD Civil 3D - Profiles
    Replies: 1
    Last Post: 2017-01-27, 01:12 AM
  2. Get current drawing scale, then insert block via that scale
    By U.Rackharrow in forum VBA/COM Interop
    Replies: 10
    Last Post: 2016-12-09, 03:18 PM
  3. Replies: 9
    Last Post: 2015-08-21, 06:33 PM
  4. Annotation Scale on a Multi-Scale Drawing
    By CADdancer in forum AutoCAD Annotation
    Replies: 2
    Last Post: 2009-02-03, 08:32 AM
  5. How to scale a fill pattern depending on drawing scale?
    By studiodd in forum Revit Architecture - General
    Replies: 17
    Last Post: 2007-06-08, 07:08 AM

Posting Permissions

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