SimioSupport Posted November 21, 2012 Posted November 21, 2012 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. 1
antonio6vieira Posted June 5, 2014 Posted June 5, 2014 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?
dsturrock Posted June 6, 2014 Posted June 6, 2014 No, I think it was just based on the base "Node Class" from the engine.
antonio6vieira Posted June 6, 2014 Posted June 6, 2014 After viewing the model more carefully I was able to figure it out. Thanks anyway for the reply
Recommended Posts