<?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 insert occurrences directly from the ID string. in Fusion API and Scripts Forum</title>
    <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/insert-occurrences-directly-from-the-id-string/m-p/8781206#M14199</link>
    <description>&lt;P&gt;Hi.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to insert occurrences directly from the ID string.&lt;/P&gt;
&lt;P&gt;Now,I insert occurrences by FolderName&amp;amp;FileName&amp;nbsp; with For loop, but very slow for me.&lt;/P&gt;
&lt;P&gt;Almost all of the same files are inserted, so I would like to access them directly with the ID in the list. Please tell me how to write dataFile.&lt;/P&gt;
&lt;PRE class="api-code"&gt;&lt;STRONG&gt;addByInsert&lt;/STRONG&gt;(dataFile, transform, isReferencedComponent)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;dataFile value&lt;/P&gt;
&lt;P&gt;&amp;lt;adsk.fusion.Occurrence; proxy of &amp;lt;Swig Object of type 'std::vector&amp;lt; adsk::core::Ptr&amp;lt; adsk::fusion::Occurrence &amp;gt; &amp;gt;::value_type *' at 0x0000019B01BAXXXX&amp;gt; &amp;gt;&lt;/P&gt;</description>
    <pubDate>Thu, 09 May 2019 15:35:40 GMT</pubDate>
    <dc:creator>maeokaQ2NB3</dc:creator>
    <dc:date>2019-05-09T15:35:40Z</dc:date>
    <item>
      <title>insert occurrences directly from the ID string.</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/insert-occurrences-directly-from-the-id-string/m-p/8781206#M14199</link>
      <description>&lt;P&gt;Hi.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I want to insert occurrences directly from the ID string.&lt;/P&gt;
&lt;P&gt;Now,I insert occurrences by FolderName&amp;amp;FileName&amp;nbsp; with For loop, but very slow for me.&lt;/P&gt;
&lt;P&gt;Almost all of the same files are inserted, so I would like to access them directly with the ID in the list. Please tell me how to write dataFile.&lt;/P&gt;
&lt;PRE class="api-code"&gt;&lt;STRONG&gt;addByInsert&lt;/STRONG&gt;(dataFile, transform, isReferencedComponent)&lt;/PRE&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;dataFile value&lt;/P&gt;
&lt;P&gt;&amp;lt;adsk.fusion.Occurrence; proxy of &amp;lt;Swig Object of type 'std::vector&amp;lt; adsk::core::Ptr&amp;lt; adsk::fusion::Occurrence &amp;gt; &amp;gt;::value_type *' at 0x0000019B01BAXXXX&amp;gt; &amp;gt;&lt;/P&gt;</description>
      <pubDate>Thu, 09 May 2019 15:35:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/insert-occurrences-directly-from-the-id-string/m-p/8781206#M14199</guid>
      <dc:creator>maeokaQ2NB3</dc:creator>
      <dc:date>2019-05-09T15:35:40Z</dc:date>
    </item>
    <item>
      <title>Re: insert occurrences directly from the ID string.</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/insert-occurrences-directly-from-the-id-string/m-p/8786358#M14200</link>
      <description>&lt;P&gt;Unfortunately you can not create datafile object on fly using ID at the moment and you need to iterate through data folders only to get it.&lt;/P&gt;</description>
      <pubDate>Mon, 13 May 2019 04:36:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/insert-occurrences-directly-from-the-id-string/m-p/8786358#M14200</guid>
      <dc:creator>goyals</dc:creator>
      <dc:date>2019-05-13T04:36:31Z</dc:date>
    </item>
    <item>
      <title>Re: insert occurrences directly from the ID string.</title>
      <link>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/insert-occurrences-directly-from-the-id-string/m-p/8789818#M14201</link>
      <description>&lt;DIV class="tlid-input input has-transliteration"&gt;
&lt;DIV class="source-wrap"&gt;
&lt;DIV class="input-full-height-wrapper tlid-input-full-height-wrapper"&gt;
&lt;DIV class="source-input"&gt;
&lt;DIV class="tlid-source-transliteration-container source-transliteration-container transliteration-container"&gt;&amp;nbsp;&lt;/DIV&gt;
&lt;DIV class="source-footer-wrap source-or-target-footer"&gt;
&lt;DIV class="source-footer"&gt;
&lt;DIV class="src-tts left-positioned ttsbutton jfk-button-flat source-or-target-footer-button jfk-button" tabindex="0" role="button" aria-label="音声を聞く" data-tooltip="音声を聞く" aria-pressed="false" data-tooltip-align="t,c" aria-hidden="false" aria-disabled="false"&gt;
&lt;DIV class="jfk-button-img"&gt;&lt;SPAN style="font-family: inherit;"&gt;Thank you!&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;DIV class="tlid-results-container results-container"&gt;
&lt;DIV class="tlid-result result-dict-wrapper"&gt;
&lt;DIV class="result tlid-copy-target"&gt;
&lt;DIV class="text-wrap tlid-copy-target"&gt;
&lt;DIV class="result-shield-container tlid-copy-target" tabindex="0"&gt;&lt;SPAN class="tlid-translation translation"&gt;&lt;SPAN class=""&gt;We will do it the same way as before.&lt;/SPAN&gt;&lt;/SPAN&gt;&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;
&lt;/DIV&gt;</description>
      <pubDate>Tue, 14 May 2019 12:44:14 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/fusion-api-and-scripts-forum/insert-occurrences-directly-from-the-id-string/m-p/8789818#M14201</guid>
      <dc:creator>maeokaQ2NB3</dc:creator>
      <dc:date>2019-05-14T12:44:14Z</dc:date>
    </item>
  </channel>
</rss>

