<?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: Set group origin point when group created in Revit API Forum</title>
    <link>https://forums.autodesk.com/t5/revit-api-forum/set-group-origin-point-when-group-created/m-p/12735700#M5680</link>
    <description>&lt;P&gt;I recall tried that even with changing the location property of the group, but it behaved exactly as moving the group.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't think there is an access for this GroupOriginControl via API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even if thinking for a work around, that is to create a nested group. and using the fact that the current behavior of a newly created Group original point is always in the middle. We can first create a group that contains any thing that is not printable such as crossed reference planes to define the origin. Then open the group and add all what we need there, but unfortunate , yet again adding element to an existing group is another&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/how-do-i-go-into-group-edit-mode-with-the-api-amp-then-return-to/td-p/6568994" target="_blank" rel="noopener"&gt;limitation via Revit API which is possible via UI.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope there would be an official work around, or update to the API to allow,&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;A href="https://forums.autodesk.com/t5/revit-ideas/add-api-access-to-model-groups/idi-p/6646331" target="_blank" rel="noopener"&gt;adding elements to existing group Model&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://forums.autodesk.com/t5/revit-ideas/add-api-access-to-the-group-element-origin/idi-p/9679498" target="_blank" rel="noopener"&gt;Access and Changing the GroupOriginControl point&lt;/A&gt;.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Fri, 26 Apr 2024 10:17:34 GMT</pubDate>
    <dc:creator>Moustafa_K</dc:creator>
    <dc:date>2024-04-26T10:17:34Z</dc:date>
    <item>
      <title>Set group origin point when group created</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/set-group-origin-point-when-group-created/m-p/12735066#M5678</link>
      <description>&lt;P&gt;Hi, I tried to set group origin point when I create group but I can't find out how to do.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I create a group like this.&lt;/P&gt;&lt;LI-CODE lang="csharp"&gt;Group group = null;
    UIDocument uidoc = new UIDocument(document);
    ICollection&amp;lt;ElementId&amp;gt; selectedIds = uidoc.Selection.GetElementIds();

    if (selectedIds.Count &amp;gt; 0)
    {
        group = document.Create.NewGroup(selectedIds);
        group.GroupType.Name = "MyGroup";
    }&lt;/LI-CODE&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;But I want to locate group's origin point like this screen shot.&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="baekdi_0-1714107009958.png" style="width: 600px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/1355028i6B58CC0F84F55F3C/image-size/medium?v=v2&amp;amp;px=400" role="button" title="baekdi_0-1714107009958.png" alt="baekdi_0-1714107009958.png" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Please help and Thank you always.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 04:51:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/set-group-origin-point-when-group-created/m-p/12735066#M5678</guid>
      <dc:creator>baekdi</dc:creator>
      <dc:date>2024-04-26T04:51:03Z</dc:date>
    </item>
    <item>
      <title>Re: Set group origin point when group created</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/set-group-origin-point-when-group-created/m-p/12735120#M5679</link>
      <description>&lt;P&gt;The group origin is presumably the project origin (0,0,0). If you wish the group origin to be the bottom left-hand corner, ensure that this corner is located at the project origin.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 05:41:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/set-group-origin-point-when-group-created/m-p/12735120#M5679</guid>
      <dc:creator>jeremy_tammik</dc:creator>
      <dc:date>2024-04-26T05:41:47Z</dc:date>
    </item>
    <item>
      <title>Re: Set group origin point when group created</title>
      <link>https://forums.autodesk.com/t5/revit-api-forum/set-group-origin-point-when-group-created/m-p/12735700#M5680</link>
      <description>&lt;P&gt;I recall tried that even with changing the location property of the group, but it behaved exactly as moving the group.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I don't think there is an access for this GroupOriginControl via API.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Even if thinking for a work around, that is to create a nested group. and using the fact that the current behavior of a newly created Group original point is always in the middle. We can first create a group that contains any thing that is not printable such as crossed reference planes to define the origin. Then open the group and add all what we need there, but unfortunate , yet again adding element to an existing group is another&amp;nbsp;&lt;A href="https://forums.autodesk.com/t5/revit-api-forum/how-do-i-go-into-group-edit-mode-with-the-api-amp-then-return-to/td-p/6568994" target="_blank" rel="noopener"&gt;limitation via Revit API which is possible via UI.&lt;/A&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;I hope there would be an official work around, or update to the API to allow,&lt;/P&gt;&lt;OL&gt;&lt;LI&gt;&lt;A href="https://forums.autodesk.com/t5/revit-ideas/add-api-access-to-model-groups/idi-p/6646331" target="_blank" rel="noopener"&gt;adding elements to existing group Model&lt;/A&gt;&lt;/LI&gt;&lt;LI&gt;&lt;A href="https://forums.autodesk.com/t5/revit-ideas/add-api-access-to-the-group-element-origin/idi-p/9679498" target="_blank" rel="noopener"&gt;Access and Changing the GroupOriginControl point&lt;/A&gt;.&lt;/LI&gt;&lt;/OL&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 26 Apr 2024 10:17:34 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/revit-api-forum/set-group-origin-point-when-group-created/m-p/12735700#M5680</guid>
      <dc:creator>Moustafa_K</dc:creator>
      <dc:date>2024-04-26T10:17:34Z</dc:date>
    </item>
  </channel>
</rss>

