+ Reply to Thread
Results 1 to 5 of 5
  1. #1
    Super Member Lt Dan's legs's Avatar
    Using
    AutoCAD 2007
    Join Date
    May 2010
    Location
    Florida
    Posts
    611

    Default beginner question

    Registered forum members do not see this ad.

    I give! How do I temporally turn off polar and turn on ortho?

  2. #2
    Super Member Lt Dan's legs's Avatar
    Using
    AutoCAD 2007
    Join Date
    May 2010
    Location
    Florida
    Posts
    611

    Default

    I guess I'll just use (setvar "polarang" 90) and be done with it. I'd still like to know how to turn on polar though

  3. #3
    Quantum Mechanic Lee Mac's Avatar
    Computer Details
    Lee Mac's Computer Details
    Operating System:
    Windows 7 Ultimate (32-bit)
    Discipline
    Multi-disciplinary
    Lee Mac's Discipline Details
    Discipline
    Multi-disciplinary
    Details
    Custom Programming / Software Customisation
    Using
    AutoCAD 2013
    Join Date
    Aug 2008
    Location
    London, England
    Posts
    19,319

    Default

    ORTHOMODE Toggle:

    Code:
    (setvar 'ORTHOMODE (- 1 (getvar 'ORTHOMODE)))
    POLAR Tracking Toggle:

    Code:
    (setvar 'AUTOSNAP (boole 6 (getvar 'AUTOSNAP) 8))
    Perhaps more useful:

    Code:
    ;; flag:  1 = ON, 0 = OFF
    
    (defun LM:PolarTrack ( flag )
      (setvar 'AUTOSNAP (boole (+ 2 (* flag 5)) (getvar 'AUTOSNAP) 8))
    )
    Last edited by Lee Mac; 12th Jul 2010 at 03:39 pm.
    Lee Mac ProgrammingTwitterExchange App StoreDropbox (500MB free)

    With Mathematics there is the possibility of perfect rigour, so why settle for less?

  4. #4
    Super Member Lt Dan's legs's Avatar
    Using
    AutoCAD 2007
    Join Date
    May 2010
    Location
    Florida
    Posts
    611

    Default

    Nice. Thank you!

  5. #5
    Quantum Mechanic Lee Mac's Avatar
    Computer Details
    Lee Mac's Computer Details
    Operating System:
    Windows 7 Ultimate (32-bit)
    Discipline
    Multi-disciplinary
    Lee Mac's Discipline Details
    Discipline
    Multi-disciplinary
    Details
    Custom Programming / Software Customisation
    Using
    AutoCAD 2013
    Join Date
    Aug 2008
    Location
    London, England
    Posts
    19,319

    Default

    Registered forum members do not see this ad.

    Quote Originally Posted by Lt Dan's legs View Post
    I guess I'll just use (setvar "polarang" 90) and be done with it. I'd still like to know how to turn on polar though
    Code:
    (setvar 'polarang 90) = Polar Ang set to 116.62 degrees
    Better:

    Code:
    (setvar 'polarang (/ pi 2.))
    Lee Mac ProgrammingTwitterExchange App StoreDropbox (500MB free)

    With Mathematics there is the possibility of perfect rigour, so why settle for less?

Similar Threads

  1. Beginner Question
    By Mezalaja in forum AutoLISP, Visual LISP & DCL
    Replies: 4
    Last Post: 1st Jul 2010, 07:26 am
  2. Beginner question
    By Lt Dan's legs in forum AutoLISP, Visual LISP & DCL
    Replies: 28
    Last Post: 17th Jun 2010, 07:18 pm
  3. super beginner question-steps
    By richie_008 in forum AutoCAD Beginners' Area
    Replies: 10
    Last Post: 24th Feb 2009, 11:37 pm
  4. Beginner FAQ
    By Mr T in forum AutoCAD Beginners' Area
    Replies: 13
    Last Post: 11th Feb 2009, 10:20 pm
  5. beginner
    By manyos in forum AutoCAD Beginners' Area
    Replies: 5
    Last Post: 18th Feb 2006, 08:16 pm

Bookmarks

Posting Permissions

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