@bdemin I just added an example that may do what your looking for. ResampleAppendedPolyData.
The example populates a flat terrain with randomly placed platonic solids
Here is a screenshot showing the original appended polydata (left) and resampled (right) at a different resolution.