<?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: Move project (all elements) in relation to the origin in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/move-project-all-elements-in-relation-to-the-origin/m-p/11480132#M16297</link>
    <description>&lt;P&gt;You could try to create a set including all BIM elements and simply pass them in to the MoveElements method:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.revitapidocs.com/2023/3cf8c9dc-f4d1-12f0-d7a9-e126331cd858.htm" target="_blank"&gt;https://www.revitapidocs.com/2023/3cf8c9dc-f4d1-12f0-d7a9-e126331cd858.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since they are all moved in one single transaction, none of them should lose their host. You may be able to eliminate all objects that are symbols and types or have no geometry, no mass, or no materials. Look at the different approaches to&amp;nbsp;select model elements or visible 3D elements:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/about-the-author.html#5.9" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/about-the-author.html#5.9&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 13 Oct 2022 13:30:18 GMT</pubDate>
    <dc:creator>jeremy_tammik</dc:creator>
    <dc:date>2022-10-13T13:30:18Z</dc:date>
    <item>
      <title>Move project (all elements) in relation to the origin</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/move-project-all-elements-in-relation-to-the-origin/m-p/11479940#M16296</link>
      <description>&lt;P&gt;Is there any one that has a good strategy to move all Revit elements in relation to the internal point origin. I can imagine that if one loops the elements in a collection, one quickly comes to many warnings. For instance an element can lose its host.&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I wonder if one can group programmatically the model and move it in a matter that avoids elements being lost in the process. In some way Revit does that when we set a new project North, as it needs to rotate everything in relation to the base point.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;All ideas we welcome.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;to be clear, I am not interested in moving base and survey points. I would like to have all UCS in the same point in the end.&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 12:13:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/move-project-all-elements-in-relation-to-the-origin/m-p/11479940#M16296</guid>
      <dc:creator>luisPDAN6</dc:creator>
      <dc:date>2022-10-13T12:13:48Z</dc:date>
    </item>
    <item>
      <title>Re: Move project (all elements) in relation to the origin</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/move-project-all-elements-in-relation-to-the-origin/m-p/11480132#M16297</link>
      <description>&lt;P&gt;You could try to create a set including all BIM elements and simply pass them in to the MoveElements method:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://www.revitapidocs.com/2023/3cf8c9dc-f4d1-12f0-d7a9-e126331cd858.htm" target="_blank"&gt;https://www.revitapidocs.com/2023/3cf8c9dc-f4d1-12f0-d7a9-e126331cd858.htm&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Since they are all moved in one single transaction, none of them should lose their host. You may be able to eliminate all objects that are symbols and types or have no geometry, no mass, or no materials. Look at the different approaches to&amp;nbsp;select model elements or visible 3D elements:&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&lt;A href="https://thebuildingcoder.typepad.com/blog/about-the-author.html#5.9" target="_blank"&gt;https://thebuildingcoder.typepad.com/blog/about-the-author.html#5.9&lt;/A&gt;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 13 Oct 2022 13:30:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/move-project-all-elements-in-relation-to-the-origin/m-p/11480132#M16297</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2022-10-13T13:30:18Z</dc:date>
    </item>
  </channel>
</rss>

