Results 1 to 2 of 2

Thread: Lisp need to make a viewport to a given scale

Threaded View

Previous Post Previous Post   Next Post Next Post
  1. #1
    I could stop if I wanted to cadd4la's Avatar
    Join Date
    2001-12
    Location
    Newport Beach, CA
    Posts
    359
    Login to Give a bone
    0

    Default Lisp need to make a viewport to a given scale

    Hello everyone,

    I am looking for a lisp that will make a viewport on a new nonplot layer name VIEW-FRME, layer color 12, ask me to input the scale of the viewport i.e. 96 for 1/8"=1'-0", 120 for 1"-10', etc., and then ask if I would like to lock it.

    Scales needed:

    2 for 6"=1'-0"
    3 for 4"=1'-0"
    4 for 3"=1'-0"
    6 for 2"=1'-0"
    8 for 1 1/2"=1'-0"
    12 for 1"=1'-0"
    16 for 3/4"=1'-0"
    24 for 1/2"=1'-0"
    32 for 3/8"=1'-0"
    48 for 1/4"=1'-0"
    96 for 1/8"=1'-0"
    192 for 1/16"=1'-0"

    120 for 1"-10'
    240 for 1"-20'
    360 for 1"-30'
    480 for 1"-40'
    600 for 1"-50'
    720 for 1"-60'
    840 for 1"-70'
    960 for 1"-80'
    1080 for 1"-90'
    1200 for 1"-100'
    1440 for 1"-120'
    2400 for 1"-200'

    Thanks so much.
    Last edited by cadd4la; 2019-08-06 at 09:24 PM.
    AutoCAD 2010 Windows7 Ultimate
    _________________________________________________________
    My spelling is wobbly. It's good spelling but it wobbles and the letters get in the wrong places.
    ... Winnie the Pooh

Similar Threads

  1. Replies: 2
    Last Post: 2017-08-09, 01:04 PM
  2. "VP Color" fails when "HIDE" command given on 3D model in viewport
    By Wish List System in forum AutoCAD Wish List
    Replies: 0
    Last Post: 2014-10-23, 03:24 AM
  3. Replies: 3
    Last Post: 2013-05-01, 04:50 PM
  4. Replies: 17
    Last Post: 2011-11-29, 08:54 PM
  5. Viewport scale changes after using Maximise Viewport facility
    By larry.111254 in forum AutoCAD LT - General
    Replies: 3
    Last Post: 2007-02-21, 12:08 PM

Tags for this Thread

Posting Permissions

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