Continuing the discussion from FilletEdges:
The results of any SDK function is only as good as the input. In the case of patch, if your input curves are not smooth, then you should not expect the resulting surface to be smooth.
I have noticed a pattern with all of your questions. And that is you have very poor geometry that you are passing to our SDK functions. Your curves are not smooth, have way too many control points, and often overlap. There is no way you are going to be able to automate a process when your inputs are so bad.
I suggest you spend some time modeling in Rhino to learn how to create high-quality geometry. In doing this, you will learn what is required by our SDK functions to produce high-quality output.