Jump to content
Simio Forum

Welcome to the Simio Forum

Welcome to the Simio Forum! Experience the full experience of the forum by becoming a Simio Insider! You must be an Insider to post on any forum!

Click_Here_button.png

SimioSupport

Combiner for identical entities (no parent required)

Recommended Posts

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.

  • Like 1

Share this post


Link to post
Share on other sites
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.

[attachment=0]CombinerNode.spfx[/attachment]

Requires Sprint 5.80 or later.

 

Great job! How did you create the CombinerNode? Is it a sub class of basic or transfer node?

Share this post


Link to post
Share on other sites

No, I think it was just based on the base "Node Class" from the engine.

Share this post


Link to post
Share on other sites

×
×
  • Create New...