Once you have set the scale in a Viewport, what do you want to do next in order to secure the scale?
another old function, will lock or unlock ALL PS viewports in the current file:
;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; (defun vplock (yesno / ss lock x obj) (vl-load-com) (if (setq ss (ssget "X" '((0 . "VIEWPORT")(-4 . "/=")(69 . 1)))) (progn (if (= "y" yesno) (setq lock :vlax-true)(setq lock :vlax-false)) (setq x 0) (while (< x (sslength ss)) (setq obj (vlax-ename->vla-object (ssname ss x))) (vla-put-displaylocked obj lock) (setq x (1+ x)) ) ) ) (princ) ) (defun c:mvlo () (vplock "y")) (defun c:mvu () (vplock "n")) ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;; ;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;
Another quick method, pick on the viewport(s) and pick the lock icon at the bottom of the screen.
GrantsPirate
Piping and Mech. Designer
Always save a copy of the drawing before trying anything suggested here.
----------------------------------------------------------------------------
If something I wrote can be interpreted two ways, and one of the ways makes you sad or angry, I meant the other one.
That'll work as well. But since they abandoned English in favor of vague pictograms that change locations based on space or selection I've pretty much abandoned that tool tray so it's the last option I think about.
@Anonymous wrote:
That'll work as well. But since they abandoned English in favor of vague pictograms that change locations based on space or selection I've pretty much abandoned that tool tray so it's the last option I think about.
It has taken me 2 years to get to about 75% proficient with the darn pictographs, I preferred the letters myself and can't understand Autodesk not giving us the option to use the one we like. It was already there they just couldn't resist mucking something else up. I have a print out of the icons and their functions taped to the bottom of my screen in the approximate location they appear on screen to help me learn their convoluted meaning.
GrantsPirate
Piping and Mech. Designer
Always save a copy of the drawing before trying anything suggested here.
----------------------------------------------------------------------------
If something I wrote can be interpreted two ways, and one of the ways makes you sad or angry, I meant the other one.
@Anonymous wrote:
That'll work as well. But since they abandoned English in favor of vague pictograms that change locations based on space or selection I've pretty much abandoned that tool tray so it's the last option I think about.
It has taken me 2 years to get to about 75% proficient with the darn pictographs, I preferred the letters myself and can't understand Autodesk not giving us the option to use the one we like. It was already there they just couldn't resist mucking something else up. I have a print out of the icons and their functions taped to the bottom of my screen in the approximate location they appear on screen to help me learn their convoluted meaning.
GrantsPirate
Piping and Mech. Designer
Always save a copy of the drawing before trying anything suggested here.
----------------------------------------------------------------------------
If something I wrote can be interpreted two ways, and one of the ways makes you sad or angry, I meant the other one.
there's an echo in here ..... 😉
I'm too old to try to "get used to" something Adesk has buggered up. They've mucked with the tray so much the last few releases I just ignore the blessed thing, I'm an old keyboard junkie anyway, I do nearly everything with two or three letter mnemonics at the keyboard.
Can't find what you're looking for? Ask the community or share your knowledge.