<div dir="ltr">For the second port, you might want to set INPUT_IS_REPEATABLE()<div>in addition to INPUT_IS_OPTIONAL().</div><div><br></div><div>This will allow you to use AddInputData(1, data) to input as many</div><div>secondary objects to the port as you desire.  The number of input</div><div>ports for a VTK filter is fixed, but repeatable ports can accept any</div><div>number of inputs.</div></div>