<?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: Revit Sharp Develop Macros FIle Open in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/revit-sharp-develop-macros-file-open/m-p/6017030#M67844</link>
    <description>&lt;P&gt;Dear Steve,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe that you are right, in principle.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A project&amp;nbsp;macro is stored in the project file, and you can copy it to another project using copy and paste of each code module via the SharpDevelop IDE.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;macro modules are actually also stored as files somewhere on the computer system, so you can hunt them down and copy the code from there as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could also use the application-wide macros to transfer code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;They are also stored in external files somewhere, I think.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Personally, I prefer using the Visual Studio add-in and&amp;nbsp;straight pure 'normal' add-ins.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I find the code easier to manage that way.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Macros have many other advantages, of course, e.g. no installation of Visual Studio, no compilation and installation step, immediate debugging without reloading the project etc.&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, 01 Feb 2016 11:28:44 GMT</pubDate>
    <dc:creator>jeremytammik</dc:creator>
    <dc:date>2016-02-01T11:28:44Z</dc:date>
    <item>
      <title>Revit Sharp Develop Macros FIle Open</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-sharp-develop-macros-file-open/m-p/6015459#M67843</link>
      <description>&lt;P&gt;I've searched, and the Sharp Develop Macro Editor inside Revit doesn't appear to have a "File Open" option.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is that really the case?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe that means the only way to copy a Macro from one computer to another would be to open the code in a text editor, and copy and paste the entire code.&amp;nbsp; It would also be the same to copy a Macro from one Revit file to another Revit file, or to copy a macro from an Application level to a project level.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Am I missing something?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks:&lt;BR /&gt;Steve&lt;/P&gt;</description>
      <pubDate>Sat, 30 Jan 2016 13:57:42 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-sharp-develop-macros-file-open/m-p/6015459#M67843</guid>
      <dc:creator>stever66</dc:creator>
      <dc:date>2016-01-30T13:57:42Z</dc:date>
    </item>
    <item>
      <title>Re: Revit Sharp Develop Macros FIle Open</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-sharp-develop-macros-file-open/m-p/6017030#M67844</link>
      <description>&lt;P&gt;Dear Steve,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I believe that you are right, in principle.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A project&amp;nbsp;macro is stored in the project file, and you can copy it to another project using copy and paste of each code module via the SharpDevelop IDE.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;The&amp;nbsp;macro modules are actually also stored as files somewhere on the computer system, so you can hunt them down and copy the code from there as well.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You could also use the application-wide macros to transfer code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;They are also stored in external files somewhere, I think.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Personally, I prefer using the Visual Studio add-in and&amp;nbsp;straight pure 'normal' add-ins.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I find the code easier to manage that way.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Macros have many other advantages, of course, e.g. no installation of Visual Studio, no compilation and installation step, immediate debugging without reloading the project etc.&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, 01 Feb 2016 11:28:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-sharp-develop-macros-file-open/m-p/6017030#M67844</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2016-02-01T11:28:44Z</dc:date>
    </item>
    <item>
      <title>Re: Revit Sharp Develop Macros FIle Open</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/revit-sharp-develop-macros-file-open/m-p/6023338#M67845</link>
      <description>&lt;P&gt;It looks like you are correct.&amp;nbsp;&amp;nbsp; Application macros seem to be in the C:\ProgramData\Autodesk\Revit\Macros\2016\Revit\AppHookup folder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Each module creates its own folder.&amp;nbsp; The entire folder can be copied from computer to computer, and the macros appear when revit is restarted.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The interesting thing is that Application level macros make a&amp;nbsp;Visual Studio .sln file.&amp;nbsp;&amp;nbsp; I'm wondering if this can be easily converted to a regular external command or application.&amp;nbsp; I'll have to install VS 2015&amp;nbsp;with python&amp;nbsp;to find out.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I believe the document level macros are stored right in the revit project file, so there isn't any way to copy those without copying and pasting in the macro editor.&lt;/P&gt;</description>
      <pubDate>Thu, 04 Feb 2016 04:51:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/revit-sharp-develop-macros-file-open/m-p/6023338#M67845</guid>
      <dc:creator>stever66</dc:creator>
      <dc:date>2016-02-04T04:51:39Z</dc:date>
    </item>
  </channel>
</rss>

