<?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: Problem with version in .NET Forum</title>
    <link>https://forums.autodesk.com/t5/net-forum/problem-with-version/m-p/13092262#M2267</link>
    <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12396114"&gt;@MarkJamesRogolino&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;But I&amp;nbsp; added references from 2020 version libraries(acdbmgd, accoremgd, acmgd).&lt;/P&gt;&lt;P&gt;Is this is just the main cause of problem?&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Change references to 2021 libraries and recompile . . .&amp;nbsp;&lt;/P&gt;&lt;P&gt;That would be a good place to start&lt;/P&gt;</description>
    <pubDate>Fri, 18 Oct 2024 00:19:42 GMT</pubDate>
    <dc:creator>kerry_w_brown</dc:creator>
    <dc:date>2024-10-18T00:19:42Z</dc:date>
    <item>
      <title>Problem with version</title>
      <link>https://forums.autodesk.com/t5/net-forum/problem-with-version/m-p/13091132#M2260</link>
      <description>&lt;P&gt;Hello everyone of Tribe. Your support was always helpful with me.&lt;/P&gt;&lt;P&gt;I made a small Addin of AutoCAD.&lt;/P&gt;&lt;P&gt;It works well in AutoCAD 2020,&lt;BR /&gt;But it does not work in AutoCAD 2021.&lt;BR /&gt;So I did netload command manaually, but any command does not work also.&lt;BR /&gt;How can I solve it.&lt;BR /&gt;Hope for your kind help. Thank you.&lt;/P&gt;&lt;DIV class=""&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Thu, 17 Oct 2024 13:34:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/problem-with-version/m-p/13091132#M2260</guid>
      <dc:creator>MarkJamesRogolino</dc:creator>
      <dc:date>2024-10-17T13:34:40Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with version</title>
      <link>https://forums.autodesk.com/t5/net-forum/problem-with-version/m-p/13091290#M2261</link>
      <description>&lt;P&gt;Your question can't be answered because the answer depends on what problem(s) exist in your code, which you haven't disclosed.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 14:51:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/problem-with-version/m-p/13091290#M2261</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2024-10-17T14:51:56Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with version</title>
      <link>https://forums.autodesk.com/t5/net-forum/problem-with-version/m-p/13091350#M2262</link>
      <description>&lt;P&gt;Thank you for your reply. Every commands works well in acad 2020 but any command does not work in acad 2021. I think it is not releated with code. My small opinion.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 15:08:01 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/problem-with-version/m-p/13091350#M2262</guid>
      <dc:creator>MarkJamesRogolino</dc:creator>
      <dc:date>2024-10-17T15:08:01Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with version</title>
      <link>https://forums.autodesk.com/t5/net-forum/problem-with-version/m-p/13091391#M2263</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12396114"&gt;@MarkJamesRogolino&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;Thank you for your reply. Every commands works well in acad 2020 but any command does not work in acad 2021. I think it is not releated with code. My small opinion.&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;It is definitely related to code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 15:28:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/problem-with-version/m-p/13091391#M2263</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2024-10-17T15:28:52Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with version</title>
      <link>https://forums.autodesk.com/t5/net-forum/problem-with-version/m-p/13091629#M2264</link>
      <description>&lt;P&gt;And code is significant. The passage of time will always affect code, and its a subject we should all want to discuss. Code is text put together in a file that computers read, and is how AI works. AI is not a subject we should ignore, we should discuss it, and care about it. I am very sorry about your code, deeply sorry.&lt;/P&gt;&lt;P&gt;LOL, I could write that all day. Show us some code buddy, but aslo mention if your new project references the acad 2021 .net assemblies, with copylocal property set to false.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 17:36:29 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/problem-with-version/m-p/13091629#M2264</guid>
      <dc:creator>JamesMaeding</dc:creator>
      <dc:date>2024-10-17T17:36:29Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with version</title>
      <link>https://forums.autodesk.com/t5/net-forum/problem-with-version/m-p/13091652#M2265</link>
      <description>&lt;P&gt;You are helping me, Dont be sorry about code.&lt;/P&gt;&lt;P&gt;I share my simple command. But even it does not work.&lt;/P&gt;&lt;P&gt;All the references copylocal properties are false.&lt;/P&gt;&lt;P&gt;But I&amp;nbsp; added references from 2020 version libraries(acdbmgd, accoremgd, acmgd).&lt;/P&gt;&lt;P&gt;Is this is just the main cause of problem?&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 17:49:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/problem-with-version/m-p/13091652#M2265</guid>
      <dc:creator>MarkJamesRogolino</dc:creator>
      <dc:date>2024-10-17T17:49:32Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with version</title>
      <link>https://forums.autodesk.com/t5/net-forum/problem-with-version/m-p/13091982#M2266</link>
      <description>&lt;P&gt;Looks like you're on your own now, good luck finding the problem.&lt;/P&gt;</description>
      <pubDate>Thu, 17 Oct 2024 21:00:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/problem-with-version/m-p/13091982#M2266</guid>
      <dc:creator>ActivistInvestor</dc:creator>
      <dc:date>2024-10-17T21:00:43Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with version</title>
      <link>https://forums.autodesk.com/t5/net-forum/problem-with-version/m-p/13092262#M2267</link>
      <description>&lt;BLOCKQUOTE&gt;&lt;HR /&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12396114"&gt;@MarkJamesRogolino&lt;/a&gt;&amp;nbsp;wrote:&lt;BR /&gt;&lt;P&gt;&amp;gt;&amp;gt;&amp;gt;&lt;/P&gt;&lt;P&gt;But I&amp;nbsp; added references from 2020 version libraries(acdbmgd, accoremgd, acmgd).&lt;/P&gt;&lt;P&gt;Is this is just the main cause of problem?&lt;/P&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;Change references to 2021 libraries and recompile . . .&amp;nbsp;&lt;/P&gt;&lt;P&gt;That would be a good place to start&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 00:19:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/problem-with-version/m-p/13092262#M2267</guid>
      <dc:creator>kerry_w_brown</dc:creator>
      <dc:date>2024-10-18T00:19:42Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with version</title>
      <link>https://forums.autodesk.com/t5/net-forum/problem-with-version/m-p/13092279#M2268</link>
      <description>&lt;P&gt;Thank you for your kind teaching me.&lt;/P&gt;&lt;P&gt;This is my simple command.&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;[CommandMethod("viewchk")]&lt;BR /&gt;public void ViewCheck()&lt;BR /&gt;{&lt;BR /&gt;Document doc = Application.DocumentManager.MdiActiveDocument;&lt;BR /&gt;Database db = doc.Database;&lt;BR /&gt;Editor ed = doc.Editor;&lt;BR /&gt;using (var view = ed.GetCurrentView())&lt;BR /&gt;{&lt;BR /&gt;ed.WriteMessage($"\nCurrent View: {GetViewName(view.ViewDirection)}");&lt;BR /&gt;}&lt;BR /&gt;}&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But even it does not work.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;And I installed acad 2021 LT version and recompile my solution with acad 2021 reference.&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;But there is no netload command in LT version. Am I right?&lt;/STRONG&gt;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;I am not sure about this.&lt;/STRONG&gt;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 00:35:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/problem-with-version/m-p/13092279#M2268</guid>
      <dc:creator>MarkJamesRogolino</dc:creator>
      <dc:date>2024-10-18T00:35:27Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with version</title>
      <link>https://forums.autodesk.com/t5/net-forum/problem-with-version/m-p/13092317#M2269</link>
      <description>&lt;P&gt;&lt;A href="https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/Is-it-possible-to-install-SPDS-extension-on-AutoCAD-LT.html#:~:text=Autodesk%20apps%2C%20plugins%2C%20add%2D,on%20AutoCAD%20including%20specialized%20toolsets" target="_blank"&gt;https://www.autodesk.com/support/technical/article/caas/sfdcarticles/sfdcarticles/Is-it-possible-to-install-SPDS-extension-on-AutoCAD-LT.html#:~:text=Autodesk%20apps%2C%20plugins%2C%20add%2D,on%20AutoCAD%20including%20specialized%20toolsets&lt;/A&gt;.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;BLOCKQUOTE&gt;&lt;DIV class=""&gt;&lt;SPAN&gt;Autodesk apps,&amp;nbsp;plugins, add-ons, or in API-tools from the App store or other sources cannot be installed on AutoCAD LT. They can only be installed on AutoCAD including specialized toolsets.&lt;/SPAN&gt;&lt;/DIV&gt;&lt;HR /&gt;&lt;/BLOCKQUOTE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 01:07:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/problem-with-version/m-p/13092317#M2269</guid>
      <dc:creator>kerry_w_brown</dc:creator>
      <dc:date>2024-10-18T01:07:44Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with version</title>
      <link>https://forums.autodesk.com/t5/net-forum/problem-with-version/m-p/13093740#M2270</link>
      <description>&lt;P&gt;Oh, LT, LOL.&lt;/P&gt;&lt;P&gt;Minor detail there.&lt;/P&gt;&lt;P&gt;I guess now that Lips supposedly works on LT, people expect .net also.&lt;/P&gt;&lt;P&gt;I told Autodesk that would be a problem but my dog does not listen to me either so....&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 16:15:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/problem-with-version/m-p/13093740#M2270</guid>
      <dc:creator>JamesMaeding</dc:creator>
      <dc:date>2024-10-18T16:15:03Z</dc:date>
    </item>
    <item>
      <title>Re: Problem with version</title>
      <link>https://forums.autodesk.com/t5/net-forum/problem-with-version/m-p/13094255#M2271</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/12396114"&gt;@MarkJamesRogolino&lt;/a&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;While reviewing your post I decided to make assumptions about the codes purpose ;&lt;/P&gt;&lt;P&gt;Here's my guess, expressed by revising method and variable names and providing best-guess of the missing functionality.&lt;BR /&gt;&lt;BR /&gt;These are things you should have provided in your first post, along with the comment about attempting to use AutoCAD LT 2021.&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;[CommandMethod("viewchk")]
public void ViewDirectionCheck() {
   Editor ed = CadApp.DocumentManager.MdiActiveDocument.Editor;
   using (var viewRecord = ed.GetCurrentView()) {
      ed.WriteMessage($"\nCurrent View Direction : {GetViewDirectionAxis(viewRecord.ViewDirection)}");
   }
}

private string GetViewDirectionAxis(Vector3d viewDirection) {
   if (viewDirection == Vector3d.XAxis) return "X-Axis";
   if (viewDirection == Vector3d.YAxis) return "Y-Axis";
   if (viewDirection == Vector3d.ZAxis) return "Z-Axis";
   return "Unknown";
}&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Best fortune,&lt;/P&gt;</description>
      <pubDate>Fri, 18 Oct 2024 22:05:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/net-forum/problem-with-version/m-p/13094255#M2271</guid>
      <dc:creator>kerry_w_brown</dc:creator>
      <dc:date>2024-10-18T22:05:50Z</dc:date>
    </item>
  </channel>
</rss>

