<?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 AutoCAD Crash when using MODEMACRO in AutoCAD Forum</title>
    <link>https://forums.autodesk.com/t5/autocad-forum/autocad-crash-when-using-modemacro/m-p/9770312#M94823</link>
    <description>&lt;P&gt;When using MODEMACRO with specific Textvalues, AutoCAD crashes immediately.&lt;/P&gt;
&lt;P&gt;Only if interested in crashing AutoCAD, start&lt;/P&gt;
&lt;P&gt;Command: &lt;STRONG&gt;_MODEMACRO $(getenv, "ACAD")&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Tested&amp;nbsp; with&lt;BR /&gt;AutoCAD Mechanical 2019&lt;BR /&gt;AutoCAD Civil 3D 2021.1&lt;/P&gt;</description>
    <pubDate>Sat, 26 Sep 2020 21:20:00 GMT</pubDate>
    <dc:creator>Udo_Huebner</dc:creator>
    <dc:date>2020-09-26T21:20:00Z</dc:date>
    <item>
      <title>AutoCAD Crash when using MODEMACRO</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/autocad-crash-when-using-modemacro/m-p/9770312#M94823</link>
      <description>&lt;P&gt;When using MODEMACRO with specific Textvalues, AutoCAD crashes immediately.&lt;/P&gt;
&lt;P&gt;Only if interested in crashing AutoCAD, start&lt;/P&gt;
&lt;P&gt;Command: &lt;STRONG&gt;_MODEMACRO $(getenv, "ACAD")&lt;/STRONG&gt;&lt;/P&gt;
&lt;P&gt;&lt;BR /&gt;Tested&amp;nbsp; with&lt;BR /&gt;AutoCAD Mechanical 2019&lt;BR /&gt;AutoCAD Civil 3D 2021.1&lt;/P&gt;</description>
      <pubDate>Sat, 26 Sep 2020 21:20:00 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/autocad-crash-when-using-modemacro/m-p/9770312#M94823</guid>
      <dc:creator>Udo_Huebner</dc:creator>
      <dc:date>2020-09-26T21:20:00Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD Crash when using MODEMACRO</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/autocad-crash-when-using-modemacro/m-p/9775017#M94824</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/98643"&gt;@Udo_Huebner&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you for posting. I tested the _MODEMACRO command in versions 2017-2021, it seems to be working correctly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;When I enter your string, I also see a crash. The subsequent report indicates that the string is invalid, can you tell me more about the string you are entering and how you are using it?&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;All the best,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 17:36:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/autocad-crash-when-using-modemacro/m-p/9775017#M94824</guid>
      <dc:creator>cheryl.buck</dc:creator>
      <dc:date>2020-09-29T17:36:54Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD Crash when using MODEMACRO</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/autocad-crash-when-using-modemacro/m-p/9775239#M94825</link>
      <description>&lt;P&gt;Hi Cheryl, I tested some DIESEL menu settings for a forum question with MODEMACRO, and I got several crashes.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I know&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;STRONG&gt;_MODEMACRO $(getenv, "ACAD")&lt;/STRONG&gt; is an invalid expression, but hey, AutoCAD should not crash&lt;/P&gt;
&lt;P&gt;Even if I use a valid expression with a valid environment variable (without "), AutoCAD crashes.&lt;/P&gt;
&lt;P&gt;_MODEMACRO $(getenv, ACAD)&lt;/P&gt;
&lt;P&gt;I only wanted to document this unwanted behaviour in a public forum so that others can find this information if a similar behaviour occurs on their site.&lt;/P&gt;
&lt;P&gt;If you log this to the development team hopefully this bug get fixed in future. &lt;EM&gt;I&lt;/EM&gt;ts only a minor bug, but now its documented.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 19:55:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/autocad-crash-when-using-modemacro/m-p/9775239#M94825</guid>
      <dc:creator>Udo_Huebner</dc:creator>
      <dc:date>2020-09-29T19:55:23Z</dc:date>
    </item>
    <item>
      <title>Re: AutoCAD Crash when using MODEMACRO</title>
      <link>https://forums.autodesk.com/t5/autocad-forum/autocad-crash-when-using-modemacro/m-p/9775422#M94826</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/98643"&gt;@Udo_Huebner&lt;/a&gt;,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks for the added information. I did some additional testing and reached out to the product team.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The crash appears to be occurring due to the specific Diesel contents,&amp;nbsp; "ACAD" which is not a valid variable for this command, along with "AutoCAD" and "CAD". I understand that a crash is possible and expected with certain expressions because Diesel accesses the application directly.&amp;nbsp; When I choose a different variable, it does not crash.&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Do you get the same?&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;
&lt;P&gt;All the best,&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2020 21:00:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/autocad-forum/autocad-crash-when-using-modemacro/m-p/9775422#M94826</guid>
      <dc:creator>cheryl.buck</dc:creator>
      <dc:date>2020-09-29T21:00:23Z</dc:date>
    </item>
  </channel>
</rss>

