I know how to send points, polylines, meshes and so on, but how I can send array of Points and array of numbers as inputs for Grasshopper script?
If you are using JavaScript, you can check out this example: https://github.com/mcneel/rhino-developer-samples/blob/7/compute/js/SampleGHDelaunayMesh/app.js#L32-L55