# Python box selection not working

**URL:** <https://discourse.vtk.org/t/python-box-selection-not-working/12580>\
**Category:** Development\
**Created:** [October 31, 2023, 6:56am UTC](https://discourse.vtk.org/t/python-box-selection-not-working/12580 "2023-10-31T06:56:24Z")\
**Posts on this page:** 1\
**Page:** 1

<div class="post-metadata">

**Author:** ![valentinecrt11](https://discourse.vtk.org/user_avatar/discourse.vtk.org/valentinecrt11/32/7914_2.png) [@valentinecrt11](https://discourse.vtk.org/u/valentinecrt11)\
**Post date:** [October 31, 2023, 6:56am UTC](https://discourse.vtk.org/t/python-box-selection-not-working/12580/1 "2023-10-31T06:56:24Z")

</div>

Hello, I’m using Python 3.10 to build my program. For the control style, I override the vtkInteractorStyleRubberBandPick class. Next, I want to be able to frame the actors in the scene and get the id of the selected cells. As an example, I use examples from the vtk website. But, unfortunately, this line frustum = self.GetInteractor().GetPicker().GetFrustum() gives me an error. Could you help?
