<?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: Creating family from a project document in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/creating-family-from-a-project-document/m-p/5838125#M70221</link>
    <description>&lt;P&gt;Hi Carolina,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you may have a look at the DirectShape classes.&lt;/P&gt;&lt;P&gt;Using these, you can create Elements from any input geometry, both in project and family context.&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, 30 Sep 2015 07:20:23 GMT</pubDate>
    <dc:creator>Revitalizer</dc:creator>
    <dc:date>2015-09-30T07:20:23Z</dc:date>
    <item>
      <title>Creating family from a project document</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/creating-family-from-a-project-document/m-p/5837312#M70219</link>
      <description>&lt;P&gt;Hello,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I am trying to create a family from a project document. In other words, I want to open a common project document and programmatically (there is a button) create an extrusion. Until now I saw that to create an extrusion I can use the FamilyCreate command. However it seems like FamilyCreate can only be used from a family document.&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there any way to open the FamilyEditor or something like this from a project document?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thank you,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Carolina.&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2015 16:46:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/creating-family-from-a-project-document/m-p/5837312#M70219</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-09-29T16:46:27Z</dc:date>
    </item>
    <item>
      <title>Re: Creating family from a project document</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/creating-family-from-a-project-document/m-p/5837772#M70220</link>
      <description>&lt;P&gt;Hi Carolina,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What I know is that from the Revit Project you could edit the Family previusly created.&amp;nbsp;To edit an existing family while working in a Project document, use the EditFamily() functions available from the Document class, and then use LoadFamily() to reload the family back into the owner document after editing is complete.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;To create a new family document use Application.NewFamilyDocument().&lt;/P&gt;
&lt;P&gt;Also keep in mind that&amp;nbsp;&lt;SPAN&gt;API access to system family editing is not available.&amp;nbsp;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&lt;SPAN&gt;&lt;SPAN&gt;The ability to modify Revit Family documents and access family types and parameters is available from the Document class if the Document is a Family document, as determined by the IsFamilyDocument property.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;You can read about this in the Revit Help file.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="http://help.autodesk.com/view/RVT/2016/ENU/?guid=GUID-DC143EB8-43CB-48AB-938E-7ADE3A9D2E63" target="_blank"&gt;http://help.autodesk.com/view/RVT/2016/ENU/?guid=GUID-DC143EB8-43CB-48AB-938E-7ADE3A9D2E63&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I don't know a way to create a family within a Revit Project. Maybe the workflow you are planning could get a different route to achieve what you are trying to do.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Also when in doubt I always re-visit Jeremy's explanation about Revit Families, an old post but very very informative.&lt;/P&gt;
&lt;P&gt;&lt;A href="http://thebuildingcoder.typepad.com/blog/2009/08/the-revit-family-api.html#2" target="_blank"&gt;http://thebuildingcoder.typepad.com/blog/2009/08/the-revit-family-api.html#2&lt;/A&gt;&lt;/P&gt;</description>
      <pubDate>Tue, 29 Sep 2015 21:40:43 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/creating-family-from-a-project-document/m-p/5837772#M70220</guid>
      <dc:creator>rosalesduquej</dc:creator>
      <dc:date>2015-09-29T21:40:43Z</dc:date>
    </item>
    <item>
      <title>Re: Creating family from a project document</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/creating-family-from-a-project-document/m-p/5838125#M70221</link>
      <description>&lt;P&gt;Hi Carolina,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;you may have a look at the DirectShape classes.&lt;/P&gt;&lt;P&gt;Using these, you can create Elements from any input geometry, both in project and family context.&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, 30 Sep 2015 07:20:23 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/creating-family-from-a-project-document/m-p/5838125#M70221</guid>
      <dc:creator>Revitalizer</dc:creator>
      <dc:date>2015-09-30T07:20:23Z</dc:date>
    </item>
    <item>
      <title>Re: Creating family from a project document</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/creating-family-from-a-project-document/m-p/5845131#M70222</link>
      <description>&lt;P&gt;It seems like it can solve my problem. However I am not getting to access the&amp;nbsp;DirectShape classes. What namespace I need to use? Are DirectShape classes&amp;nbsp;available in Revit 2014?&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2015 14:20:35 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/creating-family-from-a-project-document/m-p/5845131#M70222</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-05T14:20:35Z</dc:date>
    </item>
    <item>
      <title>Re: Creating family from a project document</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/creating-family-from-a-project-document/m-p/5845148#M70223</link>
      <description>&lt;P&gt;Hi Carolina,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'm afraid DirectShape class got first introduced for Revit API 2015.&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2015 14:28:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/creating-family-from-a-project-document/m-p/5845148#M70223</guid>
      <dc:creator>rosalesduquej</dc:creator>
      <dc:date>2015-10-05T14:28:19Z</dc:date>
    </item>
    <item>
      <title>Re: Creating family from a project document</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/creating-family-from-a-project-document/m-p/5845170#M70224</link>
      <description>&lt;P&gt;It's sad... I think I will have to change the way that I was pretending to do this.&lt;/P&gt;&lt;P&gt;Thank you Jaime Rosales and Revitalizer.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2015 14:35:09 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/creating-family-from-a-project-document/m-p/5845170#M70224</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2015-10-05T14:35:09Z</dc:date>
    </item>
    <item>
      <title>Re: Creating family from a project document</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/creating-family-from-a-project-document/m-p/5845184#M70225</link>
      <description>&lt;P&gt;Dear Jaime,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;wouldn't it be useful to let the thread poster choose a Revit version for his (or her) problem ?&lt;/P&gt;&lt;P&gt;Just provide a combobox containing all versions up to 2016, with multiple selection enabled.&lt;/P&gt;&lt;P&gt;A compulsory input field, to be filled in before the new posting is published.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wouldn't have suggested DirectShape if I would have read "2014" in the initial posting.&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>Mon, 05 Oct 2015 14:40:19 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/creating-family-from-a-project-document/m-p/5845184#M70225</guid>
      <dc:creator>Revitalizer</dc:creator>
      <dc:date>2015-10-05T14:40:19Z</dc:date>
    </item>
    <item>
      <title>Re: Creating family from a project document</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/creating-family-from-a-project-document/m-p/5845228#M70226</link>
      <description>&lt;P&gt;Hi Revitalizer,&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a completly valid request, let me speak to my team about it, It will help the community a lot. Thank you for your idea.&lt;/P&gt;</description>
      <pubDate>Mon, 05 Oct 2015 15:00:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/creating-family-from-a-project-document/m-p/5845228#M70226</guid>
      <dc:creator>rosalesduquej</dc:creator>
      <dc:date>2015-10-05T15:00:45Z</dc:date>
    </item>
  </channel>
</rss>

