in the UI you can delete a swatch and are asked which colour to replace it with or alternatively to use an unnamed colour.
It seems that scripting does not offer the second choice.
Therefore when I create a colour wheel by script I end up with hundreds of swatches that I have to remove using the UI.
Is there a way I haven't discovered?
Is there a reason for this limitation?