-INSERT command
Inserts blocks into the current drawing via Command line.
Alias: -I
Description
Inserts a standard, dynamic, parametric or mechanical block, or a drawing file, into the current drawing.
Method
Specify the block to insert:
- To insert a block for the first time, enter the full path of the DWG or DXF file.
- To insert a block already defined in the drawing, enter its name.
- To insert the same block as previously, press Enter.
- To insert the current drawing as a block, enter the drawing name.
Before specifying the insertion point, use the command options to set the insertion parameters. The available options depend on the block type.
Note:
- If the block contains attributes, the value of the ATTDIA system variable determines whether you are prompted in the Command line to set the attributes (ATTDIA=0) or through the Edit Attributes dialog box (ATTDIA=1).
- During insertion, the Properties panel lists the Inserted Block Properties where block parameters can be edited directly.
- Blocks can be edited directly through grips after insertion.
Options within the command
- ~ to open file dialog
- Displays the Select Drawing File dialog box. Choose a DWG or DXF file and open it.
- insertion Type
- Specifies the insertion type.
- Local
- Inserts the block as a local component.
- External
- Inserts the block as an external reference.
Note: The insertion Type option is displayed only the first time the block is inserted in the drawing.
- Yes-redefine block
- Replaces the existing block definition with the new one. All existing references to this block can be updated using the Command line.
- No-do not redefine block
- Keeps the existing block definition and cancels the command.
- ? to list blocks in drawing
- Lists the names of all blocks in the current drawing.Note: If you want to filter the list, enter the name of a block or part of the name together with wildcards. The list displays the matching block names and the total number of user-defined blocks and unnamed blocks in the drawing.Tip: If necessary, press the F2 key to open the Prompt History window.
- * for all
- Opens the Prompt History window and lists all blocks from the drawing. If the list of blocks is too long, the prompt Press ENTER to continue… appears.
- & to insert preselected block
- Inserts a copy of the preselected block, retaining its parameter values. The option appears only when one block is selected.
- Select insertion point
- Specifies the insertion point of the block by entering its X, Y and Z coordinates or by picking a point.Note:
- If the HOTKEYASSISTANT system variable is On, the Hotkey Assistant widget is displayed. Repeatedly press the Ctrl key during the dynamic display of the selection to cycle the various options.
- When inserting a dynamic block whose definition has multiple insertion points, press the Ctrl key to cycle through them. The Hotkey Assistant widget does not appear while cycling through the insertion points. To set the cycling order, see the BCYCLEORDER command.
- Corner
- Indicates the size of the block by specifying a second corner of a rectangle. The insertion point is the first corner.
- scale X Y Z
- Specifies the scale factor by entering values for the X, Y and Z axes.
- Edit inserted entity
- Specifies the name of the parameter to change and the new expression for the inserted block.
- * to finish editing inserted entity
- Finishes the editing of individual parameters and returns to the previous options.
- SMART insert
- Connects the inserted block to an existing entity. It automatically creates appropriate 3D constraints between the two and copies the parameter expressions of the existing entity to the new one.
- switch Back
- Exits the SMART insert option.
- Name
- Specifies the name of the inserted mechanical block.
Note: The SMART insert and Name options are available only for mechanical blocks.
- Rotate
- Rotates the inserted block by the specified angle.Note: Positive angles rotate the block counter-clockwise and negative angles rotate the block clockwise.
- set Base point
- Specifies the base point for the inserted block.
- Flip
- Flips the direction for the inserted block.
- Multiple
- Inserts multiple copies of the same block by specifying an insertion point for each instance or by creating an array.Tip: Press the Enter key to end the command.
- Array
- Creates an associative array of the inserted block by specifying the base point, distance between columns, distance between rows and end point of the array.
- Direction
- Selects an existing axial entity to define the direction.
- 2Points
- Selects two points to define the direction.
- Xaxis
- Selects the X axis as direction.
- Yaxis
- Selects the Y axis as direction.
- Zaxis
- Selects the Z axis as direction.
- Entity
- Uses the axis of a selected entity as direction.
- Last
- Uses the last specified axis as direction.
- View
- Uses the current view direction through a specified point.
- Single row
- Distributes block copies into a single row.
- Rectangular
- Distributes block copies into any number of rows.
- Base point
- Specifies a new base point for the array.
- Placement
- Sets the distance between the block copies.
- Columns
- Specifies the number of columns.
- Rows
- Specifies the number of rows.
- Accept
- Accepts the resulting array.
- Change target 3d solids
- Applies the inserted entity to existing 3D solids in the current drawing.
- cleaR
- Clears the selection set to ensure no solids are affected by the inserted block.
- Select all affected 3d solids
- Selects all 3D solids that intersect or touch the solids on the BC_SUBTRACT and BC_UNITE layers of the inserted block.
- Scale
- Sets the scale factor of the block.Note:
- Values larger than 1 make the block larger.
- A value of 1 inserts the block at its actual size.
- Values smaller than 1 make the block smaller.
- X scale
- Specifies the scale factor along the X axis.
- Y scale
- Specifies the scale factor along the Y axis.
- Z scale
- Specifies the scale factor along the Z axis.
Note: Negative scale factors flip the block, creating a mirrored effect.
