1129 checkcurvelength


‘Script written by Macus Chen
‘1129 checkcurvelength

Call Main()
Sub Main()

Dim arrCrv, length, i

arrCrv = rhino.GetObjects(“get curves”, 4)

For i = 0 To Ubound(arrCrv)

length = rhino.CurveLength(arrCrv(i))

If length < 5 Then

Rhino.DeleteObject arrCrv(i)

End If

Next

End Sub

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s