fetch full text from textnode (without carriage return)

Hello,

I want to fetch full text from textnode and need to replace it.

If textnode has multiline text, than it search line wise text not full text.

See below image. If I want to search word "JUNCTION BOX/ C.G. BOX" , it is not find out. If I search only JUCTION BOX or C.G. BOX then text is searched.

my code is below.

 CadInputQueue.SendKeyin "MDL KEYIN FINDREPLACETEXT"
            CadInputQueue.SendKeyin "SELECTBY SETTINGS TEXTNODE"
          
            CadInputQueue.SendKeyin "FIND DIALOG SEARCHINCELLS false"
            CadInputQueue.SendKeyin "FIND DIALOG MATCHCASE False"
            CadInputQueue.SendKeyin "FIND DIALOG WHOLEWORDS True"
            CadInputQueue.SendKeyin "FIND DIALOG REGEX False"
            CadInputQueue.SendKeyin "FIND DIALOG ZOOM False"
            CadInputQueue.SendKeyin "FIND DIALOG PAN False"
            CadInputQueue.SendKeyin "FIND DIALOG SEARCHSTRING " & "JUNCTION BOX/ C.G. BOX"
            CadInputQueue.SendKeyin "FIND DIALOG REPLACESTRING " & "Test"
           
       
            CadInputQueue.SendKeyin "CHANGE TEXT ALL"
            CommandState.StartDefaultCommand

Please help me , thanks in advance

Parents Reply Children
No Data