FindText is what you are looking for.
It will select all instances or one-by-one.
If you want to apply some sort of process automation Iβd recommend Grasshopper.
there is a script writen by @dale , it runs in V5 i used it a while ago. Runing it was a bit hard for me but i will share how i made it run (not sure if its the easy way)
1- copy the text from site
2- create a text file then open it > paste what you have copied from the site > save (i named my file as βreplacetext.rvbβ)
3- open rhino
4-type "loadscript"
5- click "Add"
6- Find your replacetext.rvb file and sellect it. in the same window click βLoadβ then "Close"
7- type βRunscriptβ in the new window sellect replacetext script and click "OK"
8- it will ask you what to search for and what to replace with and if the search is case sensitive.
β ReplaceText.rvb β August 2011
β If this code works, it was written by Dale Fugier.
β If not, I donβt know who wrote it.
β Works with Rhino 4.0.
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
βββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ
β Replaces text
ββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββββ'
Sub ReplaceText
Const RH_ANNOTATION = 512
Const RH_TEXTDOT = 8192
Dim arrObjects, strObject
Dim strOldText, strNewText, strFind, strReplace
Dim strTitle, nCompare, nCount
strTitle = "Replace Text"
nCount = 0
arrObjects = Rhino.ObjectsByType(RH_ANNOTATION + RH_TEXTDOT)
If IsNull(arrObjects) Then
Call Rhino.Print("No text objects found.")
Exit Sub
End If
strFind = Rhino.StringBox("Text string to find:",, strTitle)
If IsNull(strFind) Then Exit Sub
strReplace = Rhino.StringBox("Text string to replace with:",, strTitle)
If IsNull(strReplace) Then Exit Sub
nCompare = MsgBox("Perform case-sensitive replacement?", vbYesNoCancel + vbQuestion, strTitle)
If (nCompare = vbYes) Then
nCompare = vbBinaryCompare
ElseIf (nCompare = vbNo) Then
nCompare = vbTextCompare
Else
Exit Sub
End If
If (StrComp(strFind, strReplace, nCompare) = 0) Then Exit Sub
Call Rhino.EnableRedraw(False)
For Each strObject In arrObjects
If Rhino.IsText(strObject) Then
strOldText = Rhino.TextObjectText(strObject)
strNewText = Replace(strOldText, strFind, strReplace, 1, -1, nCompare)
If (StrComp(strOldText, strNewText, nCompare) <> 0) Then
Call Rhino.TextObjectText(strObject, strNewText)
nCount = nCount + 1
End If
End If
If Rhino.IsTextDot(strObject) Then
strOldText = Rhino.TextDotText(strObject)
strNewText = Replace(strOldText, strFind, strReplace, 1, -1, nCompare)
If (StrComp(strOldText, strNewText, nCompare) <> 0) Then
Call Rhino.TextDotText(strObject, strNewText)
nCount = nCount + 1
End If
End If
Next
Call Rhino.EnableRedraw(True)
Call Rhino.Print(CStr(nCount) & " text object(s) modified.")
Has anyone got a copy of the ReplaceText.rvb thatβs linked to earlier in this conversation? The linkβs dead now and I canβt find similar on google.