<?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 Reflection Examples for Revit APi in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/reflection-examples-for-revit-api/m-p/7294990#M56701</link>
    <description>&lt;P&gt;As a casual Revit API developer I am always looking for new ways to improve my code and knowledge. I have seen a few references now to using Reflection to speed up code in the Revit API. I have researched Reflection on the web and have a general idea of what its used for but couldn't find any examples of its use in reference to the Revit API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone have any examples of Reflection with the Revit API that I could take a look at?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
    <pubDate>Fri, 11 Aug 2017 19:21:19 GMT</pubDate>
    <dc:creator>Troy_Gates</dc:creator>
    <dc:date>2017-08-11T19:21:19Z</dc:date>
    <item>
      <title>Reflection Examples for Revit APi</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/reflection-examples-for-revit-api/m-p/7294990#M56701</link>
      <description>&lt;P&gt;As a casual Revit API developer I am always looking for new ways to improve my code and knowledge. I have seen a few references now to using Reflection to speed up code in the Revit API. I have researched Reflection on the web and have a general idea of what its used for but couldn't find any examples of its use in reference to the Revit API.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Does anyone have any examples of Reflection with the Revit API that I could take a look at?&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Thanks&lt;/P&gt;</description>
      <pubDate>Fri, 11 Aug 2017 19:21:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/reflection-examples-for-revit-api/m-p/7294990#M56701</guid>
      <dc:creator>Troy_Gates</dc:creator>
      <dc:date>2017-08-11T19:21:19Z</dc:date>
    </item>
    <item>
      <title>Re: Reflection Examples for Revit APi</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/reflection-examples-for-revit-api/m-p/7296323#M56702</link>
      <description>&lt;P&gt;Dear Troy,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Reflection will never speed up your code.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can use it to make your code more flexible, though, e.g., adapt to situations, e.g., determine what version of the Revit API is currently loaded and switch between different version-specific implementations accordingly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;A couple of examples of doing that:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;UL&gt;
&lt;LI&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2012/07/multi-version-add-in.html" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2012/07/multi-version-add-in.html&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2015/05/compatibilizar-entre-vers%C3%B5es-api-compatibility-helper.html" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2015/05/compatibilizar-entre-vers%C3%B5es-api-compatibility-helper.html&lt;/A&gt;&lt;/LI&gt;
&lt;LI&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2017/02/revitlookup-using-reflection-for-cross-version-compatibility.html#2" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2017/02/revitlookup-using-reflection-for-cross-version-compatibility.html#2&lt;/A&gt;&lt;/LI&gt;
&lt;/UL&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I am&amp;nbsp;unaware of any Revit API Reflection samples&amp;nbsp;outside of The Building Coder blog, which offers a few more besides those listed above.&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>Sat, 12 Aug 2017 18:48:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/reflection-examples-for-revit-api/m-p/7296323#M56702</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2017-08-12T18:48:16Z</dc:date>
    </item>
  </channel>
</rss>

