-BLOCK — Create Block (command line)
Creates a block on the command line, like AutoCAD -BLOCK.
- Command:
-BLOCK· Global name:_-BLOCK· Alias:-B
Creates a block on the command line, with the same prompts as AutoCAD 2027 -BLOCK. This is what BLOCK does in scripts, SCRIPT and AutoLISP.
Usage
- Enter -BLOCK (or -B) and the block name. Enter
?to list the blocks in the drawing.
Enter block name or [?]:
- If a block with that name already exists, confirm whether to redefine it.
Block "…" already exists. Redefine it? [Yes/No] <No>:
- Specify the base point (or an option).
Specify insertion base point or [Annotative/MOde]:
- Select the objects and press Enter: the block is created and the objects are left according to the mode.
Select objects:
Options
- MOde: what to do with the selected objects. It is kept for the next blocks (when LinceCAD starts it is Convert to block).
Choose mode for converting selected objects [Convert to block/Retain/Delete] <Convert to block>:
- Convert to block: replaces the objects with an insert of the block at the base point.
- Retain: leaves the objects as they were.
- Delete: deletes the objects from the drawing.
- Annotative: its prompts are accepted so AutoCAD scripts keep working, but the block is not annotative yet.
Create annotative block [Yes/No] <Y>: