BLOCKIFY command
Converts identical sets of entities (2D or 3D) to block references.

Icon:
Description
Searches the drawing for identical sets of entities (2D or 3D) and replaces them with block references.
Method
There are four methods to use BLOCKIFY command:
- Convert 2D and 3D entities to blocks.
- Convert equally shaped solids to blocks.
- Find collections of existing blocks.
- Match geometry to existing block definitions.
If a selection set is active when launching the command, the current settings of the BLOCKIFYMODE and BLOCKIFYTOLERANCE system variables are used for running the command.
If no selection set is active when launching the command, the Command Context panel opens to display the Settings options and the last used workflow. You can modify the BLOCKIFYMODE and BLOCKIFYTOLERANCE system variables settings through the options displayed in the panel.

- Settings
- Tolerance
- Workflows
- Settings
- Shows all the settings available in BLOCKIFYMODE system variable with their current state and lets you toggle them on/off.
- Tolerance
- Allows you to define a relative tolerance for determining whether two entities are equal. An example of a relative tolerance is the maximum ratio of the difference between two line lengths to the length of one line. A negative value means the algorithm will determine the optimal tolerance itself (0.000001 for 2D and 0.0003 for 3D entities). This option is highly recommended.
- Workflows
- Displays the last used workflow. Press the right side arrow to display all workflows from which
to choose one:
- Equal solids
- Match existing blocks
- Find collections
Equal solids
Select the search space or choose the entire drawing as a search space.
- tick the group check-boxes in the panel.
- click on the individual check marks / x signs in the drawing.


Match existing blocks
Searches the drawing (or the selection) for geometry matching existing block definitions.
Select the search space or choose the entire drawing as a search space.
- tick the group check-boxes in the panel.
- click on the individual check marks / x signs in the drawing.

Find Collections
Searches for identical sets of solids and block references and lets you choose the ones to create new nested block definitions from. The collections within the selected sets are then replaced with block references of these definitions.

- Options
- Collections
- Details
- Options
-
- Maximum gap
-
Increases the allowed gap between entities to find a more complex collection.
For example: If a drawing contains multiple block references of desks and chairs, you can find a collection of both elements by setting the maximum gap between a desk and a chair.
- Recalculate
- Recalculates the collections based on the new maximum gap.
- Collections
-
Displays the found collection sets. Select the collection set you want to create the nested block reference from.
Note:- A message is displayed if the selected set contains overlapping collections. Overlapping collections are collections that have at least one solid in common. Select which of the overlapping collections to remove so you can create the new block.
- The overlapping collections are highlighted if the Highlight overlapping collections option is ticked.
- Details
-
- Show
- Tick the check-box to highlight in the Model space one collection at a time within the collection set.