AutoCADLT: Keyboard shortcut to rotate object around itself by 90 degrees
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have recently switched from using BricsCAD to AutoCAD LT and I am running into issues converting over some of my custom keyboard shortcuts. In BricsCAD I had a custom shortcut to rotate an object around itself, I made three macros for 90 degrees clockwise, 90 counter clockwise and 180 degrees.
The behavior of shortcut was: select object (or grouping of lines), click the macro, then the object would rotate around it's centerpoint (like a pinwheel)
The macro appeared like:
[code]^c^c^p(command "_rotate" (ssget) "" "_non" (trans (apply 'acet-geom-mid-point (vle-getboundingbox (ssget "_P"))) 0 1) 90.0)(princ)^p[/code]
[ The subject line of this post has been edited for clarity by @pendean Original: Keyboard shortcut to rotate object around itself by 90 degrees ]