<?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 Array of meshes into a for_each outputs all the meshes as 1 combined mesh.  How do I get them as individuals? in Bifrost Forum</title>
    <link>https://forums.autodesk.com/t5/bifrost-forum/array-of-meshes-into-a-for-each-outputs-all-the-meshes-as-1/m-p/10064019#M4262</link>
    <description>&lt;P&gt;Sorry my brain is not working.&amp;nbsp; I have an array of meshes going intoa for_each node.&amp;nbsp; The output of the for_each node says it's a single mesh.&amp;nbsp; But the outport of the for_each node says it's an array of meshes.&amp;nbsp; And I hooked up a dump_object to print out the size of that array and it matches my input array.&amp;nbsp; But I still only get one final outmesh that is a union of all the meshes from the for_each loop.&amp;nbsp; What am I missing to separate them?&amp;nbsp; Do I have to use a build_array?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BIF.PNG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/877908iD66B6135C7B8FAF9/image-size/large?v=v2&amp;amp;px=999" role="button" title="BIF.PNG" alt="BIF.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The for_each "out_mesh" port says it's an array.&amp;nbsp; And the output "outMeshes" is a hat shape.&amp;nbsp; But I'm only getting 1 bif mesh.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="forEach.PNG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/877909i69F16D633BE6AA7D/image-size/large?v=v2&amp;amp;px=999" role="button" title="forEach.PNG" alt="forEach.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
    <pubDate>Sun, 07 Feb 2021 07:19:39 GMT</pubDate>
    <dc:creator>mcw0</dc:creator>
    <dc:date>2021-02-07T07:19:39Z</dc:date>
    <item>
      <title>Array of meshes into a for_each outputs all the meshes as 1 combined mesh.  How do I get them as individuals?</title>
      <link>https://forums.autodesk.com/t5/bifrost-forum/array-of-meshes-into-a-for-each-outputs-all-the-meshes-as-1/m-p/10064019#M4262</link>
      <description>&lt;P&gt;Sorry my brain is not working.&amp;nbsp; I have an array of meshes going intoa for_each node.&amp;nbsp; The output of the for_each node says it's a single mesh.&amp;nbsp; But the outport of the for_each node says it's an array of meshes.&amp;nbsp; And I hooked up a dump_object to print out the size of that array and it matches my input array.&amp;nbsp; But I still only get one final outmesh that is a union of all the meshes from the for_each loop.&amp;nbsp; What am I missing to separate them?&amp;nbsp; Do I have to use a build_array?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="BIF.PNG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/877908iD66B6135C7B8FAF9/image-size/large?v=v2&amp;amp;px=999" role="button" title="BIF.PNG" alt="BIF.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;The for_each "out_mesh" port says it's an array.&amp;nbsp; And the output "outMeshes" is a hat shape.&amp;nbsp; But I'm only getting 1 bif mesh.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="forEach.PNG" style="width: 999px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/877909i69F16D633BE6AA7D/image-size/large?v=v2&amp;amp;px=999" role="button" title="forEach.PNG" alt="forEach.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;</description>
      <pubDate>Sun, 07 Feb 2021 07:19:39 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/bifrost-forum/array-of-meshes-into-a-for-each-outputs-all-the-meshes-as-1/m-p/10064019#M4262</guid>
      <dc:creator>mcw0</dc:creator>
      <dc:date>2021-02-07T07:19:39Z</dc:date>
    </item>
    <item>
      <title>Re: Array of meshes into a for_each outputs all the meshes as 1 combined mesh.  How do I get them as individuals?</title>
      <link>https://forums.autodesk.com/t5/bifrost-forum/array-of-meshes-into-a-for-each-outputs-all-the-meshes-as-1/m-p/10064054#M4263</link>
      <description>&lt;P&gt;Always pay attention to the port icons, they say a lot about what happens. If you look inside your for_each loop, you can see that your output port is an iteration target, meaning that it's going to returns each results of the loop into an array.&lt;BR /&gt;&lt;BR /&gt;For_each compound only have iteration target allowed for output because this node compute things in parallel. If you want to manually build an array inside a loop, like based on some conditions, You can use either iterate or do-while, and use a port-state.&lt;BR /&gt;&lt;BR /&gt;Though, it's the problem here. When you say you get a single bif mesh, do you mean only one bifShape in the Maya scene? If so that's perfectly normal. Bifrost generates one bifShape per output port, wether it is an array or not. You can also convert your BifrostBoard graph to a BifrostShape graph (from 2.2.0.0), and won't have to deal with bifShapes anymore. Each sub meshes is still accessable, like when using BifrostGeoToMaya, you can get each sub meshes individually out of the port.&lt;/P&gt;</description>
      <pubDate>Sun, 07 Feb 2021 07:56:31 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/bifrost-forum/array-of-meshes-into-a-for-each-outputs-all-the-meshes-as-1/m-p/10064054#M4263</guid>
      <dc:creator>mjcg91</dc:creator>
      <dc:date>2021-02-07T07:56:31Z</dc:date>
    </item>
    <item>
      <title>Re: Array of meshes into a for_each outputs all the meshes as 1 combined mesh.  How do I get them as individuals?</title>
      <link>https://forums.autodesk.com/t5/bifrost-forum/array-of-meshes-into-a-for-each-outputs-all-the-meshes-as-1/m-p/10064142#M4264</link>
      <description>&lt;P&gt;Hi Maxime, I have access to all the output meshes in the bifrostGeoToMaya node.&amp;nbsp; It must be getting too late and I didn't notice it the first time.&amp;nbsp; Thank you.&lt;/P&gt;</description>
      <pubDate>Sun, 07 Feb 2021 09:03:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/bifrost-forum/array-of-meshes-into-a-for-each-outputs-all-the-meshes-as-1/m-p/10064142#M4264</guid>
      <dc:creator>mcw0</dc:creator>
      <dc:date>2021-02-07T09:03:38Z</dc:date>
    </item>
  </channel>
</rss>

