<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Rotating objects by increments with keyboard in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/rotating-objects-by-increments-with-keyboard/m-p/6862226#M240859</link>
    <description>&lt;P&gt;Here's a starter, if you preselect the object(s) and run this macro it will ask for the rotation point and then ask for an angle (you are free to choose the angle + or -), once rotated the objects are reselected by the macro and hitting enter again will rotate them a second time using the same angle, or you can choose a new angle + or - for fine tuning. This macro will allow for 6 rotations, either all the same angle (hit enter) or change the angle you want (keyboard entry and then enter) and Always using the same rotation point;&lt;/P&gt;
&lt;P&gt;Not quite what you asked but a starting point. I did try extending the macro but after 6 rotates the macro fails due to the length of the macro.&lt;/P&gt;
&lt;PRE&gt;^C^C^Cro;\\ro;l;;$M=$(getvar,lastpoint);\ro;l;;$M=$(getvar,lastpoint);\ro;l;;$M=$(getvar,lastpoint);\ro;l;;$M=$(getvar,lastpoint);\ro;l;;$M=$(getvar,lastpoint);\&lt;/PRE&gt;</description>
    <pubDate>Wed, 08 Feb 2017 10:41:25 GMT</pubDate>
    <dc:creator>steven-g</dc:creator>
    <dc:date>2017-02-08T10:41:25Z</dc:date>
    <item>
      <title>Rotating objects by increments with keyboard</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/rotating-objects-by-increments-with-keyboard/m-p/6861213#M240858</link>
      <description>&lt;P&gt;Hi everyone.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I was wondering if anyone has written a macros or just knows how to rotate an object or selection by small increments using the keyboard only? I basically have tons of odd shaped 2-D objects that I need to nest together and they fit in various random ways. I can select one and move it precisely by holding ctrl and using the arrow keys. Now I need a way to rotate the thing via keyboard shortcuts, as in I would like to hold ctrl and use the (-) or (+) to rotate CW or CCW by small increments, like 5 degrees per key stroke.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea? Thanks in advance!!&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2017 22:15:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/rotating-objects-by-increments-with-keyboard/m-p/6861213#M240858</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-07T22:15:04Z</dc:date>
    </item>
    <item>
      <title>Re: Rotating objects by increments with keyboard</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/rotating-objects-by-increments-with-keyboard/m-p/6862226#M240859</link>
      <description>&lt;P&gt;Here's a starter, if you preselect the object(s) and run this macro it will ask for the rotation point and then ask for an angle (you are free to choose the angle + or -), once rotated the objects are reselected by the macro and hitting enter again will rotate them a second time using the same angle, or you can choose a new angle + or - for fine tuning. This macro will allow for 6 rotations, either all the same angle (hit enter) or change the angle you want (keyboard entry and then enter) and Always using the same rotation point;&lt;/P&gt;
&lt;P&gt;Not quite what you asked but a starting point. I did try extending the macro but after 6 rotates the macro fails due to the length of the macro.&lt;/P&gt;
&lt;PRE&gt;^C^C^Cro;\\ro;l;;$M=$(getvar,lastpoint);\ro;l;;$M=$(getvar,lastpoint);\ro;l;;$M=$(getvar,lastpoint);\ro;l;;$M=$(getvar,lastpoint);\ro;l;;$M=$(getvar,lastpoint);\&lt;/PRE&gt;</description>
      <pubDate>Wed, 08 Feb 2017 10:41:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/rotating-objects-by-increments-with-keyboard/m-p/6862226#M240859</guid>
      <dc:creator>steven-g</dc:creator>
      <dc:date>2017-02-08T10:41:25Z</dc:date>
    </item>
    <item>
      <title>Re: Rotating objects by increments with keyboard</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/rotating-objects-by-increments-with-keyboard/m-p/6862486#M240860</link>
      <description>&lt;P&gt;This is a great start I really appreciate it!!!&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 12:57:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/rotating-objects-by-increments-with-keyboard/m-p/6862486#M240860</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-08T12:57:04Z</dc:date>
    </item>
    <item>
      <title>Re: Rotating objects by increments with keyboard</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/rotating-objects-by-increments-with-keyboard/m-p/6862869#M240861</link>
      <description>&lt;P&gt;A much more highly-developed version is &lt;STRONG&gt;SPIN.lsp&lt;/STRONG&gt;, available &lt;A href="https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/found-old-quot-nudge-quot-routine/m-p/5980076#M337980" target="_self"&gt;here&lt;/A&gt;. &amp;nbsp;Limitless number of steps until you hit Enter/space to exit, + or - does it &lt;EM&gt;without&lt;/EM&gt; Ctrl or anything, remembers your specified angle increment and offers it as default the next time, etc.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 14:37:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/rotating-objects-by-increments-with-keyboard/m-p/6862869#M240861</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2017-02-08T14:37:56Z</dc:date>
    </item>
    <item>
      <title>Re: Rotating objects by increments with keyboard</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/rotating-objects-by-increments-with-keyboard/m-p/6862978#M240862</link>
      <description>&lt;P&gt;This is exactly what I needed, thank you so much!!!&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 15:08:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/rotating-objects-by-increments-with-keyboard/m-p/6862978#M240862</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-02-08T15:08:50Z</dc:date>
    </item>
    <item>
      <title>Re: Rotating objects by increments with keyboard</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/rotating-objects-by-increments-with-keyboard/m-p/6863164#M240863</link>
      <description>&lt;P&gt;A simple non-lisp solution is to set polar angle to 5 degrees and proceed from there with the rotate command and moving the cursor.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 16:00:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/rotating-objects-by-increments-with-keyboard/m-p/6863164#M240863</guid>
      <dc:creator>GrantsPirate</dc:creator>
      <dc:date>2017-02-08T16:00:37Z</dc:date>
    </item>
    <item>
      <title>Re: Rotating objects by increments with keyboard</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/rotating-objects-by-increments-with-keyboard/m-p/6863437#M240864</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/511655"&gt;@GrantsPirate&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;A simple non-lisp solution is to set polar angle to 5 degrees and proceed from there with the rotate command and moving the cursor.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;That's a reasonable approach, though&amp;nbsp;it requires you to make sure Polar mode is turned on, and to change the POLARANG System Variable setting any time&amp;nbsp;you want a different increment [if you ever do], and remember to change it back if you prefer a different setting for other purposes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;And it's subject to accidentally Rotating by &lt;EM&gt;non&lt;/EM&gt;-increment-multiple angles, when the cursor location isn't close enough to a Polar-increment-multiple angle&amp;nbsp;from the base point to lock onto one of those angles. &amp;nbsp;But with a &lt;EM&gt;small&lt;/EM&gt; angle increment, and moving the cursor around fairly &lt;EM&gt;close&lt;/EM&gt; to the base point, it would pretty reliably just jump between those increment angles, without any of the "floating free" &lt;EM&gt;between&lt;/EM&gt; those angles that you can get if the cursor is farther afield.&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 17:18:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/rotating-objects-by-increments-with-keyboard/m-p/6863437#M240864</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2017-02-08T17:18:03Z</dc:date>
    </item>
    <item>
      <title>Re: Rotating objects by increments with keyboard</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/rotating-objects-by-increments-with-keyboard/m-p/6864118#M240865</link>
      <description>&lt;P&gt;Yeah, picking the Polar icon is a real inconvenience.&amp;nbsp;&lt;img id="smileyhappy" class="emoticon emoticon-smileyhappy" src="https://forums.autodesk.com/i/smilies/16x16_smiley-happy.png" alt="Smiley Happy" title="Smiley Happy" /&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 08 Feb 2017 20:37:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/rotating-objects-by-increments-with-keyboard/m-p/6864118#M240865</guid>
      <dc:creator>GrantsPirate</dc:creator>
      <dc:date>2017-02-08T20:37:21Z</dc:date>
    </item>
    <item>
      <title>Re: Rotating objects by increments with keyboard</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/rotating-objects-by-increments-with-keyboard/m-p/6866441#M240866</link>
      <description>&lt;P&gt;I like the non-code solution. Simple, elegant.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 16:25:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/rotating-objects-by-increments-with-keyboard/m-p/6866441#M240866</guid>
      <dc:creator>RobDraw</dc:creator>
      <dc:date>2017-02-09T16:25:24Z</dc:date>
    </item>
    <item>
      <title>Re: Rotating objects by increments with keyboard</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/rotating-objects-by-increments-with-keyboard/m-p/6866564#M240867</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/511655"&gt;@GrantsPirate&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Yeah, picking the Polar icon is a real inconvenience.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It's easy to do, yes, but all I meant was that it's also easy to &lt;EM&gt;not be consciously aware&lt;/EM&gt; of whether Polar is on, in which case, if you want things Rotated &lt;EM&gt;only&lt;/EM&gt; at increment multiples, you could sometimes accidentally get results you &lt;EM&gt;don't&lt;/EM&gt; want.&amp;nbsp; For the OP's purposes, it sounds like that restriction may not be applicable, but for some people and purposes it could be.&lt;/P&gt;</description>
      <pubDate>Thu, 09 Feb 2017 17:00:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/rotating-objects-by-increments-with-keyboard/m-p/6866564#M240867</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2017-02-09T17:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Rotating objects by increments with keyboard</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/rotating-objects-by-increments-with-keyboard/m-p/6868705#M240868</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/69526"&gt;@Kent1Cooper&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/511655"&gt;@GrantsPirate&lt;/a&gt; wrote:&lt;BR /&gt;
&lt;P&gt;Yeah, picking the Polar icon is a real inconvenience.&amp;nbsp;&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;It's easy to do, yes, but all I meant was that it's also easy to &lt;EM&gt;not be consciously aware&lt;/EM&gt; of whether Polar is on, in which case, if you want things Rotated &lt;EM&gt;only&lt;/EM&gt; at increment multiples, you could sometimes accidentally get results you &lt;EM&gt;don't&lt;/EM&gt; want.&amp;nbsp; For the OP's purposes, it sounds like that restriction may not be applicable, but for some people and purposes it could be.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;With the visual cues available for polar, it would be difficult to "&lt;EM&gt;not be consciously aware&lt;/EM&gt;" that it is on. If you are like me and keep polar on, it catches me off guard when it is off, wondering why my angles are not showing.&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2017 12:46:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/rotating-objects-by-increments-with-keyboard/m-p/6868705#M240868</guid>
      <dc:creator>RobDraw</dc:creator>
      <dc:date>2017-02-10T12:46:52Z</dc:date>
    </item>
  </channel>
</rss>

