[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.
Match an Object's Rotation
Tip# 3417 By Derek Beals On 09-May-2010
Rated By 1 users Downloaded : 1608
Categories : 2D Operations
Software type : AutoCAD 2011
Rename File To : match-angle.lsp
Align selected objects to the same angle as a reference object.

Derek Beals created a LISP routine that will allow you to match the angle of your selected objects to that of a reference object.

"Once the routine is loaded, start it by typing Mag on the Command line. Pick a line you want an object rotated to, select your objects, pick two points from your object's angle, pick your rotation point, and ta-da! The routine has a rotate object at 180 degrees option in case you need to flip your object around."

Notes from Cadalyst Tip Patrol: The routine is simple to use: Pick the object whose angle you want to match, then select the objects to rotate. After you select them all, press Enter. You will be asked for reference points, which create a line of reference in your selected objects. This established line's angle will match the reference angle. Then pick a point of rotation; that point will stay stationary while your selected objects rotate around it.


Average Rating:

User comments