From Vectorworks Developer
.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix
DescriptionRemoves all wall peaks from the referenced wall.
def vs.ClearWallPeaks(h): return None
h HANDLE Handle to wall.
Remarksremove all peaks in this wall
Julian says that this is broken for round walls, but I haven't verified it (nor checked the bug list).
It works as expected on VW 13.