[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 2301: Quadrant Snap
Tip# 2301 By John Loudermilk On 01-Jul-2008
4
Rated By 1 users Downloaded : 551
Categories : 2D Operations
Software type : AutoCAD
Rename File To : Tip 2301: QS.lsp
QS.LSP locates points at the 45°, 135°, 225°, and 315° angle points based on your point selection. This function is for use inside AutoCAD commands.

Quadrant Snap locates points at the 45°, 135°, 225°, and 315° angle points based on your point selection. This function is for use inside AutoCAD commands. To use this utility, load the LISP code and type (QS) when one of AutoCAD's commands is waiting for a point input. When (QS) runs, you will be asked to select the quadrant of an arc or a circle. The point you select is used to determine which quadrant was picked and is then reset to match the exact halfway point of the quadrant. You might consider modifying this routine to work inside other functions of your own design. John, thanks for a great example of how to use LISP to make AutoCAD work the way you want.

 

Average Rating:
4


User comments