<?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 My first revit plugin help Lesson 1 in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/my-first-revit-plugin-help-lesson-1/m-p/10892172#M21237</link>
    <description>&lt;P&gt;Can anybody give quick insight on why this isn't recognizing? Followed all the steps but won't recognize "Execute".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NathanHilsonN67V6_0-1642642818518.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1013643i2389E57C5A0E2CF3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NathanHilsonN67V6_0-1642642818518.png" alt="NathanHilsonN67V6_0-1642642818518.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 20 Jan 2022 01:40:54 GMT</pubDate>
    <dc:creator>Nathan.HilsonN67V6</dc:creator>
    <dc:date>2022-01-20T01:40:54Z</dc:date>
    <item>
      <title>My first revit plugin help Lesson 1</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/my-first-revit-plugin-help-lesson-1/m-p/10892172#M21237</link>
      <description>&lt;P&gt;Can anybody give quick insight on why this isn't recognizing? Followed all the steps but won't recognize "Execute".&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NathanHilsonN67V6_0-1642642818518.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1013643i2389E57C5A0E2CF3/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NathanHilsonN67V6_0-1642642818518.png" alt="NathanHilsonN67V6_0-1642642818518.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2022 01:40:54 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/my-first-revit-plugin-help-lesson-1/m-p/10892172#M21237</guid>
      <dc:creator>Nathan.HilsonN67V6</dc:creator>
      <dc:date>2022-01-20T01:40:54Z</dc:date>
    </item>
    <item>
      <title>Re: My first revit plugin help Lesson 1</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/my-first-revit-plugin-help-lesson-1/m-p/10892346#M21238</link>
      <description>&lt;P&gt;Hi Nathan, welcome to the Revit API, your life will never be the same.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If you hover over the error and rest the mouse, Intellisense will pop up an error description.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="KevinLawsonPE_0-1642649277010.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1013692i7F833BCE07181B50/image-size/medium?v=v2&amp;amp;px=400" role="button" title="KevinLawsonPE_0-1642649277010.png" alt="KevinLawsonPE_0-1642649277010.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;There's also an "Error List" tab on the bottom pane that will give you more info about the error.&amp;nbsp; Post those and we can be of more help.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;My guess is that you are not returning a value. Make sure all code "paths" return Result.Succeeded or Result.Failed.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2022 03:30:41 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/my-first-revit-plugin-help-lesson-1/m-p/10892346#M21238</guid>
      <dc:creator>Kevin.Lawson.PE</dc:creator>
      <dc:date>2022-01-20T03:30:41Z</dc:date>
    </item>
    <item>
      <title>Re: My first revit plugin help Lesson 1</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/my-first-revit-plugin-help-lesson-1/m-p/10893268#M21239</link>
      <description>&lt;P&gt;Thanks Kevin. I posted the snippets below.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NathanHilsonN67V6_0-1642680401685.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1013875i3923AF62E91106E8/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NathanHilsonN67V6_0-1642680401685.png" alt="NathanHilsonN67V6_0-1642680401685.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="NathanHilsonN67V6_1-1642680528413.png" style="width: 400px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1013876i3DBFE416D11B7613/image-size/medium?v=v2&amp;amp;px=400" role="button" title="NathanHilsonN67V6_1-1642680528413.png" alt="NathanHilsonN67V6_1-1642680528413.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2022 12:08:59 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/my-first-revit-plugin-help-lesson-1/m-p/10893268#M21239</guid>
      <dc:creator>Nathan.HilsonN67V6</dc:creator>
      <dc:date>2022-01-20T12:08:59Z</dc:date>
    </item>
    <item>
      <title>Re: My first revit plugin help Lesson 1</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/my-first-revit-plugin-help-lesson-1/m-p/10893624#M21240</link>
      <description>&lt;P&gt;I was right! "Not all code paths return a value"&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;The class "Execute" is expecting a "Result" to be returned.&amp;nbsp; You need to have a "return Result.Succeeded" statement at the end of the Execute code.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;public Result Execute(ExternalCommandData commandData, ref string message, ElementSet elements)
{
//do whatver the code does
return Result.Succeeded;
}&lt;/LI-CODE&gt;</description>
      <pubDate>Thu, 20 Jan 2022 14:27:58 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/my-first-revit-plugin-help-lesson-1/m-p/10893624#M21240</guid>
      <dc:creator>Kevin.Lawson.PE</dc:creator>
      <dc:date>2022-01-20T14:27:58Z</dc:date>
    </item>
    <item>
      <title>Re: My first revit plugin help Lesson 1</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/my-first-revit-plugin-help-lesson-1/m-p/10893684#M21241</link>
      <description>&lt;P&gt;Thanks. You just saved me a ton of time trying to do more research. Everything I found online kept saying I was missing a reference.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2022 14:42:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/my-first-revit-plugin-help-lesson-1/m-p/10893684#M21241</guid>
      <dc:creator>Nathan.HilsonN67V6</dc:creator>
      <dc:date>2022-01-20T14:42:31Z</dc:date>
    </item>
    <item>
      <title>Re: My first revit plugin help Lesson 1</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/my-first-revit-plugin-help-lesson-1/m-p/10894091#M21242</link>
      <description>&lt;P&gt;That was my first inclination as well, but you would have had a lot more errors if you were missing a reference.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 20 Jan 2022 17:15:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/my-first-revit-plugin-help-lesson-1/m-p/10894091#M21242</guid>
      <dc:creator>Kevin.Lawson.PE</dc:creator>
      <dc:date>2022-01-20T17:15:48Z</dc:date>
    </item>
  </channel>
</rss>

