WARNING: You're viewing the older Rhino 5 version of this page! View the Rhino 6 version instead.

Select Text Objects

Demonstrates how to use RhinoScript to select all text objects.


Sub SelText
  Dim arrObjects, strObject
  arrObjects = Rhino.AllObjects
  If IsArray(arrObjects) Then
    For Each strObject In arrObjects
      If Rhino.IsText(strObject) Then
        Rhino.SelectObject strObject
      End If
  End If
End Sub