<?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 How do I allow the user to create a Site Limit inside an extension? in Forma Site Design Developer Forum</title>
    <link>https://forums.autodesk.com/t5/forma-site-design-developer/how-do-i-allow-the-user-to-create-a-site-limit-inside-an/m-p/12577002#M350</link>
    <description>&lt;P&gt;Hello Forma Team,&amp;nbsp;&lt;BR /&gt;We had a great with you guys in Oslo! You guys were most welcome&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So a need arose where we need the user to &lt;STRONG&gt;select an area&lt;/STRONG&gt; (or a polygon ..) of 'interest' on the site.&amp;nbsp;&lt;BR /&gt;After some experimenting I found that the &lt;STRONG&gt;Site Limit&lt;/STRONG&gt; tool you have is exactly what we need. But we do need the user to use an action inside our extension in a specific time to make that area selection.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I noticed also this actually makes a geojson which would be extra helpful to keep for reference.&lt;BR /&gt;&lt;BR /&gt;1. Can you suggest a way where i can invoke the create "site limit" functionality to allow user to select this sub-area?&lt;BR /&gt;2. What would be the optimal way to get the produced geojson (or path) of the selected area in case the user wants to change it ?&lt;BR /&gt;&lt;BR /&gt;Thanks a lot !!&lt;BR /&gt;Giannis&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
    <pubDate>Thu, 22 Feb 2024 19:54:16 GMT</pubDate>
    <dc:creator>iklimis</dc:creator>
    <dc:date>2024-02-22T19:54:16Z</dc:date>
    <item>
      <title>How do I allow the user to create a Site Limit inside an extension?</title>
      <link>https://forums.autodesk.com/t5/forma-site-design-developer/how-do-i-allow-the-user-to-create-a-site-limit-inside-an/m-p/12577002#M350</link>
      <description>&lt;P&gt;Hello Forma Team,&amp;nbsp;&lt;BR /&gt;We had a great with you guys in Oslo! You guys were most welcome&lt;/P&gt;&lt;P&gt;&lt;BR /&gt;So a need arose where we need the user to &lt;STRONG&gt;select an area&lt;/STRONG&gt; (or a polygon ..) of 'interest' on the site.&amp;nbsp;&lt;BR /&gt;After some experimenting I found that the &lt;STRONG&gt;Site Limit&lt;/STRONG&gt; tool you have is exactly what we need. But we do need the user to use an action inside our extension in a specific time to make that area selection.&amp;nbsp;&lt;BR /&gt;&lt;BR /&gt;I noticed also this actually makes a geojson which would be extra helpful to keep for reference.&lt;BR /&gt;&lt;BR /&gt;1. Can you suggest a way where i can invoke the create "site limit" functionality to allow user to select this sub-area?&lt;BR /&gt;2. What would be the optimal way to get the produced geojson (or path) of the selected area in case the user wants to change it ?&lt;BR /&gt;&lt;BR /&gt;Thanks a lot !!&lt;BR /&gt;Giannis&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;BR /&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Thu, 22 Feb 2024 19:54:16 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/forma-site-design-developer/how-do-i-allow-the-user-to-create-a-site-limit-inside-an/m-p/12577002#M350</guid>
      <dc:creator>iklimis</dc:creator>
      <dc:date>2024-02-22T19:54:16Z</dc:date>
    </item>
    <item>
      <title>Re: How do I allow the user to create a Site Limit inside an extension?</title>
      <link>https://forums.autodesk.com/t5/forma-site-design-developer/how-do-i-allow-the-user-to-create-a-site-limit-inside-an/m-p/12587958#M351</link>
      <description>&lt;P&gt;Hi!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Glad to hear that you had a great time at the Hackathon, it was a lot of fun!&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;1. We do not have support for invoking the in-product site limit tool, but we expose the design tool in getPolygon as described in the other post.&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;2. In order to access the elements the user select in the scene, you can use the &lt;A href="https://app.autodeskforma.com/forma-embedded-view-sdk/docs/classes/scene_selection.SelectionApi.html" target="_blank"&gt;SelectionAPI&lt;/A&gt; to get the user selection and then you can use the getFootprint method in the&amp;nbsp;&lt;A href="https://app.autodeskforma.com/forma-embedded-view-sdk/docs/classes/geometry.GeometryApi.html" target="_blank"&gt;GeometryAPI&lt;/A&gt;&amp;nbsp;to get the coordinates of the selected polygon. Does this solve your need? You can also subscribe to changes on the proposal if you would like to detect changes on the site limit element (or other elements).&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;Not sure if I answered exactly what you wanted, feel free to describe the flow you want to accomplish more in detail if you believe that will help us to understand the need &lt;span class="lia-unicode-emoji" title=":slightly_smiling_face:"&gt;🙂&lt;/span&gt;&lt;BR /&gt;&lt;BR /&gt;Best, Vilde&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 28 Feb 2024 13:53:52 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/forma-site-design-developer/how-do-i-allow-the-user-to-create-a-site-limit-inside-an/m-p/12587958#M351</guid>
      <dc:creator>vilde.barth</dc:creator>
      <dc:date>2024-02-28T13:53:52Z</dc:date>
    </item>
    <item>
      <title>Re: How do I allow the user to create a Site Limit inside an extension?</title>
      <link>https://forums.autodesk.com/t5/forma-site-design-developer/how-do-i-allow-the-user-to-create-a-site-limit-inside-an/m-p/12587975#M352</link>
      <description>By using the getPolygon, you activate the same tool as using the site limit tool in the product, the difference is that it just returns the polygon to you and do not persist it as a site limit in the proposal. Not sure if that is what you want to accomplish in this case?</description>
      <pubDate>Wed, 28 Feb 2024 14:01:21 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/forma-site-design-developer/how-do-i-allow-the-user-to-create-a-site-limit-inside-an/m-p/12587975#M352</guid>
      <dc:creator>vilde.barth</dc:creator>
      <dc:date>2024-02-28T14:01:21Z</dc:date>
    </item>
    <item>
      <title>Re: How do I allow the user to create a Site Limit inside an extension?</title>
      <link>https://forums.autodesk.com/t5/forma-site-design-developer/how-do-i-allow-the-user-to-create-a-site-limit-inside-an/m-p/12592674#M353</link>
      <description>&lt;P&gt;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/11475844"&gt;@vilde.barth&lt;/a&gt;&amp;nbsp;Hey!&lt;BR /&gt;&lt;BR /&gt;Yes, I went the same direction using basically the getPolygon for creating&amp;nbsp; a shape taking the points and going forward creating the elements...&lt;BR /&gt;&lt;BR /&gt;Thanks a lot for your reply&lt;/P&gt;&lt;P&gt;Giannis&lt;/P&gt;</description>
      <pubDate>Fri, 01 Mar 2024 08:40:36 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/forma-site-design-developer/how-do-i-allow-the-user-to-create-a-site-limit-inside-an/m-p/12592674#M353</guid>
      <dc:creator>iklimis</dc:creator>
      <dc:date>2024-03-01T08:40:36Z</dc:date>
    </item>
  </channel>
</rss>

