<?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: AutoCAD Command to reset Block Rotation angle to zero in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/autocad-command-to-reset-block-rotation-angle-to-zero/m-p/7791334#M190759</link>
    <description>&lt;P&gt;Is the block actually rotated at the 45 degree?&lt;/P&gt;</description>
    <pubDate>Tue, 20 Feb 2018 11:45:02 GMT</pubDate>
    <dc:creator>john.p.addy</dc:creator>
    <dc:date>2018-02-20T11:45:02Z</dc:date>
    <item>
      <title>AutoCAD Command to reset Block Rotation angle to zero</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/autocad-command-to-reset-block-rotation-angle-to-zero/m-p/7791322#M190758</link>
      <description>&lt;P&gt;Hi All,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please let me know AutoCAD command to reset the block rotation angle to zero.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 11:36:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/autocad-command-to-reset-block-rotation-angle-to-zero/m-p/7791322#M190758</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-20T11:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD Command to reset Block Rotation angle to zero</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/autocad-command-to-reset-block-rotation-angle-to-zero/m-p/7791334#M190759</link>
      <description>&lt;P&gt;Is the block actually rotated at the 45 degree?&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 11:45:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/autocad-command-to-reset-block-rotation-angle-to-zero/m-p/7791334#M190759</guid>
      <dc:creator>john.p.addy</dc:creator>
      <dc:date>2018-02-20T11:45:02Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD Command to reset Block Rotation angle to zero</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/autocad-command-to-reset-block-rotation-angle-to-zero/m-p/7791404#M190760</link>
      <description>&lt;P&gt;Thank you for your reply Sir,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Yes, Block has been rotate at 45 Degree.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Basically i am defining a AutoCAD script, where the block to rotate at specified angle and&amp;nbsp;plot the window selection area, then again to reset the block rotation angle to zero for rotate to next angle value and plot.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you..&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Regards,&lt;/P&gt;&lt;P&gt;Harish&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 12:16:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/autocad-command-to-reset-block-rotation-angle-to-zero/m-p/7791404#M190760</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2018-02-20T12:16:47Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD Command to reset Block Rotation angle to zero</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/autocad-command-to-reset-block-rotation-angle-to-zero/m-p/7791415#M190761</link>
      <description>&lt;P&gt;Change the value by clicking in that field with your mouse &lt;img id="smileywink" class="emoticon emoticon-smileywink" src="https://forums.autodesk.com/i/smilies/16x16_smiley-wink.png" alt="Smiley Wink" title="Smiley Wink" /&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 12:21:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/autocad-command-to-reset-block-rotation-angle-to-zero/m-p/7791415#M190761</guid>
      <dc:creator>tramber</dc:creator>
      <dc:date>2018-02-20T12:21:31Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD Command to reset Block Rotation angle to zero</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/autocad-command-to-reset-block-rotation-angle-to-zero/m-p/7791426#M190762</link>
      <description>&lt;P&gt;You can also use the CHANGE command on a block insertion to redifine the angle but it would mean that you select, wich is quite some art in scripts.&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 12:24:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/autocad-command-to-reset-block-rotation-angle-to-zero/m-p/7791426#M190762</guid>
      <dc:creator>tramber</dc:creator>
      <dc:date>2018-02-20T12:24:27Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD Command to reset Block Rotation angle to zero</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/autocad-command-to-reset-block-rotation-angle-to-zero/m-p/7791435#M190763</link>
      <description>&lt;P&gt;The only thing I can think of is to go into the actual block and rotate the block -45 degrees, or rotate the block -45 degrees&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 12:27:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/autocad-command-to-reset-block-rotation-angle-to-zero/m-p/7791435#M190763</guid>
      <dc:creator>john.p.addy</dc:creator>
      <dc:date>2018-02-20T12:27:30Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD Command to reset Block Rotation angle to zero</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/autocad-command-to-reset-block-rotation-angle-to-zero/m-p/7791806#M190764</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;@Anonymous wrote:&lt;BR /&gt;
&lt;P&gt;....&amp;nbsp;the block to rotate at specified angle and&amp;nbsp;plot the window selection area, then again to reset the block rotation angle to zero for rotate to next angle value and plot.&lt;/P&gt;
&lt;P&gt;....&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;You could&amp;nbsp;simply do something like this:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Rotate the North Arrow&lt;/P&gt;
&lt;P&gt;Plot {whatever that involves}&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;U&lt;/STRONG&gt; ; [undo the Plot, which won't have any effect in the drawing]&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;U&lt;/STRONG&gt; ; [undo the Rotate command]&lt;/P&gt;
&lt;P&gt;Rotate the North Arrow for the next....&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If that isn't viable for some reason, and if you have full AutoCAD and therefore AutoLisp capability, and if there is only one such Block in the drawing, you can just force it to be at 0 rotation:&lt;/P&gt;
&lt;P&gt;(vl-load-com); if necessary&lt;/P&gt;
&lt;P&gt;(vla-put-rotation (vlax-ename-&amp;gt;vla-object (ssname (ssget "_X" '((2 . "NorthArrow"))) 0)) 0)&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 14:25:07 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/autocad-command-to-reset-block-rotation-angle-to-zero/m-p/7791806#M190764</guid>
      <dc:creator>Kent1Cooper</dc:creator>
      <dc:date>2018-02-20T14:25:07Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD Command to reset Block Rotation angle to zero</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/autocad-command-to-reset-block-rotation-angle-to-zero/m-p/7792558#M190765</link>
      <description>&lt;P&gt;The following vlisp code uses the ALIGN command to&amp;nbsp; reorient a 3D block so that its axes are parallel to the WCS.&amp;nbsp; It "unrotates" the block.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;(defun c:unrot (/ bdata bm xv yv pos spt2 tpt2 spt3 tpt3)
; rotates a block so that its axes
; are aligned to the WCS
; L. Minardi  2/20/2018  
  (setq bdata (nentsel))
  (setq bm (nth 2 bdata))
  (setq	xv  (nth 0 bm)
	yv  (nth 1 bm)
	pos (nth 3 bm)
  )
  (setq	spt2 (mapcar '+ pos xv)
	tpt2 (mapcar '+ pos '(1 0 0))
	spt3 (mapcar '+ pos yv)
	tpt3 (mapcar '+ pos '(0 1 0))
  )
  (command "align" pos "" pos pos spt2 tpt2 spt3 tpt3)
  (princ)
)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 20 Feb 2018 17:37:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/autocad-command-to-reset-block-rotation-angle-to-zero/m-p/7792558#M190765</guid>
      <dc:creator>leeminardi</dc:creator>
      <dc:date>2018-02-20T17:37:11Z</dc:date>
    </item>
  </channel>
</rss>

