Results 1 to 11 of 11

Thread: Paper space Model space ??

  1. #1
    Site Owner CNCadmin's Avatar
    Join Date
    Mar 2003
    Location
    United States
    Posts
    6424
    Downloads
    2
    Uploads
    3

    Paper space Model space ??

    How can I tab between paper space and model space without clicking on the tab button on the screen?
    Thank You,
    Paul G
    Site Owner-Webmaster-
    Administrator
    www.rfqwork.com
    www.cnczone.com
    www.welderzone.com


  2. #2
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Twp, MI....USA
    Posts
    22213
    Downloads
    0
    Uploads
    0
    pspace and mspace commands. You can create shorter alias's to make it quicker.

    Gerry
    Gerry

    Mach3 2010 Screenset
    http://home.comcast.net/~cncwoodworker/2010.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  3. #3
    Registered CoolHand's Avatar
    Join Date
    Apr 2003
    Location
    Deep Dark Missouri Woods
    Posts
    75
    Downloads
    0
    Uploads
    0
    In AutoCAD 2000 and newer, you can just type PS or MS at the command line.
    Ryan Shanks
    Logic Industries LLC http://www.logic-industries.com


  4. #4
    Registered JOE65's Avatar
    Join Date
    Apr 2003
    Location
    United States
    Posts
    89
    Downloads
    0
    Uploads
    0

    Cool

    When in paper space double clicking inside a viewport takes you to model space and then double clicking outside viewport takes you back to paper space. ( sounds like a vidio game)


  • #5
    Site Owner CNCadmin's Avatar
    Join Date
    Mar 2003
    Location
    United States
    Posts
    6424
    Downloads
    2
    Uploads
    3
    Well ps ms does not work in 2002, and I already know about the doble click. I'm looking for one button that will move from opne to the other.
    Thank You,
    Paul G
    Site Owner-Webmaster-
    Administrator
    www.rfqwork.com
    www.cnczone.com
    www.welderzone.com


  • #6
    Registered CoolHand's Avatar
    Join Date
    Apr 2003
    Location
    Deep Dark Missouri Woods
    Posts
    75
    Downloads
    0
    Uploads
    0
    Then you have something configured wrong.

    I just pulled up AutoCAD to make sure I wasn't full of crap, and PS/MS still worked like a champ.

    You have to be under one of the layout tabs (doesn't matter which one).
    Ryan Shanks
    Logic Industries LLC http://www.logic-industries.com


  • #7
    Registered Wilkerson's Avatar
    Join Date
    May 2003
    Location
    Manitowoc, WI
    Posts
    21
    Downloads
    0
    Uploads
    0
    Tilemode 0 or 1

    I've written three very simple AutoLISP routines to toggle back and forth

    (defun C:TM ()
    (setvar "cmdecho" 0)
    (command "tilemode" (abs (+ (getvar "tilemode") -1)))
    (setvar "cmdecho" 1)
    (princ)
    ); end tm.lsp

    (defun C:PS ()
    (setvar "cmdecho" 0)
    (if (= (getvar "tilemode") 1)
    (setvar "tilemode" 0)
    )
    (command "pspace")
    (setvar "cmdecho" 1)
    (princ)
    )

    (defun C:MS ()
    (setvar "cmdecho" 0)
    (if (= (getvar "tilemode") 1)
    (setvar "tilemode" 0)
    )
    (command "mspace")
    (setvar "cmdecho" 1)
    (princ)
    )

    HTH
    Brent
    -------------
    Sometimes people have a hard time reading my emails and posts, so thats why I type slower.
    So people can understand me then.


  • #8
    Site Owner CNCadmin's Avatar
    Join Date
    Mar 2003
    Location
    United States
    Posts
    6424
    Downloads
    2
    Uploads
    3
    Originally posted by Wilkerson
    Tilemode 0 or 1

    I've written three very simple AutoLISP routines to toggle back and forth

    (defun C:TM ()
    (setvar "cmdecho" 0)
    (command "tilemode" (abs (+ (getvar "tilemode") -1)))
    (setvar "cmdecho" 1)
    (princ)
    ); end tm.lsp

    (defun C:PS ()
    (setvar "cmdecho" 0)
    (if (= (getvar "tilemode") 1)
    (setvar "tilemode" 0)
    )
    (command "pspace")
    (setvar "cmdecho" 1)
    (princ)
    )

    (defun C:MS ()
    (setvar "cmdecho" 0)
    (if (= (getvar "tilemode") 1)
    (setvar "tilemode" 0)
    )
    (command "mspace")
    (setvar "cmdecho" 1)
    (princ)
    )

    HTH

    How does it work? How do I install it?
    Thank You,
    Paul G
    Site Owner-Webmaster-
    Administrator
    www.rfqwork.com
    www.cnczone.com
    www.welderzone.com


  • #9
    Registered Wilkerson's Avatar
    Join Date
    May 2003
    Location
    Manitowoc, WI
    Posts
    21
    Downloads
    0
    Uploads
    0
    Copy and paste them into notepad.

    Save with the extension .LSP save preferably in a support directory

    In AutoCAD type appload

    Browse to were you saved the file.

    Select it and click load.

    You can also load it into the Startup Suite from appload.

    The C:XXX is the command name example Command: TM

    AutoLISP is a programming language for AutoCAD. These are very simple ones. I have tons of LISP programs written for varies applications

    HTH

    Brent
    Brent
    -------------
    Sometimes people have a hard time reading my emails and posts, so thats why I type slower.
    So people can understand me then.


  • #10
    Community Moderator ger21's Avatar
    Join Date
    Mar 2003
    Location
    Shelby Twp, MI....USA
    Posts
    22213
    Downloads
    0
    Uploads
    0
    What's wrong with clicking the tabs? Are you looking for a faster way to switch? Or for some other reason?

    Gerry
    Gerry

    Mach3 2010 Screenset
    http://home.comcast.net/~cncwoodworker/2010.html

    (Note: The opinions expressed in this post are my own and are not necessarily those of CNCzone and its management)


  • #11
    Registered Wilkerson's Avatar
    Join Date
    May 2003
    Location
    Manitowoc, WI
    Posts
    21
    Downloads
    0
    Uploads
    0
    Ger21, if your an original AutoCAD'r, like myself.....been using since days of DOS, you still type most commands. And I've gotten use to typing TM, MS and PS. I just tweaked these commands to toggle back and forth quickly.
    I've been using AutoCAD with LISP routines I've written for so long that I just think of the extra util's as normal AutoCAD commands. Take text editting, it sucks doing it. I've written a different DDEDIT like command. It can be used for DTEXT, MTEXT or DIMENSIONS with multiple selections. This is a BIG time save.



    ;;; Command Name: DE and ED

    ;; MULITPLE TEXT EDIT FOR MTEXT,DTEXT,DIMENSION,TOLERANCE OR ATTRIBUTES ;;

    ;-----------------------------------------------------------;
    (defun NOT_TEXT (/ ATT)
    (cond
    ((not (or (= (cdr (assoc 0 TXT)) "DIMENSION")
    (= (cdr (assoc 0 TXT)) "INSERT")
    (= (cdr (assoc 0 TXT)) "TOLERANCE")))
    (princ
    (strcat "\nObject selected is not TEXT,MTEXT,DIMENSION,TOLERANCE or ATTRIBUTE.
    \n\tThis is a " (cdr (assoc 0 TXT)) "."))
    )
    (' t
    (if (= (cdr (assoc 0 TXT)) "INSERT")
    (progn
    (setq ATT (cdr (assoc 66 TXT)))
    (if (= ATT 1) (command "ddatte" (ssname SS CNT))
    (princ "\nINSERT does NOT have ATTRIBUTES")
    )
    )
    )
    (command "ddedit" (ssname SS CNT) "")
    )
    )
    )
    ;-----------------------------------------------------------;
    (defun C:DE (/ SS NUM TXT OLD NEW TE CNT)
    (setvar "CMDECHO" 0)
    (command "undo" "m" "undo" "g")

    (princ "\n<Select DTEXT,MTEXT,DIMENSIONS,TOLERANCES or ATTRIBUTES>/Remove")
    (setq SS (ssget))
    (if (= SS nil) (setq SS (ssget "p")))

    (setq NUM (sslength SS) CNT 0)

    (repeat NUM
    (setq TXT (entget (ssname SS CNT)))

    (cond
    ((not (or (= (cdr (assoc 0 TXT)) "TEXT") (= (cdr (assoc 0 TXT)) "MTEXT")))
    (NOT_TEXT)
    )
    (' t
    (setq
    OLD (cdr (assoc 1 TXT))
    TE (load_dialog "textedit")
    )
    (if (and TE (new_dialog "textedit" TE))
    (progn
    (set_tile "txt_edit" OLD)
    (action_tile
    "txt_edit"
    "(setq NEW $value)"
    )
    (if (= (start_dialog) 1)
    (progn
    (setq
    TXT (subst
    (cons 1 NEW)
    (assoc 1 TXT)
    TXT
    )
    )
    (entmod TXT)
    )
    )
    (unload_dialog TE)
    )
    (exit)
    )
    )
    )
    (setq CNT (1+ CNT))
    )

    (setq SS nil)
    (command "undo" "e")
    (setvar "CMDECHO" 1)
    (princ)
    )
    ;-----------------------------------------------------------;
    (defun C:ED (/ SS NUM CNT)
    (setvar "CMDECHO" 0)
    (command "undo" "mark" "undo" "group")
    (princ "MDDEDIT")
    (princ "\n<Select DTEXT,MTEXT,DIMENSIONS or TOLERANCES>/Remove")
    (setq SS (ssget))
    (if (= SS nil) (setq SS (ssget "p")))
    (setq NUM (sslength SS) CNT 0)
    (repeat NUM
    (command "ddedit" (ssname SS CNT) "")
    (setq CNT (1+ CNT))
    )
    (setq SS nil)
    (command "undo" "e")
    (setvar "CMDECHO" 1)
    (princ)
    )
    Brent
    -------------
    Sometimes people have a hard time reading my emails and posts, so thats why I type slower.
    So people can understand me then.


  • Similar Threads

    1. BOBCAD Model Airplane Wing Design Script
      By cely in forum BobCad-Cam
      Replies: 6
      Last Post: 08-20-2009, 11:11 PM
    2. drilling peck chip break
      By fjd in forum G-Code Programing
      Replies: 20
      Last Post: 12-12-2004, 07:10 PM
    3. White Paper: Highspeed milling with micro-tools
      By HighSpeed in forum Product and Manufacturer Announcements
      Replies: 0
      Last Post: 03-03-2004, 09:29 AM
    4. Model or paper space?
      By CNCadmin in forum Autodesk Software (Autocad, Inventor etc)
      Replies: 9
      Last Post: 07-02-2003, 09:26 AM

    Posting Permissions



    About CNCzone.com

      We are the largest and most active discussion forum from DIY CNC Machines to the Cad/Cam software to run them. The site is 100% free to join and use, so join today!

    Follow us on

    Facebook Dribbble RSS Feed


    Search Engine Friendly URLs by vBSEO ©2011, Crawlability, Inc.