Stratal CAD

Finding repeated geometry

Help centre · Review, files and recovery

Find every place a group of objects repeats, then turn the repeats into block references, place a block everywhere it fits, or swap one block for another. For tidying imported drawings and laying out repeated details.

Before you start

Steps: find repeats and convert them to a block

  1. Select the objects that make up one copy of the pattern (or select them after starting).
  2. Click Review > Compare and check > FINDREPEATS (or type FINDREPEATS; the alias is REPEATS).
  3. At Select the pattern's objects, Enter when done, or Enter now for suggestions [Suggest/Tolerance/Mirror/SCale], click objects to add them (click one again to take it out), then press Enter.
  4. Every other place where the same objects occur, moved or turned, is boxed, and the command line reports what was found.
  5. At Repeats [Select/Convert/Mirror/SCale/Tolerance/Exit] <Exit>:
    • Select selects the pattern and all its repeats, for use with another command.
    • Convert asks Name of the new block, then Base point of the block <lower-left corner of the pattern>, and replaces the pattern and every repeat by a reference to the new block, in one undo step.

Steps: let Stratal suggest

  1. Start FINDREPEATS with nothing selected and press Enter at the first prompt (or choose Suggest).
  2. The command line lists numbered suggestions: groups of 2 to 64 touching objects that occur more than once, loose objects that look like an existing block (for example after EXPLODE), and an OVERKILL clean-up of the whole drawing.
  3. At Suggestion to preview (1-n) [Exit] <Exit> type a number. What it involves is selected and the command line previews what it would add, erase and change. This is worked out on a copy; nothing changes yet.
  4. At Suggestion [Accept/Next/List/Exit] <Exit> choose Accept to apply it in one undo step, or Next to see the next suggestion.

Steps: place a block like an example (PLACELIKE)

  1. Click Review > Compare and check, open the repeats split button and choose PLACELIKE (or type PLACELIKE).
  2. Pick a block reference you have already placed, for example a door in one wall opening.
  3. Select the objects it is placed against (the wall lines round that opening) and press Enter.
  4. Every other place where those objects repeat gets a reference placed the same way, turned or mirrored with them, unless it already has one. Clouds mark the places and the command line says how many objects would be added.
  5. At [Accept/Exit] <Exit> choose Accept. The references go on the example's layer with its properties, in one undo step.

Steps: replace one block with another (BREPLACE)

  1. To replace only some references, select them first. Otherwise every reference is replaced.
  2. Type BREPLACE (also in the repeats split button).
  3. At Replace the references of block type the old block name; at with block type the new one.
  4. Check the preview, then choose Accept. Each reference keeps its place, rotation, scale and layer. Attribute values whose tag the new block also has are kept; the others are reported.

Options

Option What it does
Tolerance How far apart points may be and still match, in drawing units. Default 0.000001. Must be greater than zero.
Mirror Includes or leaves out mirrored repeats (toggles; the command line says which). PLACELIKE uses the same setting.
SCale Includes or leaves out scaled repeats (toggles).
Suggest Lists suggestions instead of searching for a pattern you chose.

Example

An imported survey has 40 identical manhole symbols drawn as loose circles and lines. Select one symbol's three objects, run FINDREPEATS, press Enter, then choose Convert, name the block MH and press Enter for the base point. All 40 become references to MH in one undo step.

Tips and common mistakes

Troubleshooting

Message or symptom What it means and what to do
"No suggestions: no repeated groups, no loose copies of blocks, nothing to clean up." The drawing has nothing to suggest. Select a pattern yourself.
"No repeat has the pattern's properties; nothing to convert." All repeats differ in layer or properties. Give them the same layer and properties first, then convert.
"Not convertible: …" One repeat differs in a way a block reference cannot reproduce. The reason follows.
"The drawing has no block "<name>"." BREPLACE: check the block name (the Blocks panel lists them).
"That is not a block reference." PLACELIKE: the first pick must be a block reference.
"The tolerance must be greater than zero." Type a small positive number such as 0.001.

Related

Related

Still stuck? Open a support ticket or use Help, then Contact support in Stratal CAD.