<?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: Can't obtain MacroManager in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/can-t-obtain-macromanager/m-p/6558954#M63064</link>
    <description>&lt;P&gt;Dear Rudi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, absolutely.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was forced to add&amp;nbsp;RevitAPIMacros.dll and&amp;nbsp;RevitAPIUIMacros.dll specifically for this command.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I published our discussion now as a blog post as well for future reference and better readability:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2016/09/macromanager-materials-kiss-and-getting-started.html#3" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2016/09/macromanager-materials-kiss-and-getting-started.html#3&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you both for raising and solving this!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;</description>
    <pubDate>Tue, 13 Sep 2016 12:40:12 GMT</pubDate>
    <dc:creator>jeremytammik</dc:creator>
    <dc:date>2016-09-13T12:40:12Z</dc:date>
    <item>
      <title>Can't obtain MacroManager</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/can-t-obtain-macromanager/m-p/6553045#M63056</link>
      <description>&lt;P&gt;Hello everybody!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I'm stuck with getting MacroManager object. There are much more class members listed in API reference then really available.&lt;/P&gt;&lt;P&gt;What am I doing wrong?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="untitled.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/271565i803BBDB87F7F1542/image-size/large?v=v2&amp;amp;px=999" role="button" title="untitled.png" alt="untitled.png" /&gt;&lt;/span&gt;﻿&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Or is there any other way to delete all macros from document?&lt;/P&gt;</description>
      <pubDate>Fri, 09 Sep 2016 16:26:55 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/can-t-obtain-macromanager/m-p/6553045#M63056</guid>
      <dc:creator>WhiteSharx</dc:creator>
      <dc:date>2016-09-09T16:26:55Z</dc:date>
    </item>
    <item>
      <title>Re: Can't obtain MacroManager</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/can-t-obtain-macromanager/m-p/6557617#M63057</link>
      <description>&lt;P&gt;I should think this can be done quite easily.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Look at What's New in the Revit 2014 API:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2013/04/whats-new-in-the-revit-2014-api.html" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2013/04/whats-new-in-the-revit-2014-api.html&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Search for&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;H3&gt;MacroManager API&lt;/H3&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 18:53:50 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/can-t-obtain-macromanager/m-p/6557617#M63057</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2016-09-12T18:53:50Z</dc:date>
    </item>
    <item>
      <title>Re: Can't obtain MacroManager</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/can-t-obtain-macromanager/m-p/6557705#M63058</link>
      <description>&lt;P&gt;Dear Jeremy!&lt;/P&gt;&lt;P&gt;I looked through your link and its still not obvious to me what's wrong.&lt;/P&gt;&lt;P&gt;I really tried using different namespaces (Autodesk.Revit.DB.Macros and Autodesk.Revit.UI.Macros).&lt;/P&gt;&lt;P&gt;Is it possible that something changed since 2014 API? I'm using Revit 2016 and Visual Studio 2013 (.Net 4.5 framework). May be some kind of attribute could be the reason..&lt;/P&gt;&lt;P&gt;Would you be so kind to try it yourself? If you are succesfull at it then it's got to be mine PC problem&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;By the way, have you seen this topic &lt;A href="https://forums.autodesk.com/t5/revit-api-forum/automatic-space-creation-problem/td-p/6553375" target="_self"&gt;http://forums.autodesk.com/t5/revit-api-forum/automatic-space-creation-problem/td-p/6553375&lt;/A&gt; ?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 12 Sep 2016 19:39:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/can-t-obtain-macromanager/m-p/6557705#M63058</guid>
      <dc:creator>WhiteSharx</dc:creator>
      <dc:date>2016-09-12T19:39:08Z</dc:date>
    </item>
    <item>
      <title>Re: Can't obtain MacroManager</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/can-t-obtain-macromanager/m-p/6558552#M63059</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;add "RevitAPIMacros.dll" to your VS project.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Revitalizer&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 08:21:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/can-t-obtain-macromanager/m-p/6558552#M63059</guid>
      <dc:creator>Revitalizer</dc:creator>
      <dc:date>2016-09-13T08:21:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can't obtain MacroManager</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/can-t-obtain-macromanager/m-p/6558725#M63060</link>
      <description>&lt;P&gt;&lt;STRONG&gt;Revitalizer&lt;/STRONG&gt;, thank you very much!&lt;/P&gt;&lt;P&gt;It's got to be that easy I knew it )&lt;/P&gt;&lt;P&gt;Actually, a reference to "RevitAPIMacrosInterop.dll" solved the problem at last (not to RevitAPIMacros.dll)!&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 10:19:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/can-t-obtain-macromanager/m-p/6558725#M63060</guid>
      <dc:creator>WhiteSharx</dc:creator>
      <dc:date>2016-09-13T10:19:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can't obtain MacroManager</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/can-t-obtain-macromanager/m-p/6558743#M63061</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I cannot believe that RevitAPIMacrosInterop.dll solves the problem since it does not contain the MacroManager definition.&lt;/P&gt;
&lt;P&gt;But RevitAPIMacros.dll does:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-left" image-alt="Macro.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/272382i09953744594D624B/image-size/large?v=v2&amp;amp;px=999" role="button" title="Macro.png" alt="Macro.png" /&gt;&lt;/span&gt;﻿&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 10:41:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/can-t-obtain-macromanager/m-p/6558743#M63061</guid>
      <dc:creator>Revitalizer</dc:creator>
      <dc:date>2016-09-13T10:41:38Z</dc:date>
    </item>
    <item>
      <title>Re: Can't obtain MacroManager</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/can-t-obtain-macromanager/m-p/6558772#M63062</link>
      <description>&lt;P&gt;Hi guys,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Look at The Building Coder samples new&amp;nbsp;&lt;SPAN&gt;CmdDeleteMacros.cs in release 2017.0.129.0:&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/jeremytammik/the_building_coder_samples" target="_blank"&gt;https://github.com/jeremytammik/the_building_coder_samples&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/jeremytammik/the_building_coder_samples/releases/tag/2017.0.129.0" target="_blank"&gt;https://github.com/jeremytammik/the_building_coder_samples/releases/tag/2017.0.129.0&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/jeremytammik/the_building_coder_samples/blob/master/BuildingCoder/BuildingCoder/CmdDeleteMacros.cs" target="_blank"&gt;https://github.com/jeremytammik/the_building_coder_samples/blob/master/BuildingCoder/BuildingCoder/CmdDeleteMacros.cs&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 10:57:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/can-t-obtain-macromanager/m-p/6558772#M63062</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2016-09-13T10:57:58Z</dc:date>
    </item>
    <item>
      <title>Re: Can't obtain MacroManager</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/can-t-obtain-macromanager/m-p/6558820#M63063</link>
      <description>&lt;P&gt;Hi Jeremy,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;BuildingCoder.csproj confirms my assumption.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Bye,&lt;/P&gt;
&lt;P&gt;Rudi&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 11:25:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/can-t-obtain-macromanager/m-p/6558820#M63063</guid>
      <dc:creator>Revitalizer</dc:creator>
      <dc:date>2016-09-13T11:25:53Z</dc:date>
    </item>
    <item>
      <title>Re: Can't obtain MacroManager</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/can-t-obtain-macromanager/m-p/6558954#M63064</link>
      <description>&lt;P&gt;Dear Rudi,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Yes, absolutely.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I was forced to add&amp;nbsp;RevitAPIMacros.dll and&amp;nbsp;RevitAPIUIMacros.dll specifically for this command.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I published our discussion now as a blog post as well for future reference and better readability:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2016/09/macromanager-materials-kiss-and-getting-started.html#3" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2016/09/macromanager-materials-kiss-and-getting-started.html#3&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thank you both for raising and solving this!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Cheers,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Jeremy&lt;/P&gt;</description>
      <pubDate>Tue, 13 Sep 2016 12:40:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/can-t-obtain-macromanager/m-p/6558954#M63064</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2016-09-13T12:40:12Z</dc:date>
    </item>
  </channel>
</rss>

