<?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: LoadFamily() Fails With Empty Drawing, Works OK With Wall Already In Drawing in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/loadfamily-fails-with-empty-drawing-works-ok-with-wall-already/m-p/5760040#M71143</link>
    <description>Apologies - the saved 'blank' drawing already contained the loaded family and I didn't realise; hence, it failed because it was already loaded. Code now looks for the existing loaded instance and returns that reference instead.</description>
    <pubDate>Thu, 06 Aug 2015 14:33:44 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2015-08-06T14:33:44Z</dc:date>
    <item>
      <title>LoadFamily() Fails With Empty Drawing, Works OK With Wall Already In Drawing</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/loadfamily-fails-with-empty-drawing-works-ok-with-wall-already/m-p/5759631#M71142</link>
      <description>&lt;P&gt;I have an add-in that loads a custom work-plane-based family whenever a new document is opened or created.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I open a drawing that has a wall in it, LoadFamily() returns true as expected.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;If I open a drawing that has had the wall deleted (and then resaved, of course), it returns false. Curiously, though, it *does* appear to load the family - it is in the tree and as long as I choose the Level 0 work plane, I can insert an instance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Any idea what I'm missing? It seems the wall includes&amp;nbsp;something in the drawing that loading my family needs?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks in advance.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 06 Aug 2015 10:46:32 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/loadfamily-fails-with-empty-drawing-works-ok-with-wall-already/m-p/5759631#M71142</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-06T10:46:32Z</dc:date>
    </item>
    <item>
      <title>Re: LoadFamily() Fails With Empty Drawing, Works OK With Wall Already In Drawing</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/loadfamily-fails-with-empty-drawing-works-ok-with-wall-already/m-p/5760040#M71143</link>
      <description>Apologies - the saved 'blank' drawing already contained the loaded family and I didn't realise; hence, it failed because it was already loaded. Code now looks for the existing loaded instance and returns that reference instead.</description>
      <pubDate>Thu, 06 Aug 2015 14:33:44 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/loadfamily-fails-with-empty-drawing-works-ok-with-wall-already/m-p/5760040#M71143</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-08-06T14:33:44Z</dc:date>
    </item>
  </channel>
</rss>

