<?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: Listing project's folders/files using local/cached data in Fusion API and Scripts Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/listing-project-s-folders-files-using-local-cached-data/m-p/10520608#M8351</link>
    <description>Excellent. This is exactly what I was looking for. Thank you!&lt;BR /&gt;</description>
    <pubDate>Wed, 04 Aug 2021 19:06:33 GMT</pubDate>
    <dc:creator>ltomuta</dc:creator>
    <dc:date>2021-08-04T19:06:33Z</dc:date>
    <item>
      <title>Listing project's folders/files using local/cached data</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/listing-project-s-folders-files-using-local-cached-data/m-p/10517779#M8349</link>
      <description>&lt;P&gt;I'm drafting a quick script but the performance is extremely poor as attempting to list project's file structure leads to countless server side API calls.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Is there a way to&lt;BR /&gt;a) get the entire&amp;nbsp; file structure in one call (folders and/or files)?&lt;/P&gt;&lt;P&gt;b) tell the API that the local cache will suffice (without putting Fusion on offline mode, even if that would work) ?&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Tue, 03 Aug 2021 19:05:47 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/listing-project-s-folders-files-using-local-cached-data/m-p/10517779#M8349</guid>
      <dc:creator>ltomuta</dc:creator>
      <dc:date>2021-08-03T19:05:47Z</dc:date>
    </item>
    <item>
      <title>Re: Listing project's folders/files using local/cached data</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/listing-project-s-folders-files-using-local-cached-data/m-p/10518939#M8350</link>
      <description>&lt;P&gt;Hi &lt;a href="https://forums.autodesk.com/t5/user/viewprofilepage/user-id/5667330"&gt;@ltomuta&lt;/a&gt;&amp;nbsp;.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;DataHubs, DataFolders, and DataFiles can now be accessed faster than before by using the asArray method.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-1BB4CB50-4CBA-4FD6-9250-C2CC501B9058" target="_blank" rel="noopener"&gt;https://help.autodesk.com/view/fusion360/ENU/?guid=GUID-1BB4CB50-4CBA-4FD6-9250-C2CC501B9058&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;This is a good reference.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://forums.autodesk.com/t5/fusion-360-api-and-scripts/access-file-tree-structure/m-p/10373517" target="_blank" rel="noopener"&gt;https://forums.autodesk.com/t5/fusion-360-api-and-scripts/access-file-tree-structure/m-p/10373517&lt;/A&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;If you really need the local cache data, you can get the path to the folder with the following text command&lt;/P&gt;
&lt;LI-CODE lang="general"&gt;Cache.path&lt;/LI-CODE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I also used the path of the local cache folder with this add-in.&lt;/P&gt;
&lt;P&gt;&lt;A href="https://github.com/kantoku-code/Fusion360_Rescue_F3D/blob/main/Rescue_F3D/Rescue_F3D_core.py#L95" target="_blank" rel="noopener"&gt;https://github.com/kantoku-code/Fusion360_Rescue_F3D/blob/main/Rescue_F3D/Rescue_F3D_core.py#L95&lt;/A&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 04 Aug 2021 07:10:12 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/listing-project-s-folders-files-using-local-cached-data/m-p/10518939#M8350</guid>
      <dc:creator>kandennti</dc:creator>
      <dc:date>2021-08-04T07:10:12Z</dc:date>
    </item>
    <item>
      <title>Re: Listing project's folders/files using local/cached data</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/listing-project-s-folders-files-using-local-cached-data/m-p/10520608#M8351</link>
      <description>Excellent. This is exactly what I was looking for. Thank you!&lt;BR /&gt;</description>
      <pubDate>Wed, 04 Aug 2021 19:06:33 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/listing-project-s-folders-files-using-local-cached-data/m-p/10520608#M8351</guid>
      <dc:creator>ltomuta</dc:creator>
      <dc:date>2021-08-04T19:06:33Z</dc:date>
    </item>
  </channel>
</rss>

