The RemoveAll method empties a node range by removings all nodes from it. This method does not delete the nodes; it merely removes them from the node range.
Examples:
The following VBA example displays the number of nodes in the selected curve. It then empties the node range and displays the number of nodes (zero) now stored in it.
Sub Test()
Dim nr As NodeRange
Set nr = ActiveShape.Curve.Nodes.All
MsgBox "There are " & nr.Count & " nodes in the curve."
nr.RemoveAll
MsgBox "Now the range contains " & nr.Count & " nodes."
End Sub