<?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: Find Rotation Angle of the current View in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/find-rotation-angle-of-the-current-view/m-p/13076979#M57387</link>
    <description>&lt;P&gt;This discussion group is focused on programming.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The question was asked in the context of how to find out the rotation angle of the view in code, not interactively using commands,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the steps you outline for finding the answer interactively is the scenic route.&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Command: VIEWTWIST
VIEWTWIST = 45 (read only)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 10 Oct 2024 16:38:53 GMT</pubDate>
    <dc:creator>ActivistInvestor</dc:creator>
    <dc:date>2024-10-10T16:38:53Z</dc:date>
    <item>
      <title>Find Rotation Angle of the current View</title>
      <link>https://forums.autodesk.com/t5/net-forum/find-rotation-angle-of-the-current-view/m-p/3317577#M57375</link>
      <description>&lt;P&gt;I'm looking to find the current rotation of my view in modelspace.&lt;/P&gt;&lt;P&gt;This isn't the ucs directionm but any arbitrary view i'm using.&lt;/P&gt;&lt;P&gt;For example using 3dorbit to rotate around an object.&lt;/P&gt;&lt;P&gt;I want to match some temp graphics to align flat to my view.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;EDIT:&lt;/P&gt;&lt;P&gt;I see there is a VIEWDIR variable. so that may be what I need&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2012 17:52:11 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/find-rotation-angle-of-the-current-view/m-p/3317577#M57375</guid>
      <dc:creator>arcticad</dc:creator>
      <dc:date>2012-02-03T17:52:11Z</dc:date>
    </item>
    <item>
      <title>Re: Find Rotation Angle of the current View</title>
      <link>https://forums.autodesk.com/t5/net-forum/find-rotation-angle-of-the-current-view/m-p/3317957#M57376</link>
      <description>&lt;P&gt;Just a shot in the dark&lt;/P&gt;&lt;P&gt;GetSystemVariable("ucsxdir") maybe&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;FONT color="#800000" face="arial,helvetica,sans-serif"&gt;~'J'~&lt;/FONT&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2012 20:18:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/find-rotation-angle-of-the-current-view/m-p/3317957#M57376</guid>
      <dc:creator>Hallex</dc:creator>
      <dc:date>2012-02-03T20:18:37Z</dc:date>
    </item>
    <item>
      <title>Re: Find Rotation Angle of the current View</title>
      <link>https://forums.autodesk.com/t5/net-forum/find-rotation-angle-of-the-current-view/m-p/3318061#M57377</link>
      <description>&lt;P&gt;ucsxdir gives me the angle of the ucs and not the angle of the view as I am currently looking at it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank You for the effort. It's appreciated.&lt;/P&gt;</description>
      <pubDate>Fri, 03 Feb 2012 21:28:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/find-rotation-angle-of-the-current-view/m-p/3318061#M57377</guid>
      <dc:creator>arcticad</dc:creator>
      <dc:date>2012-02-03T21:28:56Z</dc:date>
    </item>
    <item>
      <title>Re: Find Rotation Angle of the current View</title>
      <link>https://forums.autodesk.com/t5/net-forum/find-rotation-angle-of-the-current-view/m-p/3318265#M57378</link>
      <description>&lt;PRE&gt;public Vector3d get_ViewDirection();
 
Declaring Type: Autodesk.AutoCAD.DatabaseServices.Viewport 
Assembly: Acdbmgd, Version=18.2.0.0 &lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Sat, 04 Feb 2012 01:18:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/find-rotation-angle-of-the-current-view/m-p/3318265#M57378</guid>
      <dc:creator>kerry_w_brown</dc:creator>
      <dc:date>2012-02-04T01:18:05Z</dc:date>
    </item>
    <item>
      <title>Re: Find Rotation Angle of the current View</title>
      <link>https://forums.autodesk.com/t5/net-forum/find-rotation-angle-of-the-current-view/m-p/3319853#M57379</link>
      <description>&lt;P&gt;Can you give a code sample on how to access it. I'm not finding any examples.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 06 Feb 2012 18:19:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/find-rotation-angle-of-the-current-view/m-p/3319853#M57379</guid>
      <dc:creator>arcticad</dc:creator>
      <dc:date>2012-02-06T18:19:52Z</dc:date>
    </item>
    <item>
      <title>Re: Find Rotation Angle of the current View</title>
      <link>https://forums.autodesk.com/t5/net-forum/find-rotation-angle-of-the-current-view/m-p/3320369#M57380</link>
      <description>&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;This may have some info&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;A href="http://docs.autodesk.com/ACD/2010/ENU/AutoCAD%20.NET%20Developer's%20Guide/index.html?url=WS1a9193826455f5ff2566ffd511ff6f8c7ca-343a.htm,topicNumber=d0e49632" target="_blank"&gt;http://docs.autodesk.com/ACD/2010/ENU/AutoCAD%20.NET%20Developer's%20Guide/index.html?url=WS1a9193826455f5ff2566ffd511ff6f8c7ca-343a.htm,topicNumber=d0e49632&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 07 Feb 2012 00:08:05 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/find-rotation-angle-of-the-current-view/m-p/3320369#M57380</guid>
      <dc:creator>kerry_w_brown</dc:creator>
      <dc:date>2012-02-07T00:08:05Z</dc:date>
    </item>
    <item>
      <title>Re: Find Rotation Angle of the current View</title>
      <link>https://forums.autodesk.com/t5/net-forum/find-rotation-angle-of-the-current-view/m-p/3327731#M57381</link>
      <description>&lt;P&gt;I found the answer here&lt;/P&gt;&lt;P&gt;&lt;A href="http://usa.autodesk.com/adsk/servlet/index?id=18162650&amp;amp;siteID=123112" target="_blank"&gt;http://usa.autodesk.com/adsk/servlet/index?id=18162650&amp;amp;siteID=123112&lt;/A&gt;&lt;/P&gt;&lt;P&gt;in lesson 8&lt;/P&gt;</description>
      <pubDate>Fri, 10 Feb 2012 19:05:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/find-rotation-angle-of-the-current-view/m-p/3327731#M57381</guid>
      <dc:creator>arcticad</dc:creator>
      <dc:date>2012-02-10T19:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Find Rotation Angle of the current View</title>
      <link>https://forums.autodesk.com/t5/net-forum/find-rotation-angle-of-the-current-view/m-p/9807657#M57382</link>
      <description>&lt;P&gt;Can you share a better link? I can't find a lesson 8.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks.&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 17:25:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/find-rotation-angle-of-the-current-view/m-p/9807657#M57382</guid>
      <dc:creator>dnicholsonZCTRT</dc:creator>
      <dc:date>2020-10-16T17:25:37Z</dc:date>
    </item>
    <item>
      <title>Re: Find Rotation Angle of the current View</title>
      <link>https://forums.autodesk.com/t5/net-forum/find-rotation-angle-of-the-current-view/m-p/9807742#M57383</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/4748614"&gt;@dnicholsonZCTRT&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;
&lt;P&gt;Can you share a better link? I can't find a lesson 8.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks.&lt;/P&gt;
&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;
&lt;P&gt;&lt;A href="https://knowledge.autodesk.com/support/autocad/learn-explore/caas/simplecontent/content/lesson-8-bonus-plug.html" target="_blank"&gt;https://knowledge.autodesk.com/support/autocad/learn-explore/caas/simplecontent/content/lesson-8-bonus-plug.html&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Oct 2020 18:11:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/find-rotation-angle-of-the-current-view/m-p/9807742#M57383</guid>
      <dc:creator>Alexander.Rivilis</dc:creator>
      <dc:date>2020-10-16T18:11:56Z</dc:date>
    </item>
    <item>
      <title>Re: Find Rotation Angle of the current View</title>
      <link>https://forums.autodesk.com/t5/net-forum/find-rotation-angle-of-the-current-view/m-p/13075118#M57384</link>
      <description>&lt;P&gt;nobody here actually answered the question. They left little links for you to go and get it yourself, little frustrating.&lt;BR /&gt;&lt;BR /&gt;Type "snapang" + enter and it'll display the current 2D view rotation. I can only answer for 2D at the moment.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 09 Oct 2024 21:55:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/find-rotation-angle-of-the-current-view/m-p/13075118#M57384</guid>
      <dc:creator>at_mckinney</dc:creator>
      <dc:date>2024-10-09T21:55:26Z</dc:date>
    </item>
    <item>
      <title>Re: Find Rotation Angle of the current View</title>
      <link>https://forums.autodesk.com/t5/net-forum/find-rotation-angle-of-the-current-view/m-p/13075165#M57385</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15859200"&gt;@at_mckinney&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;nobody here actually answered the question. They left little links for you to go and get it yourself, little frustrating.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;The only thing frustrating here is that the question was answered and that You probably aren't able to recognize it, because you don't realize that this is a programming-related discussion group.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;HR /&gt;Type "snapang" + enter and it'll display the current 2D view rotation. I can only answer for 2D at the moment.&amp;nbsp;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;This is not an answer. This question asked ~4 years ago was about how to find the rotation angle of the current view &lt;EM&gt;&lt;STRONG&gt;in program code&lt;/STRONG&gt;&lt;/EM&gt;, not by issuing commands.&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2024 02:53:49 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/find-rotation-angle-of-the-current-view/m-p/13075165#M57385</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2024-10-10T02:53:49Z</dc:date>
    </item>
    <item>
      <title>Re: Find Rotation Angle of the current View</title>
      <link>https://forums.autodesk.com/t5/net-forum/find-rotation-angle-of-the-current-view/m-p/13076968#M57386</link>
      <description>&lt;P&gt;This has worked for me.&lt;/P&gt;&lt;P&gt;1. UCS; View&lt;/P&gt;&lt;P&gt;2. Draw a random horizontal line in ortho mode.&lt;/P&gt;&lt;P&gt;3. UCS; World&lt;/P&gt;&lt;P&gt;4. List line rotation or set new UCS to line and save UCS (UCS; Save)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2024 16:30:25 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/find-rotation-angle-of-the-current-view/m-p/13076968#M57386</guid>
      <dc:creator>dnicholsonZCTRT</dc:creator>
      <dc:date>2024-10-10T16:30:25Z</dc:date>
    </item>
    <item>
      <title>Re: Find Rotation Angle of the current View</title>
      <link>https://forums.autodesk.com/t5/net-forum/find-rotation-angle-of-the-current-view/m-p/13076979#M57387</link>
      <description>&lt;P&gt;This discussion group is focused on programming.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The question was asked in the context of how to find out the rotation angle of the view in code, not interactively using commands,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, the steps you outline for finding the answer interactively is the scenic route.&lt;/P&gt;&lt;LI-CODE lang="general"&gt;Command: VIEWTWIST
VIEWTWIST = 45 (read only)&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 10 Oct 2024 16:38:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/find-rotation-angle-of-the-current-view/m-p/13076979#M57387</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2024-10-10T16:38:53Z</dc:date>
    </item>
  </channel>
</rss>

