There wasn't previously any scripting API that covered this. I've added IWorldInstance.getMeshSize()
for the next beta.
Just wondering can be able to add a feature to make different shapes on runtime? (eg, Different geometric shape or any kind of shape Maybe by specifies the row, column and place to put the points).