Print Page | Close Window

Lisp to rotate MViewport & the twist angle too !

Printed From: CAD Forum
Category: EN
Forum Name: AutoCAD
Forum Description: Discussion about AutoCAD and AutoCAD LT, viewers, DWG and DXF formats, Design Review, AutoCAD web, Drive, add-ons
URL: https://www.cadforum.cz/forum_en/forum_posts.asp?TID=5514
Printed Date: 05.Sep.2026 at 17:17


Topic: Lisp to rotate MViewport & the twist angle too !
Posted By: linhoreka
Subject: Lisp to rotate MViewport & the twist angle too !
Date Posted: 20.Mar.2011 at 14:48
In Vietnam, almost drafters don't use paper space. We usually to draw all in model space ! So may be this is an useful routines for drafters outside Vietnam :)

This routine i made in 2008. Because rotating a viewport in paper space need too many mouse and keyboard clicks, i tried to change it, make it as easy as rotating any other object.
So, here it is, the command is http://www.mediafire.com/?bz68b2upbr8yv8j" rel="nofollow - C:MR

Another command included is C:MSC which would scale both the boundary and the view scale of the MViewport. The basepoint is the center of the MViewport. This command is made since AutoCAD 14 ! :) Now with new AutoCAD version, we can do this with the Scale dropdown list. But i thought it is still useful, because it is different !

I don't know much about the enhancements in AutoCAD recently. May be there is some other better commands to rotate and scale a MViewport ? Anyway, I've made it myself :)


-------------
http://7cad.wordpress.com - AutoCAD lisps and VBA shared



Print Page | Close Window