[Search tip detail and code files using keywords, tip number, author name, etc ]
 
    For tip to function correctly, you must ensure that the downloaded file name matches the file name
    displayed in the Rename File To field. Please rename downloaded files when necessary.
Tip 2254: Enhanced View Rotate
Tip# 2254 By Leonid Nemirovsky On 01-Nov-2007
4
Rated By 1 users Downloaded : 253
Categories : Named Views
Software type : AutoCAD
Rename File To : Tip 2254: xpln.lsp
XPLN.LSP is a macro that will rotate the current view based on the selection of two points defining a line meant to be parallel with the x-axis.

Tip 2254: Enhanced View Rotate
The Enhanced View Rotate macro is from one of Harry's favorite contributors, Leonid Nemirovsky. Just after Harry's last request for more tips, Len sent in a fresh one he had created that day for his own work. This macro will rotate the current view based on the selection of two points defining a line meant to be parallel with the x-axis. Load the LSP code, then type Xpln at the Command line of AutoCAD to activate the command function. You will be prompted for two points: The first is the base point of your new x axis. The second is a point along the positive direction of the x axis. A line is drawn, the user coordinate system (UCS) sets to that new line, the plan view is shown, and the line erases automatically. Nice programming to solve an on-the-job issue. A tip of the hat once again from Harry!

 

 

Average Rating:
4


User comments


Log In