<?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 Duplicate a Macro in Revit 2025 in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/duplicate-a-macro-in-revit-2025/m-p/13752740#M84391</link>
    <description>&lt;P&gt;I'm still working on my last question (upgrading a macro to Revit 2025 with VS Code), but in the meantime, I have another question:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I duplicate a macro in Revit 2025?&amp;nbsp; (ie.&amp;nbsp; create the exact same macro with a different name and folder name.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, I have one macro created that has Windows Forms References included.&amp;nbsp; I would like to use this Macro as a template to create other macros.&amp;nbsp; But atlas, there doesn't seem to be any "duplicate" or "copy" function in the Revit 2025 macro editor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe it's in VS Code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I realize I can go in windows explorer, and copy and paste the macro folder and rename it, but that also requires renaming a few other files, and even editing a few files to correct paths and file names.&amp;nbsp; I was hoping there is an easier way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Mon, 04 Aug 2025 13:47:04 GMT</pubDate>
    <dc:creator>sragan</dc:creator>
    <dc:date>2025-08-04T13:47:04Z</dc:date>
    <item>
      <title>Duplicate a Macro in Revit 2025</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/duplicate-a-macro-in-revit-2025/m-p/13752740#M84391</link>
      <description>&lt;P&gt;I'm still working on my last question (upgrading a macro to Revit 2025 with VS Code), but in the meantime, I have another question:&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;How can I duplicate a macro in Revit 2025?&amp;nbsp; (ie.&amp;nbsp; create the exact same macro with a different name and folder name.)&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;For example, I have one macro created that has Windows Forms References included.&amp;nbsp; I would like to use this Macro as a template to create other macros.&amp;nbsp; But atlas, there doesn't seem to be any "duplicate" or "copy" function in the Revit 2025 macro editor.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Maybe it's in VS Code?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I realize I can go in windows explorer, and copy and paste the macro folder and rename it, but that also requires renaming a few other files, and even editing a few files to correct paths and file names.&amp;nbsp; I was hoping there is an easier way.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Aug 2025 13:47:04 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/duplicate-a-macro-in-revit-2025/m-p/13752740#M84391</guid>
      <dc:creator>sragan</dc:creator>
      <dc:date>2025-08-04T13:47:04Z</dc:date>
    </item>
    <item>
      <title>Re: Duplicate a Macro in Revit 2025</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/duplicate-a-macro-in-revit-2025/m-p/13760438#M84428</link>
      <description>&lt;P&gt;I never found a way to duplicate the macro, so maybe this should be a topic for the Revit Ideas section.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Someday I may try to write a macro that does this.&amp;nbsp; I believe it just a matter of copying files and folders and renaming them.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Anyhow, I realized a template might not be necessary.&amp;nbsp; Windows forms can be added in VS code simply by adding a UseWindowsForms property in the project csproj file.&lt;/P&gt;&lt;LI-CODE lang="general"&gt;&amp;lt;Project Sdk="Microsoft.NET.Sdk"&amp;gt;
  &amp;lt;PropertyGroup&amp;gt;
    &amp;lt;TargetFramework&amp;gt;net8.0-windows&amp;lt;/TargetFramework&amp;gt;
    &amp;lt;ImplicitUsings&amp;gt;enable&amp;lt;/ImplicitUsings&amp;gt;
    &amp;lt;UseWindowsForms&amp;gt;true&amp;lt;/UseWindowsForms&amp;gt;
    &amp;lt;UseWPF&amp;gt;true&amp;lt;/UseWPF&amp;gt;
    &amp;lt;Nullable&amp;gt;enable&amp;lt;/Nullable&amp;gt;
  &amp;lt;/PropertyGroup&amp;gt;&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 08 Aug 2025 21:33:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/duplicate-a-macro-in-revit-2025/m-p/13760438#M84428</guid>
      <dc:creator>sragan</dc:creator>
      <dc:date>2025-08-08T21:33:15Z</dc:date>
    </item>
  </channel>
</rss>

