AutoCAD/Viewport Boundary
Expert: Bill DeShawn - 6/10/2008
QuestionQUESTION: Is there any way to map the Paperspace Viewport mapping boundary other than zoom window option in the Mspace of the current Viewport.. Help me to overcome this hurdle.
thanks in advance
Dharani
ANSWER: The most important part of the viewport is the scale factor of the model space within. That is achieved with the XP option of the zoom command while in the viewport. So with the viewport unlocked, and in model space, type zoom and 1xp to make the scale factor of the model space equal to that of paper space. Or type Zoom .5xp to make the scale factor of model space half of that of paper space. So whatever you plot paper space, your model space viewport will be relative to that.
Next is to stretch out or in the viewport boundary to fit what you want to see within it. If you have a title block now is the time to insert it and to a scale that will be compatible with drafting standards and will encompasss all of the viewport that you want to see on paper. Try not to to odd scaling like 1/48 (which is also 1/4" = 1'-0") for Architectural drawing, but create title blocks that are 48 times as large as the size of paper you want to plot it on. This is to keep Linetype Scale at a reasonable value for both Model and Paper space work. I have not found PSLTSCALE system variable to be very reliable.
If you need further assistance, please keep the conversation going.
Keep in touch
Bill DeShawn
http://my.sterling.net/~bdeshawn
---------- FOLLOW-UP ----------
QUESTION: Hi Bill,
Thanks for your information on this. Is there any other way through VBA for mapping the modalspace area otherthan the following
mspace=true and zoom window the xp area with in the veiwport modelspace area.
thanks
Dharani
AnswerHow about LISP?
(defun c:z1 ()
(if (= (getvar "ctab") "Model")
(princ "Cannot run from Model Tab! ")
(progn (command "_.mspace") (command "_.zoom" "1xp"))
)
(command "_.pspace")
(princ)
)
(alert "Unlock Viewport to Run. Lock Viewport after running.")
(defun c:vpl () (command "_.mview" "lo" "on" pause "")(princ)); locks viewport
(defun c:vpu () (command "_.mview" "lo" "off" pause "")(princ)); unlocks viewport
Keep in touch.
Bill DeShawn
http://my.sterling.net/~bdeshawn