Display points and surfaces of polydata

Hi,

I tried this but this isn’t working :

actor.property.point_size = 10
AttributeError: 'vtkmodules.vtkRenderingOpenGL2.vtkOpenGLActor' object has no attribute 'property'

I’ve also tried this code :

actor.GetProperty().SetPointSize(10)

wich isn’t giving me any execution error but I’m not getting the desired output…