<?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: Is it possible to create wall programmatically with C# while creating wall manually in editor? in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/is-it-possible-to-create-wall-programmatically-with-c-while/m-p/10788898#M22099</link>
    <description>&lt;P&gt;I tought updater will respond only if I finish wall, the problem is, my walls come from external source over internet&lt;/P&gt;</description>
    <pubDate>Mon, 29 Nov 2021 18:46:56 GMT</pubDate>
    <dc:creator>simongido1</dc:creator>
    <dc:date>2021-11-29T18:46:56Z</dc:date>
    <item>
      <title>Is it possible to create wall programmatically with C# while creating wall manually in editor?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/is-it-possible-to-create-wall-programmatically-with-c-while/m-p/10788446#M22097</link>
      <description>&lt;P&gt;Hello, I am trying to create walls programmatically using C#. I tried using both custom IExternalEventHandler and UIControlledApplication Idling handler. Unfortunately, Idling nor custom event is executed when I am not editing my walls using the editor. This is the code I use to create walls. It works correctly when I am not modifying walls.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="general"&gt;transaction.Start("create wall");

Wall wall = Wall.Create(document, line, levelId, false);
App.ThisApp.World.SetEntityElementID(wallData.Entity, wall.Id);

transaction.Commit();&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 15:59:15 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/is-it-possible-to-create-wall-programmatically-with-c-while/m-p/10788446#M22097</guid>
      <dc:creator>simongido1</dc:creator>
      <dc:date>2021-11-29T15:59:15Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to create wall programmatically with C# while creating wall manually in editor?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/is-it-possible-to-create-wall-programmatically-with-c-while/m-p/10788889#M22098</link>
      <description>&lt;P&gt;Should implement IUpdater to respond to changes in the document with further changes.&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 18:39:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/is-it-possible-to-create-wall-programmatically-with-c-while/m-p/10788889#M22098</guid>
      <dc:creator>RPTHOMAS108</dc:creator>
      <dc:date>2021-11-29T18:39:30Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to create wall programmatically with C# while creating wall manually in editor?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/is-it-possible-to-create-wall-programmatically-with-c-while/m-p/10788898#M22099</link>
      <description>&lt;P&gt;I tought updater will respond only if I finish wall, the problem is, my walls come from external source over internet&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 18:46:56 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/is-it-possible-to-create-wall-programmatically-with-c-while/m-p/10788898#M22099</guid>
      <dc:creator>simongido1</dc:creator>
      <dc:date>2021-11-29T18:46:56Z</dc:date>
    </item>
    <item>
      <title>Re: Is it possible to create wall programmatically with C# while creating wall manually in editor?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/is-it-possible-to-create-wall-programmatically-with-c-while/m-p/10788926#M22100</link>
      <description>&lt;P&gt;Your question is a little confusing, and I guess you want to execute some code when you are inside the Revit Wall command when you are on the state to draw some walls.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If that's the case probably the &lt;STRONG&gt;Idling&lt;/STRONG&gt; and &lt;STRONG&gt;IExternalEventHandler&lt;/STRONG&gt; never gonna fires.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;Idling&lt;/STRONG&gt; only fires when Revit is not busy, when you execute some command Revit stops firing Idling until the command ends.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IExternalEventHandler&lt;/STRONG&gt; is similar, gonna fire when an Idling event happens.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;STRONG&gt;IUpdater&lt;/STRONG&gt; is possible to trigger some code when you create a Wall.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;See yaa!&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 29 Nov 2021 19:00:30 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/is-it-possible-to-create-wall-programmatically-with-c-while/m-p/10788926#M22100</guid>
      <dc:creator>ricaun</dc:creator>
      <dc:date>2021-11-29T19:00:30Z</dc:date>
    </item>
  </channel>
</rss>

