Simio
  • Combiner for identical entities (no parent required)

  • Do you have objects, models, libraries, path decorators, textures, symbols, custom API code, documentation, or anything else others might find useful? Please attach it here with a brief description.
Do you have objects, models, libraries, path decorators, textures, symbols, custom API code, documentation, or anything else others might find useful? Please attach it here with a brief description.
 #2845  by SimioSupport
 Wed Nov 21, 2012 6:11 pm
The Combiner object in the standard library assumes that you have a parent entity representing a box or container and members representing the parts that are combined into the parent.

In some cases you don't want to have a parent, you just have a number of entities that you want to temporarily join together and process as one.

The attached project contains an object of type Node that represents a very simple Combiner and a TestModel to illustrate how it works. The node simply asks for a Batch Size and then holds the incoming entities until that batch size is reached. It creates a "normal" batch so it can be used with the Separator as long as you treat all outbound entities as the same.
(52.4 KiB) Downloaded 810 times
Requires Sprint 5.80 or later.
 #5561  by antonio6vieira
 Thu Jun 05, 2014 7:31 am
SimioSupport wrote:The Combiner object in the standard library assumes that you have a parent entity representing a box or container and members representing the parts that are combined into the parent.

In some cases you don't want to have a parent, you just have a number of entities that you want to temporarily join together and process as one.

The attached project contains an object of type Node that represents a very simple Combiner and a TestModel to illustrate how it works. The node simply asks for a Batch Size and then holds the incoming entities until that batch size is reached. It creates a "normal" batch so it can be used with the Separator as long as you treat all outbound entities as the same.
CombinerNode.spfx
Requires Sprint 5.80 or later.
Great job! How did you create the CombinerNode? Is it a sub class of basic or transfer node?