Skip to content

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

BVSTATE — Visibility States

Creates, renames, deletes and orders the visibility states of the block.

Manages the visibility states of the dynamic block being edited, like AutoCAD BVSTATE. It only works in the Block Editor of a block with a visibility parameter (BVPARAM).

Usage

  1. In the Block Editor, enter BVSTATE (or BVS). In the Visibility States dialog box, pick a state and click New…, Rename… (the name is typed on the command line), Delete, Move Up or Move Down; Close finishes.
  2. Save the block with BSAVE.

In scripts, SCRIPT and AutoLISP there is no dialog box: the option and the state are asked.

Enter an option [New/Set/Delete]:

Notes

See also

BVPARAM · BPARAMETER · BEDIT

ATTEXT — Extract Attributes

Extracts block attributes to a file (CDF, SDF, DXX or CSV) or a table.

Extracts the attribute values of blocks to an extraction file (CDF, SDF or DXX), to a CSV file that opens in a spreadsheet or to a table in the drawing. It is useful for door, device or luminaire schedules.

Usage

  1. Enter ATTEXT or click the button. The Attribute Extraction dialog box opens, like AutoCAD ATTEXT. To also output the other objects (count, layer, length and area), use DATAEXTRACTION.
  2. Choose the File format.
  3. With Select objects <, the dialog box hides to select the blocks and comes back with Enter. Without selecting, the blocks with attributes in model space are taken (or those selected before starting).
  4. With CDF or SDF, give the Template file; with everything but the table, the Output file.
  5. Click OK. With the table, specify its upper-left corner.
Upper-left corner of the table:

Formats

The extension of the output file follows the format (.txt, .dxx or .csv).

Command line

In scripts, SCRIPT and AutoLISP there is no dialog box:

Select blocks or [ALL] <ALL>:
Output [Table/File] <Table>:
CSV file:

Notes

See also

-ATTEXT · ATTDEF · BATTMAN · TABLE · Blocks and attributes

BATTMAN — Block Attribute Manager

Changes the order, prompt, default value and modes of a block's attributes.

Opens the Block Attribute Manager: it changes the attribute definitions of a block (their order, prompt, default value and modes) and applies the changes to all its inserts.

Usage

  1. Enter BATTMAN or click the button. If a block with attributes is selected, it opens with that block; otherwise, with the first one in the drawing.
  2. Choose another block in Block: if needed. Below it you can see how many inserts it has.
  3. Change in the table the Prompt, the Default and the Modes: I (Invisible), C (Constant), V (Verify) and P (Preset).
  4. Click a tag to choose its row and use Move Up, Move Down or Remove.
  5. Click Synchronize to apply the changes without closing, or OK to apply them and close.

Notes

See also

ATTDEF · ATTSYNC · EATTEDIT · BEDIT · Blocks and attributes

IMAGEADJUST — Image Adjust

Changes the brightness, contrast and fade of images.

Changes the brightness, contrast and fade of one or more raster images, for example to lighten an orthophoto so that what is drawn on top reads well.

Usage

  1. Enter IMAGEADJUST (or IAD) or click the button.
  2. Select the images and press Enter (anything that is not an image is ignored).
Select images:
  1. Choose what to adjust. The current value is shown.
Enter image option [Contrast/Fade/Brightness] <Brightness>:
  1. Enter the value, from 0 to 100 (Enter keeps the current one).
Enter … value (0-100) <…>:

Options

Notes

See also

TRANSPARENCY · IMAGECLIP · IMAGEATTACH · Raster images

IMAGECLIP — Image Clip

Shows only part of an image, inside or outside a boundary.

Shows only part of a raster image: what lies inside a rectangular or polygonal boundary or, with the boundary inverted, what lies outside. The image itself does not change: the boundary can be turned off or removed later.

Usage

  1. Enter IMAGECLIP (or ICL) or click the button.
  2. Select the image.
Select image to clip:
  1. Choose the option; Enter creates a new boundary.
Enter image clipping option [ON/OFF/Delete/New boundary] <New>:
  1. Choose the boundary type.
Outside mode - Objects outside boundary will be hidden.
Specify clipping boundary or select invert option: [Select polyline/Polygonal/Rectangular/Invert clip] <Rectangular>:
  1. For a rectangular one, specify two opposite corners.
Specify first corner point:
  1. For a polygonal one, specify the vertices and press Enter (or choose Close) once there are at least three.
Specify next point or [Close/Undo]:

Options

Delete old boundary? [No/Yes] <Yes>:
Inside mode - Objects inside boundary will be hidden.

Notes

See also

IMAGEATTACH · IMAGEADJUST · -IMAGE · Raster images

IMAGEEDIT — Edit image

Edits the pixels of a raster image: invert, threshold, despeckle, rotate, mirror, colour depth and resample.

Edits the pixels of a raster image in the drawing. The edited image is saved to a new PNG file, next to the original (which is not touched), and the drawing image is relinked to that new file.

Usage

  1. Enter IMAGEEDIT (or IED) or click the button.
  2. Select the image.
Select the image to edit:
  1. Choose the operation.
Enter the operation [Invert/Threshold/despecKle/Rotate/Mirror/Depth/reSample] <Invert>:
  1. Depending on the operation, enter the value (threshold, degrees of rotation, axis, depth or resample factor).

Options

Notes

See also

IMAGECROP · IMAGEPERSP · IMAGEPAINT · IMAGEADJUST · Raster images

GEOIMAGE — Insert Georeferenced Image

Inserts an image at its real coordinates, from its world file or its GeoTIFF tags.

Inserts a georeferenced image (an orthophoto, a scanned map) directly at its real coordinates, with its scale and rotation, without specifying any point.

Usage

  1. Enter GEOIMAGE or click the button.
  2. Enter the image path, or press Enter to choose it in a dialog box.
Enter image file name to attach or [Browse] <Browse>:

The image is placed and the command shows where the georeference came from and the image's coordinate system.

Notes

See also

GEOREFIMAGE · GEOGRAPHICLOCATION · IMAGEATTACH · Georeferencing

GEOREFIMAGE — Georeference Image

Moves an image into place with 2 or 3 control points.

Moves an image that is already inserted to its place using two or three control points: for each one, a recognizable point on the image (a corner, a crossing) and the real position it corresponds to in the drawing.

Usage

  1. Enter GEOREFIMAGE or click the button.
  2. Select the image.
Select the image to georeference:
  1. Specify a point on the image.
Specify source point … (on the image):
  1. Specify its real position (with an object snap or by typing its coordinates).
Specify destination point … (real position):
  1. Repeat for the second point. Then specify a third one or press Enter to finish with two.
Specify source point … (on the image) or <finish>:

The image is moved, rotated and scaled, and the applied scale and rotation are shown.

Notes

See also

GEOIMAGE · IMAGEATTACH · ALIGN · Georeferencing

IMAGEPERSP — Correct perspective

Corrects the perspective of an image (IFIX style) with 4 points and generates its world file.

Corrects the perspective of a raster image (IFIX style): with 4 points it straightens a quadrilateral into a rectangle, for example a façade or a plan photographed at an angle. The result is saved to a new PNG file with its world file (.wld), next to the original (which is not touched), and the drawing image is relinked to it.

Usage

  1. Enter IMAGEPERSP (or IFIX) or click the button.
  2. Select the image.
Select the image whose perspective to correct:
  1. Specify the 4 corners of what should become rectangular, in order: lower left, lower right, upper right and upper left.
Specify corner … of 4 (lower left, lower right, upper right, upper left):

Notes

See also

IMAGEEDIT · IMAGECROP · GEOIMAGE · GEOREFIMAGE · Raster images

IMAGEPAINT — Draw on image

Draws and erases strokes on a raster image.

Draws and erases strokes on a raster image, for example to cover a blemish or mark something on a scanned plan. The stroke is burned into the pixels of a new PNG file, next to the original (which is not touched), and the drawing image is relinked to it.

Usage

  1. Enter IMAGEPAINT (or IPIN) or click the button.
  2. Select the image.
Select the image to draw on:
  1. Trace the polyline point by point. Press Enter to burn the stroke and finish.
Specify next point or [Colour/Width/Erase/Undo] or <finish>:

Options

Notes

See also

IMAGEEDIT · IMAGECROP · IMAGEADJUST · Raster images

IMAGECROP — Crop image

Crops (frames) a raster image to a rectangle.

Crops (frames) a raster image to a rectangle. What is left outside is discarded in a new PNG file, next to the original (which is not touched), and the drawing image is relinked to that file.

Usage

  1. Enter IMAGECROP (or IREC) or click the button.
  2. Select the image.
Select the image to crop:
  1. Specify the first corner.
Specify first corner point:
  1. Specify the opposite corner.
Specify opposite corner point:

Notes

See also

IMAGEEDIT · IMAGECLIP · IMAGEPERSP · Raster images

DGNIMPORT — Import DGN V7

Adds geometry and text from a MicroStation DGN V7 file to the current drawing.

Imports a MicroStation DGN V7 file (Intergraph ISFF format) and adds its contents to the current drawing, like AutoCAD's DGNIMPORT. Reads 2D and 3D files without turning them into underlays or leaving the drawing.

Usage

  1. Enter IMPORTARDGN or _DGNIMPORT.
  2. Enter the DGN V7 path or choose it in the file dialog.
Enter the DGN V7 file name:
  1. The command line reports how many entities were added and which element types could not be imported.

What is imported

Other element types are not discarded silently: the summary reports their type and count.

Limitations

See also

PDFIMPORT · IMPORT · INSERT

MAPIMPORT — GIS Import

Imports SHP, KML, KMZ, GeoJSON, GeoPackage or GML with their attributes.

Imports GIS data (SHP, KML, KMZ, GeoJSON, GeoPackage or GML files) as drawing objects, in the drawing's coordinates and with their attributes.

Usage

  1. Enter MAPIMPORT (or SHP2CAD) or click the button. The Import SHP, KML or GeoJSON dialog box opens and, at the same time, the command line asks.
  2. Choose the file with Browse… or enter its path. The number of features and fields is shown.
SHP, KML, KMZ, GeoJSON, GeoPackage or GML file:
  1. Optionally, choose the field whose value gives the layer name of each feature.
Field for the layer (…) or [None] <None>:
  1. Optionally, choose a block of the drawing for the points; otherwise each point is a point object.
Block name for the points <point object>:
  1. In the dialog box, check the File coordinate system and click OK.

Notes

See also

MAPEXPORT · GISTABLE · GISQUERY · MAPBUFFER · GEOGRAPHICLOCATION · Georeferencing

CLASSICINSERT — Insert (classic dialog)

Inserts a block or a drawing with the classic Insert dialog box.

Inserts a block or a drawing with the classic AutoCAD Insert dialog box (CLASSICINSERT), instead of the Blocks palette of INSERT.

Usage

  1. Enter CLASSICINSERT (or DDINSERT). Type or pick the block name, or click Browse… to insert a DWG or DXF file. The file Path is shown below it and the block preview on the right.
  2. Choose the insertion point, the scale (X, Y and Z, or uniform) and the rotation, each one fixed in the dialog box or Specify On-screen, and whether the block is exploded on insertion.
  3. Click OK and specify on screen what you left for later (and the attribute values).

In scripts, SCRIPT and AutoLISP there is no dialog box: it is -INSERT.

Block unit

Shows the insertion unit of the block (the one given in BLOCK or the file's INSUNITS) and the factor that converts it to drawing units (UNITS), like AutoCAD: a block in millimeters in a drawing in meters gives 0.001. The scale typed in the dialog box is multiplied by that factor. If the block or the drawing has no units, the factor is 1.

Notes

See also

INSERT · -INSERT · BLOCK

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 · AutoCAD LT alternative