How To Modify An Assembly Schedule?

can this help?
I manage to duplicate a schedule formatted the way I wanted, but need to filter it for assembly name.

var availableParameterIds = TableView.GetAvailableParameters
(RevitDoc, new ElementId(BuiltInCategory.OST_DuctTerminal));
foreach (var pid in availableParameterIds)
{
var builtinParameter = (BuiltInParameter)pid.IntegerValue;
//work with the BuiltInParameter
}