<?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 Writing a purge utility in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/writing-a-purge-utility/m-p/2735359#M82127</link>
    <description>&lt;P&gt;I'm a developer, but for the last year or two have been learning and using Revit instead.&amp;nbsp; I haven't yet delved into coding in Revit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am wondering if anyone can give me any idea of how involved it would be (and whether it's even possible) to write a utility that automatically purges Revit files.&amp;nbsp; Specifically, I would love to be able to schedule a batch file to run overnight that invokes such a utlity to open, purge, and then re-save files (e.g. - &lt;EM&gt;purge.exe MyProject.rvt&lt;/EM&gt;); or, if that's not possible, maybe even something that can run from within a Revit application session and do the same thing at a scheduled time for multiple files in a given folder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't mind figuring it out for myself, but would appreciate any insight anyone can give me on feasibility (and even suggestions on direction) before I try tackling it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone shed some light?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Joel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Tue, 03 Aug 2010 22:37:15 GMT</pubDate>
    <dc:creator>JoelBradley</dc:creator>
    <dc:date>2010-08-03T22:37:15Z</dc:date>
    <item>
      <title>Writing a purge utility</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/writing-a-purge-utility/m-p/2735359#M82127</link>
      <description>&lt;P&gt;I'm a developer, but for the last year or two have been learning and using Revit instead.&amp;nbsp; I haven't yet delved into coding in Revit.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am wondering if anyone can give me any idea of how involved it would be (and whether it's even possible) to write a utility that automatically purges Revit files.&amp;nbsp; Specifically, I would love to be able to schedule a batch file to run overnight that invokes such a utlity to open, purge, and then re-save files (e.g. - &lt;EM&gt;purge.exe MyProject.rvt&lt;/EM&gt;); or, if that's not possible, maybe even something that can run from within a Revit application session and do the same thing at a scheduled time for multiple files in a given folder.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't mind figuring it out for myself, but would appreciate any insight anyone can give me on feasibility (and even suggestions on direction) before I try tackling it.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Can anyone shed some light?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Joel&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2010 22:37:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/writing-a-purge-utility/m-p/2735359#M82127</guid>
      <dc:creator>JoelBradley</dc:creator>
      <dc:date>2010-08-03T22:37:15Z</dc:date>
    </item>
    <item>
      <title>Re: Writing a purge utility</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/writing-a-purge-utility/m-p/2736645#M82128</link>
      <description>&lt;P&gt;Opening and saving files is no problem. I don't think you can invoke the purge command from within a customn app. You would probably have to write some routines that would check for instances of each family type before removing them from the file. I think this is also do-able.&lt;/P&gt;</description>
      <pubDate>Thu, 05 Aug 2010 00:00:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/writing-a-purge-utility/m-p/2736645#M82128</guid>
      <dc:creator>phildebrandt</dc:creator>
      <dc:date>2010-08-05T00:00:41Z</dc:date>
    </item>
    <item>
      <title>Re: Writing a purge utility</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/writing-a-purge-utility/m-p/3546980#M82129</link>
      <description>&lt;P&gt;Belated response (!!) --- thanks for your help, phildebrandt&lt;/P&gt;</description>
      <pubDate>Fri, 20 Jul 2012 20:34:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/writing-a-purge-utility/m-p/3546980#M82129</guid>
      <dc:creator>JoelBradley</dc:creator>
      <dc:date>2012-07-20T20:34:56Z</dc:date>
    </item>
  </channel>
</rss>

