How to make Selection from C++ visible?

Hello dear Paraview developers!

I have used the following code to select the points by IDs from the custom widget

    vtkSelection* sel = vtkSelection::New();
    vtkNew<vtkIdTypeArray> ids;
    ids->SetNumberOfComponents(1);

    for (unsigned int i = 0; i < 500; i++)
    {
        ids->InsertNextValue(i);
    }
    vtkNew<vtkSelectionNode> selectionNode;
    selectionNode->SetFieldType(vtkSelectionNode::POINT);
    selectionNode->SetContentType(vtkSelectionNode::INDICES);
    selectionNode->SetSelectionList(ids);
    sel->AddNode(selectionNode);

    vtkSMProxy* selproxy = vtkSMSelectionHelper::NewSelectionSourceFromSelection(given_proxy->GetSession(), sel);

    selproxy->UpdateVTKObjects();

But after this, no selection on the screen is visible
Where given_proxy has been passed to my custom widget in constuctor

Dear Paraview developers, could you please help me what to do in order to make this selection visible?

Best regards