Creates mesh objects from surface, polysurface, and extrusion objects. Blocks that contain surface, polysurface, and extrusion objects can also be meshes.
Rhino.MeshObjects (arrObjects [, intStyle [, arrMeshParameters]])
Rhino.MeshObjects (strObject [, intStyle [, arrMeshParameters]])
arrObjects |
Required. Array. An array of strings identifying the objects to mesh. |
||||||||||
strObject |
Required. String. The identifier of the object to mesh. |
||||||||||
intStyle |
Optional. Number. The user interface style.
|
||||||||||
arrMeshParameters |
Optional. Array. The parameters to use during meshing. See MeshParameters for more information. If omitted, then the document's current render mesh parameters are used. |
Array |
If arrObjects was specified, then the identifiers of the new mesh objects if successful. |
String |
If strObject was specified, then the identifier of the new mesh object if successful. |
Null |
If not successful, or on error. |
arrObjects = Rhino.GetObjects("Select objects to mesh")
If IsArray(arrObjects) Then
arrMP = Rhino.MeshParameters(0)
Rhino.MeshObjects arrObjects, -1, arrMP
End If