<?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: Can I copy elements to *.rfa? in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/can-i-copy-elements-to-rfa/m-p/12438647#M8133</link>
    <description>&lt;P&gt;&amp;gt;&amp;nbsp;ElementTransformUtils.CopyElements can only be copied to *.rvt.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What makes you say so? That is news to me, and I find it hard to believe.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Wed, 13 Dec 2023 13:39:02 GMT</pubDate>
    <dc:creator>jeremy_tammik</dc:creator>
    <dc:date>2023-12-13T13:39:02Z</dc:date>
    <item>
      <title>Can I copy elements to *.rfa?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/can-i-copy-elements-to-rfa/m-p/12437368#M8132</link>
      <description>&lt;P&gt;Hello~&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;ElementTransformUtils.CopyElements can only be copied to *.rvt.&lt;/P&gt;&lt;P&gt;And can I copy elements to *.rfa?&lt;/P&gt;&lt;P&gt;I want to know how to copy elements to *.rfa.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;thanks.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 06:33:27 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/can-i-copy-elements-to-rfa/m-p/12437368#M8132</guid>
      <dc:creator>jinho_won</dc:creator>
      <dc:date>2023-12-13T06:33:27Z</dc:date>
    </item>
    <item>
      <title>Re: Can I copy elements to *.rfa?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/can-i-copy-elements-to-rfa/m-p/12438647#M8133</link>
      <description>&lt;P&gt;&amp;gt;&amp;nbsp;ElementTransformUtils.CopyElements can only be copied to *.rvt.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;What makes you say so? That is news to me, and I find it hard to believe.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 13 Dec 2023 13:39:02 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/can-i-copy-elements-to-rfa/m-p/12438647#M8133</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2023-12-13T13:39:02Z</dc:date>
    </item>
    <item>
      <title>Re: Can I copy elements to *.rfa?</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/can-i-copy-elements-to-rfa/m-p/12440046#M8134</link>
      <description>&lt;P&gt;I'm sorry my question is weird.&lt;/P&gt;&lt;P&gt;I want to copy the DirectShape from the A.rvt file to B.rfa.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;However, when I try to copy it to rfa using ElementTransformUtils.CopyElements, I get an exception.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;... ...
Document rvtDoc = commandData.Application.ActiveUIDocument.Document;
Document rfaDoc = uiapp.Application.NewFamilyDocument("C:/ProgramData/Autodesk/RVT 2024/Family Templates/English/Metric Generic Model.rft");
ICollection&amp;lt;ElementId&amp;gt; ids = uiapp.ActiveUIDocument.Selection.GetElementIds();
using (Transaction tr = new Transaction(rfaDoc, tr_name))
{
    tr.Start();
    ElementTransformUtils.CopyElements(rvtDoc, ids, rfaDoc, Transform.Identity, copyOptions);
    tr.Commit();
}
... ...&lt;/LI-CODE&gt;&lt;P&gt;&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="DirectShape 복사 에러.png" style="width: 460px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1304570iFB2A03A801A75BE1/image-size/large?v=v2&amp;amp;px=999" role="button" title="DirectShape 복사 에러.png" alt="DirectShape 복사 에러.png" /&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;Is it not possible to copy elements between RVT and RFA?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 14 Dec 2023 01:39:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/can-i-copy-elements-to-rfa/m-p/12440046#M8134</guid>
      <dc:creator>jinho_won</dc:creator>
      <dc:date>2023-12-14T01:39:36Z</dc:date>
    </item>
  </channel>
</rss>

