<?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: Error loading a plugin in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/error-loading-a-plugin/m-p/5963224#M68698</link>
    <description>Yo need to create and start a database transaction before you attempt to modify the model in any way.</description>
    <pubDate>Wed, 23 Dec 2015 11:53:18 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-12-23T11:53:18Z</dc:date>
    <item>
      <title>Error loading a plugin</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/error-loading-a-plugin/m-p/5963202#M68697</link>
      <description>&lt;P&gt;Hai,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;we are using revit 2016 trail version and we try to create a external&amp;nbsp;tool to create a line when we click the plugin. find the&amp;nbsp;c#.Net code attached. we are getting the error "Revit could not complete the external command" please help us.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;regards&lt;/P&gt;&lt;P&gt;suresh p&lt;/P&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;&lt;DIV&gt;&amp;nbsp;&lt;/DIV&gt;</description>
      <pubDate>Wed, 23 Dec 2015 11:37:37 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/error-loading-a-plugin/m-p/5963202#M68697</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-23T11:37:37Z</dc:date>
    </item>
    <item>
      <title>Re: Error loading a plugin</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/error-loading-a-plugin/m-p/5963224#M68698</link>
      <description>Yo need to create and start a database transaction before you attempt to modify the model in any way.</description>
      <pubDate>Wed, 23 Dec 2015 11:53:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/error-loading-a-plugin/m-p/5963224#M68698</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-12-23T11:53:18Z</dc:date>
    </item>
    <item>
      <title>Re: Error loading a plugin</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/error-loading-a-plugin/m-p/5963227#M68699</link>
      <description>&lt;P&gt;Hi,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;same reason as here:&lt;/P&gt;&lt;P&gt;&lt;A href="http://forums.autodesk.com/t5/revit-api/how-to-paint-a-wall/td-p/5927663" target="_blank"&gt;http://forums.autodesk.com/t5/revit-api/how-to-paint-a-wall/td-p/5927663&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;"Do you use a Transaction ?&lt;/P&gt;&lt;P&gt;[...] as far as I can see, changes to the Revit DB must be encapsulated in a Transaction, excepting when using the TransactionMode.Automatic attribute for an ExternalCommand."&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;In your small example, just change the TransactionMode flag to Automatic.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Revitalizer&lt;/P&gt;</description>
      <pubDate>Wed, 23 Dec 2015 11:54:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/error-loading-a-plugin/m-p/5963227#M68699</guid>
      <dc:creator>Revitalizer</dc:creator>
      <dc:date>2015-12-23T11:54:09Z</dc:date>
    </item>
  </channel>
</rss>

