Skip to content

Insert: Blocks, References, Images and Geolocation (1 of 5)

-ATTEXT — Extract Attributes with Template

Writes the attributes to a CDF, SDF or DXF file, like AutoCAD -ATTEXT.

Writes the block attributes to a file with a field template, like AutoCAD 2027 -ATTEXT.

Usage

  1. Enter -ATTEXT and the format. With Objects you select the blocks first; otherwise every block with attributes in model space is extracted.
Enter extraction type or enable object selection [Cdf/Sdf/Dxf/Objects] <C>:
  1. In CDF and SDF, enter the template path (Enter: the previous one).
Enter template file name:
  1. Enter the extract file (without extension: .txt, or .dxx in DXF).
Enter extract file name:

Template

One line per field: the name and its format, C (text) or N (number), with 3 digits of width and 3 of decimals. The names are the attribute tags or the block ones: BL:NAME, BL:LAYER, BL:HANDLE, BL:X, BL:Y, BL:Z, BL:ORIENT, BL:XSCALE, BL:YSCALE, BL:ZSCALE, BL:XEXTRUDE, BL:YEXTRUDE, BL:ZEXTRUDE, BL:LEVEL and BL:NUMBER.

BL:NAME C010000 BL:X N010003 DOOR C008000

Options

Notes

See also

ATTEXT · EATTEXT · ATTDEF

-BLOCK — Create Block (command line)

Creates a block on the command line, like AutoCAD -BLOCK.

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

  1. Enter -BLOCK (or -B) and the block name. Enter ? to list the blocks in the drawing.
Enter block name or [?]:
  1. If a block with that name already exists, confirm whether to redefine it.
Block "…" already exists. Redefine it? [Yes/No] <N>:
  1. Specify the base point (or an option).
Specify insertion base point or [Annotative/MOde]:
  1. Select the objects and press Enter: the block is created and the objects are left according to the mode.
Select objects:

Options

Choose mode for converting selected objects [Convert to block/Retain/Delete] <…>:
Create annotative block [Yes/No] <Y>:

See also

BLOCK · INSERT · WBLOCK

-WBLOCK — Write Block (command line)

Saves a block, the drawing or some objects as a DWG, like AutoCAD -WBLOCK.

Saves a block, the whole drawing or some objects as a new drawing on the command line, with the AutoCAD 2027 -WBLOCK prompts. This is what WBLOCK does in scripts, SCRIPT and AutoLISP.

Usage

  1. Enter -WBLOCK (or -W) and the path of the new file (without .dwg or .dxf, .dwg is added).
Enter name of output file:
  1. If the file already exists, confirm whether to replace it.
A file named … already exists. Do you want to replace it? [Yes/No] <N>:
  1. Enter the name of a block, = (the block named like the file), * (the whole drawing) or press Enter to define a new drawing from objects.
Enter name of existing block or [= (block=output file)/* (whole drawing)] <define new drawing>:
  1. With Enter, specify the base point (or MOde) and select the objects.
Specify insertion base point or [MOde]:

Options

Choose mode for converting selected objects [Convert to block/Retain/Delete] <…>:

See also

WBLOCK · -BLOCK · -INSERT

-BEDIT — Block Editor (command line)

Opens the Block Editor asking for the block name at the command line.

Opens the Block Editor asking for the block name on the command line, without a dialog box. This is the BEDIT used in scripts.

Usage

  1. Enter -BEDIT (or -BE).
  2. Enter the block name (it may contain spaces), or ? to see the list of blocks that can be edited.
Enter block name or [?]:
  1. Edit the block and finish with BSAVE and BCLOSE.

Notes

See also

BEDIT · BSAVE · BCLOSE · SCRIPT · Blocks and attributes

-REFEDIT — Edit Reference In-Place (command line)

Edits a block in place, like AutoCAD -REFEDIT.

Edits a block in place from the command line, like AutoCAD 2027 -REFEDIT: the same prompts as REFEDIT.

Usage

  1. Enter -REFEDIT and select a block reference.
Select reference:
  1. Accept the nesting level, the method (All) and whether attribute definitions are shown.
Enter object selection method [All/Nested] <All>:
  1. Edit and finish with REFCLOSE.

See also

REFEDIT · REFCLOSE

-DATAEXTRACTION — Data extraction (command line)

Extracts object data to a table or CSV from the command line.

Extracts object data from the command line, like DATAEXTRACTION without the dialog.

Usage

  1. Select the objects (Enter: the whole model space), choose the output (Table or File) and give the CSV file or the table point.
Select blocks or [ALL] <ALL>:
Output [Table/File] <Table>:

Notes

See also

DATAEXTRACTION

-IMAGE — Image (command line)

Lists, detaches, reloads, unloads or changes the path of the images of the drawing.

Manages on the command line the images attached to the drawing: lists, detaches, changes the path of, reloads or unloads them. Images are given by the name of their definition (usually the file name).

Usage

  1. Enter -IMAGE.
  2. Choose the option.
Enter image option [?/Detach/Path/Reload/Unload/Attach/Show] <Attach>:
  1. Enter the image names separated by commas, or * (or Enter) for all of them.
Enter list of images to detach:
  1. With Path, enter the new path or ~ to choose it in a dialog box.
Enter new path:

Options

Notes

See also

IMAGEATTACH · XREF · IMAGECLIP · Raster images

-INSERT — Insert (command line)

Inserts a block or a drawing asking at the command line.

Inserts a block or a drawing asking everything on the command line, without opening the Blocks palette. This is the INSERT used in scripts. It asks the same questions, in the same order, as -INSERT in AutoCAD 2027.

Usage

  1. Enter -INSERT (or -I).
  2. Enter the block name; Enter uses the last one inserted. A DWG or DXF path also works (C:\plans\door.dwg), name=path to give it another name, ~ to pick the file in a dialog box or ? to list the blocks.
Enter block name or [?]:
  1. Specify the insertion point. The block follows the cursor.
Specify insertion point or [Basepoint/Scale/X/Y/Z/Rotate/Explode/REpeat]:
  1. Enter the X scale factor or specify the opposite corner: with a point, X and Y are the sides of the rectangle from the insertion point.
Enter X scale factor, specify opposite corner, or [Corner/XYZ] <1>:
  1. Enter the Y scale factor; Enter uses the X one.
Enter Y scale factor <use X scale factor>:
  1. Enter the rotation angle in degrees or specify a point in the desired direction.
Specify rotation angle <0>:
  1. If the block has attributes, enter the value of each one; Enter keeps the default value.

Options

Before specifying the point (the block already moves with that size or rotation, and it is not asked again later):

Specify scale factor for XYZ axes <1>:
Explode block [Yes/No] <Yes>:
Enter block(s) to list <*>:

When asking for the X scale:

Notes

See also

INSERT · BLOCK · WBLOCK · SCRIPT · Blocks and attributes

-MAPCLEAN — Drawing Cleanup (command line)

Cleans map data with the options on the command line.

Command-line version of MAPCLEAN: cleans map data with the actions and tolerances typed in, without a dialog box. Use it in scripts and in AutoLISP.

Usage

  1. Enter -MAPCLEAN.
  2. Select the objects and press Enter, or choose laYers (Y) and enter the layers.
Select objects or [laYers]:
  1. The prompt shows the active actions with their tolerance. Enter the option you want to change and press Enter to clean.
Actions: …. Enter one to change it [Duplicates/sHort/Extend/Break/sNap/Pseudo-nodes/sImplify/Close/Zero length/Mark/eXit] <eXit>:

Options

…: tolerance or [No] <…>:

Notes

See also

MAPCLEAN · -OVERKILL · SCRIPT · AutoLISP

-PDFATTACH — Attach PDF (command line)

Attaches a page of a PDF file as an underlay, without dialog boxes.

Attaches a page of a PDF as an underlay answering everything on the command line, for scripts and AutoLISP. It does the same as PDFATTACH with the same prompts.

Usage

  1. Enter -PDFATTACH.
  2. Enter the PDF path (in quotes if it has spaces). Enter or ~ open the file dialog.
Enter path to PDF file to attach or [Browse] <Browse>:
  1. Enter the page number; ? lists them.
Enter page number or [?] <1>:
  1. Specify the insertion point (the lower-left corner of the page).
Specify insertion point:
  1. Enter the scale.
Specify scale factor <1>:
  1. Enter the rotation angle.
Specify rotation <0>:

Example

In a script, -PDFATTACH followed by C:\plans\floor.pdf, 2, 0,0, 1 and 0 attaches page 2 at the origin, at scale 1 and without rotation.

Notes

See also

PDFATTACH · -XREF · XREF · External references

-XREF — External References (command line)

Lists, binds, detaches, unloads, reloads or changes the path of the external references.

Manages external references from the command line: lists them, binds them to the drawing, detaches, unloads or reloads them, changes their path or attaches another one. It does the same as the buttons of the XREF window, and it can be used in scripts and AutoLISP.

Usage

  1. Enter -XREF (or -XR).
  2. Choose an option; Enter attaches another reference, like XATTACH.
Enter an option [?/Bind/Detach/Path/pathType/Unload/Reload/Overlay/Attach/Show] <Attach>:
  1. Enter the names of the references (each option asks with its own prompt, with no default). Wildcards are accepted: * all of them, ? one character, and several names separated by commas. If none has that name: "No matching Xref names found.".

Options

Enter xref(s) to list <*>:
Enter xref name(s) to bind:
Enter xref(s) to detach:
Enter xref name(s) to unload:
Edit path for which xref(s):
Enter new path:
Enter xref name(s) to edit path type:
Enter new path type [Full/Relative/None]:

Notes

See also

XREF · XATTACH · XCLIP · PDFATTACH · External references

MAPREFRESH — Refresh map

Requests the map layers again for the visible area.

Requests the map layers again for the visible area, at screen resolution. It is the Refresh in this area of the ONLINEMAPS manager.

Use

Notes

See also

ONLINEMAPS · MAPCONNECT

ATTEDIT — Edit Attributes

Changes the attribute values of a block.

Changes on the command line the values of the attributes of an inserted block.

Usage

  1. Enter ATTEDIT (or ATE). Double-clicking a block with attributes also starts it.
  2. Select the block. If it was already selected, that one is used.
Select block reference:
  1. For each attribute, in order, enter the new value or press Enter to keep the current one.
Enter new value for … <…>:

The changes are applied when the last attribute is answered.

Notes

See also

EATTEDIT · BATTMAN · ATTDEF · Blocks and attributes

EATTEXT — Attribute Extraction

Opens the Data Extraction wizard to extract block attributes to a table or a file.

Extracts block attributes to a table in the drawing or to a file with the Data Extraction wizard, like AutoCAD EATTEXT.

Usage

  1. Enter EATTEXT. The DATAEXTRACTION wizard opens with the selection (or with the current drawing).
  2. In Select Objects, choose Blocks only and Only blocks with attributes to keep the blocks with attributes; in Select Properties, tick the attributes and the other columns.
  3. Choose the output (table in the drawing or CSV or TXT file) and click Finish.

In scripts, SCRIPT and AutoLISP there is no wizard: it is ATTEXT.

Notes

See also

DATAEXTRACTION · ATTEXT · -ATTEXT · BATTMAN

ATTDISP — Attribute Display

Shows or hides block attributes.

Shows or hides block attributes in the whole drawing, like AutoCAD ATTDISP. It changes the ATTMODE variable and redraws the blocks.

Usage

  1. Enter ATTDISP.
  2. Choose the visibility.
Enter attribute visibility setting [Normal/ON/OFF] <…>:

Options

See also

ATTDEF · ATTEDIT · SETVAR

BCLOSE — Close Block Editor

Closes the Block Editor and returns to the drawing.

Closes the Block Editor and returns to the drawing. It can also be closed with the button on the editor's bottom bar.

Usage

  1. In the Block Editor (BEDIT), enter BCLOSE or click the button.
  2. If there are unsaved changes, choose whether to save them:
Save changes to "…"?

Notes

Enter an option [Save/Discard changes] <Save>:

Save (or Enter) saves the block and closes; Discard closes without saving. A script that closed this way must add the answer on the next line.

See also

BSAVE · BSAVEAS · BEDIT · Blocks and attributes

BSAVE — Save Block

Saves the definition of the block being edited.

Saves the definition of the block being edited in the Block Editor. Every insert of the block is redrawn with the new contents, including those nested in other blocks and those of a dynamic block.

Usage

  1. In the Block Editor (BEDIT), enter BSAVE or click the button on the Block Editor tab.
  2. If the block's attributes have changed and it has inserts, you are asked whether to synchronize them:
The attributes of "…" changed. Synchronize its … references (ATTSYNC)?

The editor stays open; you can keep editing and save again.

Notes

See also

BSAVEAS · BCLOSE · BEDIT · ATTSYNC · Blocks and attributes

Download LinceCAD Manual contents

Download the free 30-day trial · Open and edit DWG files · AutoCAD LT alternative

Coming from AutoCAD? Check what is compatible · CAD with a perpetual license