WARNING: You're viewing the Rhino WIP version of this page! View the current 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