<?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: Does not contain a definition for ‘Application’ in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/does-not-contain-a-definition-for-application/m-p/9118261#M38936</link>
    <description>&lt;P&gt;Look at the Revit API documentation, either in the Windows help file &lt;EM&gt;RevitAPI.chm&lt;/EM&gt; in the Revit SDK or in the online help:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.revitapidocs.com/" target="_blank"&gt;https://www.revitapidocs.com/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Document class:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.revitapidocs.com/2020/db03274b-a107-aa32-9034-f3e0df4bb1ec.htm" target="_blank"&gt;https://www.revitapidocs.com/2020/db03274b-a107-aa32-9034-f3e0df4bb1ec.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Application property:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.revitapidocs.com/2020/b517ce21-cec3-4cf3-e74b-aa0f219f6724.htm" target="_blank"&gt;https://www.revitapidocs.com/2020/b517ce21-cec3-4cf3-e74b-aa0f219f6724.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 30 Oct 2019 20:21:24 GMT</pubDate>
    <dc:creator>jeremytammik</dc:creator>
    <dc:date>2019-10-30T20:21:24Z</dc:date>
    <item>
      <title>Does not contain a definition for ‘Application’</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/does-not-contain-a-definition-for-application/m-p/9117128#M38935</link>
      <description>&lt;P&gt;Hi all,&lt;/P&gt;&lt;P&gt;I am working with C# in the SharpDevelop Revit Macro Manager.&lt;BR /&gt;I am creating a sub routine class outside of ThisDocument to be called into ThisDocument.&lt;/P&gt;&lt;P&gt;I am running into an error:&lt;BR /&gt;does not contain a definition for ‘Application’ and no extension method…&lt;/P&gt;&lt;P&gt;How can I create a subfunction that calls Revit UIDocument.&amp;nbsp; This sub function is within the same namespace as 'ThisDocument'&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks for any help!&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2019 13:30:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/does-not-contain-a-definition-for-application/m-p/9117128#M38935</guid>
      <dc:creator>aclarke</dc:creator>
      <dc:date>2019-10-30T13:30:03Z</dc:date>
    </item>
    <item>
      <title>Re: Does not contain a definition for ‘Application’</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/does-not-contain-a-definition-for-application/m-p/9118261#M38936</link>
      <description>&lt;P&gt;Look at the Revit API documentation, either in the Windows help file &lt;EM&gt;RevitAPI.chm&lt;/EM&gt; in the Revit SDK or in the online help:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.revitapidocs.com/" target="_blank"&gt;https://www.revitapidocs.com/&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Document class:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.revitapidocs.com/2020/db03274b-a107-aa32-9034-f3e0df4bb1ec.htm" target="_blank"&gt;https://www.revitapidocs.com/2020/db03274b-a107-aa32-9034-f3e0df4bb1ec.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Application property:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.revitapidocs.com/2020/b517ce21-cec3-4cf3-e74b-aa0f219f6724.htm" target="_blank"&gt;https://www.revitapidocs.com/2020/b517ce21-cec3-4cf3-e74b-aa0f219f6724.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 30 Oct 2019 20:21:24 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/does-not-contain-a-definition-for-application/m-p/9118261#M38936</guid>
      <dc:creator>jeremytammik</dc:creator>
      <dc:date>2019-10-30T20:21:24Z</dc:date>
    </item>
    <item>
      <title>Re: Does not contain a definition for ‘Application’</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/does-not-contain-a-definition-for-application/m-p/9118810#M38937</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5566409"&gt;@aclarke&lt;/a&gt;&amp;nbsp;,&lt;/P&gt;
&lt;P&gt;try using the below code&lt;/P&gt;
&lt;PRE&gt;UIDocument uidoc=this.ActiveUIDocument;
Document doc=this.ActiveUIDocument.Document;&lt;/PRE&gt;
&lt;P&gt;I hope this helps.&lt;/P&gt;</description>
      <pubDate>Thu, 31 Oct 2019 05:25:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/does-not-contain-a-definition-for-application/m-p/9118810#M38937</guid>
      <dc:creator>naveen.kumar.t</dc:creator>
      <dc:date>2019-10-31T05:25:09Z</dc:date>
    </item>
    <item>
      <title>Re: Does not contain a definition for ‘Application’</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/does-not-contain-a-definition-for-application/m-p/9125644#M38938</link>
      <description>&lt;P&gt;Naveen&lt;/P&gt;&lt;P&gt;Thank you.&amp;nbsp; it was a combination of your answer and this other forum answer that helped me figure it out&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;&lt;A href="https://forum.dynamobim.com/t/does-not-contain-a-definition-for-application/42517" target="_blank"&gt;https://forum.dynamobim.com/t/does-not-contain-a-definition-for-application/42517&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;UIDocument uidoc = new ThisDocument();
Document doc = new ThisDocument().Document;&lt;/PRE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 04 Nov 2019 14:02:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/does-not-contain-a-definition-for-application/m-p/9125644#M38938</guid>
      <dc:creator>aclarke</dc:creator>
      <dc:date>2019-11-04T14:02:40Z</dc:date>
    </item>
  </channel>
</rss>

