CNCzone.com-The Largest Machinist Community on the net!



Home Page Mark Forums Read Today's Posts My Replies Classifieds Reviews Photo Gallery Web Links Share Files Advertise With Us Ad List
Go Back   CNCzone.com-The Largest Machinist Community on the net! > CAD Software > Autodesk Software (Autocad, Inventor etc)


Autodesk Software (Autocad, Inventor etc) Discuss Autodesk Software (Autocad, Inventor etc) software here.


This forum is sponsored by:

Reply
 
LinkBack Thread Tools Search this Thread Display Modes
  #1  
Old 04-28-2003, 11:08 AM
CNCadmin's Avatar
Site Owner
 
Join Date: Mar 2003
Location: United States
Posts: 6,458
CNCadmin has disabled reputation
Buy me a Beer?
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
Reply With Quote

  #2  
Old 04-28-2003, 03:53 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,442
ger21 is on a distinguished road
Buy me a Beer?

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)
Reply With Quote

  #3   Ban this user!
Old 04-28-2003, 04:09 PM
CoolHand's Avatar  
Join Date: Apr 2003
Location: Deep Dark Missouri Woods
Posts: 65
CoolHand is on a distinguished road

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
Reply With Quote

  #4   Ban this user!
Old 04-28-2003, 06:39 PM
JOE65's Avatar  
Join Date: Apr 2003
Location: United States
Posts: 89
JOE65 is on a distinguished road
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)
Reply With Quote

  #5  
Old 05-01-2003, 10:44 PM
CNCadmin's Avatar
Site Owner
 
Join Date: Mar 2003
Location: United States
Posts: 6,458
CNCadmin has disabled reputation
Buy me a Beer?

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
Reply With Quote

Sponsored Links
  #6   Ban this user!
Old 05-02-2003, 01:20 AM
CoolHand's Avatar  
Join Date: Apr 2003
Location: Deep Dark Missouri Woods
Posts: 65
CoolHand is on a distinguished road

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
Reply With Quote

  #7   Ban this user!
Old 05-28-2003, 06:10 AM
Wilkerson's Avatar  
Join Date: May 2003
Location: Manitowoc, WI
Posts: 21
Wilkerson is on a distinguished road

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.
Reply With Quote

  #8  
Old 05-28-2003, 07:45 AM
CNCadmin's Avatar
Site Owner
 
Join Date: Mar 2003
Location: United States
Posts: 6,458
CNCadmin has disabled reputation
Buy me a Beer?

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
Reply With Quote

  #9   Ban this user!
Old 05-28-2003, 09:41 AM
Wilkerson's Avatar  
Join Date: May 2003
Location: Manitowoc, WI
Posts: 21
Wilkerson is on a distinguished road

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.
Reply With Quote

  #10  
Old 05-28-2003, 04:24 PM
ger21's Avatar
Community Moderator
 
Join Date: Mar 2003
Location: Shelby Twp, MI....USA
Posts: 20,442
ger21 is on a distinguished road
Buy me a Beer?

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)
Reply With Quote

Sponsored Links
  #11   Ban this user!
Old 05-29-2003, 06:07 AM
Wilkerson's Avatar  
Join Date: May 2003
Location: Manitowoc, WI
Posts: 21
Wilkerson is on a distinguished road

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.
Reply With Quote

Reply




Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
BOBCAD Model Airplane Wing Design Script cely BobCad-Cam 6 08-20-2009 10:11 PM
drilling peck chip break fjd G-Code Programing 20 12-12-2004 06:10 PM
White Paper: Highspeed milling with micro-tools HighSpeed Product Announcements & Manufacturer News 0 03-03-2004 08:29 AM
Model or paper space? CNCadmin Autodesk Software (Autocad, Inventor etc) 9 07-02-2003 08:26 AM




All times are GMT -5. The time now is 03:57 PM.





Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2012, vBulletin Solutions, Inc.
Content Relevant URLs by vBSEO
Template-Modifications by TMS

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361