Community
AutoCAD Forum
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Viewport Scaling at Command Prompt Only

4 REPLIES 4
SOLVED
Reply
Message 1 of 5
rwydesk500
8159 Views, 4 Replies

Viewport Scaling at Command Prompt Only

Is there a command I can type at the command prompt only (i.e. no dialog box), which allows for a particular viewport to be set to a specific scale? I assume the viewport must be 'unlocked'. I am writing a script. Thanks!

Regards,

Rick Yoerger

AutoCAD Electrical 2016
Tags (2)
4 REPLIES 4
Message 2 of 5
pendean
in reply to: rwydesk500

Be inside the viewport first, then start ZOOM command and use the SCALE-XP option: usage explained in HELP.

Message 3 of 5
rwydesk500
in reply to: pendean

I can type mspace to actually enter the viewport, but I don't think there is a command I can type to actually change the scale of the viewport.

 

Capture001.PNG

 

I'm essentially looking for a way to change the 0.992449 viewport scaling, to 1:1 by typing at the command line. Then I will relock it.

Regards,

Rick Yoerger

AutoCAD Electrical 2016
Message 4 of 5
rwydesk500
in reply to: rwydesk500

You were right.

 

Zoom > Scale > 1

 

...results in...

Capture003.PNG

 

Sweet! Thank you.

Regards,

Rick Yoerger

AutoCAD Electrical 2016
Message 5 of 5
GrantsPirate
in reply to: rwydesk500

I would use

Zoom > 1xp

 

I don't think the Zoom > Scale will give you the consistent results you are after.


GrantsPirate
Piping and Mech. Designer
EXPERT ELITE MEMBER
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.

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk Design & Make Report

”Boost