Adds a line curve to the current model.
Rhino.AddLine (arrStart, arrEnd)
arrStart |
Required. Array. The starting point of the line. |
arrEnd |
Required. Array. The ending point of the line. |
String |
The identifier of the new object if successful. |
Null |
If not successful, or on error. |
Dim arrStart, arrEnd
arrStart = Rhino.GetPoint("Start of line")
If IsArray(arrStart) Then
arrEnd = Rhino.GetPoint("End of line")
If IsArray(arrEnd) Then
Rhino.AddLine arrStart, arrEnd
End If
End If