Lesson 10. Search and replace

Brief description: During this lesson you will learn how to search for raster objects and replace them with other raster and vector objects. You will also learn how to search for vector objects and replace them with other vector objects.

For detailed information on these subjects see the Search and Replace section of the Quick Start guide.

How to search for vector objects and replace them with other vector objects

Choose the Open command from the File menu, and open the Search_Replace_V_V.dwg file from the Lesson_10 folder.

Our task is to vectorize this image, and then replace the specified vector objects with different ones.

  • Convert the raster image to the vector format using the vectorization procedure.
    This document already contains pre-defined vectorization parameters, so all you need to do is choose Raster To Vector from the rConvert menu.
  • Vectorised raster image fragment
  • Draw a vector symbol for replacement.
  • Choose Search and Replace from the rEdit menu.
  • From the Find What list of the Search and Replace dialog, choose Vectors.
  • Select the vector objects you want to replace (using the AutoCAD selection tool - inside window).
  • Press Enter when the selection is complete.
  • If required, specify a new position of the Item Origin
    - or -
    press Enter.

INFORMATION: During the search and replace process WiseImage matches the origins of the replacing object and the replaced object.
You can specify any position for the origin of the replaced and/or replacing objects.

  • The selected objects will appear in the Find What field of the Search and Replace dialog.
  • From the Replace With list of the Search and Replace dialog, choose Vectors.
  • Select an object, with which you want to replace the original object (using the AutoCAD selection tools - specify the previously created rectangle).
  • Press Enter to complete the selection.
  • If required, specify a new position for the Item Origin.
    - or -
    press Enter.

The selected objects will appear in the Replace With field of the Search and Replace dialog.

  • Select the Erase checkbox- to erase the original vector objects.
  • Set the Accuracy slider to the middle position.
  • Press the Replace All button.
 
After vectorizing raster image
After search and replace

How to search for raster objects and replace them with vector objects

Choose Open from the File menu, and open the Search_Replace_R_V. dwg  file from the Lesson_10 folder.

Our task is to replace specified raster objects with vector objects.

In the top-left corner the search and replace objects are shown.

  • Select the raster object, which you want to replace.
    Use one of the WiseImage raster selection tools - We suggest using the Select Raster FloodFill button , located on the Raster Select toolbar. Click once anywhere on the object you want to replace.
  • Choose Search and Replace from the rEdit menu.
  • From the Find What list of the Search and Replace dialog, choose Raster Selection.
  • If required, specify a new position for Item Origin
    - or -
    press Enter.
  • The selected raster object will appear in the Find What field of the Search and Replace dialog.
  • From the Replace With list of the Search and Replace dialog, choose Vectors.
  • Select the vector object, with which you want to replace the original raster object (use the AutoCAD selection tools to select the block).
  • Press Enter to complete the selection.
  • If required, specify a new position for the Item Origin
    - or -
    press Enter.
  • The selected vector object will appear in the Replace With field of the Search and Replace dialog.

  • Select the Erase checkbox- to erase the original objects.
  • Set the Accuracy slider to the middle position.
  • If there is any raster selected in the document, press the Unselect All button , located on the Raster Select toolbar.
  • Press Find - the program zooms to the first symbol it finds to replace.
    If necessary you can move the replacing object (using the Move button ), change its scale (using the Scale button ) or rotate it by an arbitrary angle (using the Rotate button ).
  • If you are happy with the position of the replacing object, press the Replace button - the program will move to the next symbol.
  • If you want to replace all objects without editing press the Replace All button .
Original raster image
After search and replace

 [ welcome ]   [ hybrid graphics ]   [ quick start ]   [ tutorial ]   [ reference ]   [ about ] 
 
 [ Welcome ]  [ WiseImage for Windows ]   [ WiseImage for AutoCAD ] 


 
top