Hi
Currently we iterate over variadic ports with variadicPort.GetPorts but it seems to always have one default port ("#") when all variadic children are cleared. I guess that is expected behaviour so is there some safe way to know when to ignore the port? Can we simply check if the id of the port is "#"? Or should we think about using a different approach e.g. somehow calling GetChildren on a maxon::GraphNode which at first glance seems to work?
With the example gradient node after clearing all knots in the first ramp I get something along the lines of:
maxon::nodes::PortList portList = maxon::nodes::ToPortList(gradientBundle)
iferr_return;
for (auto portResult : portList.GetPorts())
{
WarningOutput(portResult.GetValue().ToString(nullptr));
}
gradientnode@R9OPuVzGMZ5nE94TL6Qp2q<firstbundle/#
gradientnode@R9OPuVzGMZ5nE94TL6Qp2q<secondbundle/_0
gradientnode@R9OPuVzGMZ5nE94TL6Qp2q<secondbundle/_0