nukescripts.selectedPoints

nukescripts.selectedPoints(selectionThreshold) iterator[source]

Return an iterator which yields the position of every point currently selected in the Viewer in turn.

The selectionThreshold parameter is used when working with a soft selection. Only points with a selection level >= the selection threshold will be returned by this function.