<?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: Downloading or exporting 3D model in Forma Site Design Developer Forum</title>
    <link>https://forums.autodesk.com/t5/forma-site-design-developer/downloading-or-exporting-3d-model/m-p/12958971#M184</link>
    <description>&lt;P&gt;Hi again Kristian!&amp;nbsp;&lt;BR /&gt;Found your question - will chase someone to get this answered! And thank you again for showing us your progress on the POC!&lt;BR /&gt;Marthe&lt;/P&gt;</description>
    <pubDate>Wed, 14 Aug 2024 18:14:18 GMT</pubDate>
    <dc:creator>marthe.brondbo</dc:creator>
    <dc:date>2024-08-14T18:14:18Z</dc:date>
    <item>
      <title>Downloading or exporting 3D model</title>
      <link>https://forums.autodesk.com/t5/forma-site-design-developer/downloading-or-exporting-3d-model/m-p/12954583#M183</link>
      <description>&lt;P&gt;Hello,&amp;nbsp;&lt;BR /&gt;I am working on extension and trying to find a way to get the 3D model or export the selection.&amp;nbsp; The 3D model is either the model placed from Library for proposal or the created geometry.&amp;nbsp;&lt;BR /&gt;Is there way to find the storage path based on key or urn?&lt;BR /&gt;Thanks in advance!&lt;/P&gt;</description>
      <pubDate>Mon, 12 Aug 2024 21:09:03 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/forma-site-design-developer/downloading-or-exporting-3d-model/m-p/12954583#M183</guid>
      <dc:creator>krisztian_toth</dc:creator>
      <dc:date>2024-08-12T21:09:03Z</dc:date>
    </item>
    <item>
      <title>Re: Downloading or exporting 3D model</title>
      <link>https://forums.autodesk.com/t5/forma-site-design-developer/downloading-or-exporting-3d-model/m-p/12958971#M184</link>
      <description>&lt;P&gt;Hi again Kristian!&amp;nbsp;&lt;BR /&gt;Found your question - will chase someone to get this answered! And thank you again for showing us your progress on the POC!&lt;BR /&gt;Marthe&lt;/P&gt;</description>
      <pubDate>Wed, 14 Aug 2024 18:14:18 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/forma-site-design-developer/downloading-or-exporting-3d-model/m-p/12958971#M184</guid>
      <dc:creator>marthe.brondbo</dc:creator>
      <dc:date>2024-08-14T18:14:18Z</dc:date>
    </item>
    <item>
      <title>Re: Downloading or exporting 3D model</title>
      <link>https://forums.autodesk.com/t5/forma-site-design-developer/downloading-or-exporting-3d-model/m-p/12962558#M185</link>
      <description>&lt;P&gt;Hi&amp;nbsp;&lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/15196150"&gt;@krisztian_toth&lt;/a&gt;!&amp;nbsp;&lt;BR /&gt;It seems from your question that you're using the Forma SDK. Given that you have the URN, there are two steps to downloading the geometry data:&lt;BR /&gt;1. Get the element using:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;const { element } = await Forma.elements.get({
  urn: &amp;lt;insert-urn-here&amp;gt;,
})&lt;/LI-CODE&gt;
&lt;P&gt;&lt;BR /&gt;2. From the representation you want on that element, you will need to get the Blob of that element's representation:&lt;/P&gt;
&lt;LI-CODE lang="javascript"&gt;// The blob is unknown data. For volumeMesh, you will get binary GLB.
const blobResponse = await Forma.elements.blobs.get({
  blobId: element.representations.volumeMesh.blobId,
})
const arrayBuffer: ArrayBuffer = blobResponse.data&lt;/LI-CODE&gt;
&lt;P&gt;See the Blob API for more information:&amp;nbsp;&lt;A href="https://app.autodeskforma.com/forma-embedded-view-sdk/docs/classes/elements.BlobsApi.html" target="_blank"&gt;https://app.autodeskforma.com/forma-embedded-view-sdk/docs/classes/elements.BlobsApi.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Here are the different representations and what data they will include:&amp;nbsp;&lt;A href="https://app.autodeskforma.com/forma-embedded-view-sdk/docs/modules/elements.Representation.html" target="_blank"&gt;https://app.autodeskforma.com/forma-embedded-view-sdk/docs/modules/elements.Representation.html&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;As for selection, you can use the Selection API to subscribe to when the selection in the scene changes. See&amp;nbsp;&lt;A href="https://app.autodeskforma.com/forma-embedded-view-sdk/docs/classes/scene_selection.SelectionApi.html" target="_blank"&gt;https://app.autodeskforma.com/forma-embedded-view-sdk/docs/classes/scene_selection.SelectionApi.html.&amp;nbsp;&lt;/A&gt;&lt;BR /&gt;&lt;BR /&gt;Please let me know if this helps you&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Fri, 16 Aug 2024 08:56:48 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/forma-site-design-developer/downloading-or-exporting-3d-model/m-p/12962558#M185</guid>
      <dc:creator>magnus.poppe.wang</dc:creator>
      <dc:date>2024-08-16T08:56:48Z</dc:date>
    </item>
  </channel>
</rss>

