Creates a polygon mesh object based on a closed polyline curve object. The newly created polygon mesh object is added to the document.
Rhino.MeshPolyline (strPolyline)
strPolyline |
Required. String. The identifier of the polyline curve object. |
String |
The identifier of the new polygon mesh object if successful. |
Null |
If not successful, or on error. |
Dim strPolyline
strPolyline = Rhino.GetObject("Select a polyline", 4)
If Not IsNull(strPolyline) Then
If Rhino.IsPolyline(strPolyline) And Rhino.IsCurveClosed(strPolyline) Then
Rhino.MeshPolyline strPolyline
End If
End If