Raycast [no bge] on Blender 2.8 not work

When I try to use the Raycast funcion dind’t work on Blender 2.8

>>> C.object.ray_cast((1,2,3),(4,5,6))
Traceback (most recent call last):
  File "<blender_console>", line 1, in <module>
RuntimeError: Error: Object 'Cube' has no mesh data to be used for ray casting

There is a date when will be possible to start to upgrade script and Addon?