Skip to content

Utilities and Inquiry (1 of 2)

-RENAME — Rename (command line)

Renames named objects from the command line.

Changes the name of a named object from the command line, like RENAME without the dialog. Useful in scripts and AutoLISP.

Usage

  1. Enter -RENAME (or -REN).
  2. Choose the object type.
Enter object type to rename

[Block/Dimstyle/LAyer/LType/Material/multileadeRstyle/Style/Tablestyle/Ucs/VIew/VPort]:

  1. Enter the old name and then the new one (they can contain spaces). Enter in either of them ends without changing anything.
Enter old … name:

Notes

With an asterisk in the old name, put another in the new one (AB* to CD*).

See also

RENAME · -LAYER · SCRIPT

-PURGE — Purge (command line)

Purges unused items from the command line.

Command-line version of PURGE: removes the unused items of one type, by name and optionally confirming each one. It is the way to purge from a script (SCRIPT).

Usage

  1. Enter -PURGE (or -PU).
  2. Choose the type of items.
Enter type of unused objects to purge [Blocks/DEtailviewstyles/Dimstyles/Groups/LAyers/LTypes/MAterials/MUltileaderstyles/Plotstyles/SHapes/textSTyles/Mlinestyles/SEctionviewstyles/Tablestyles/Visualstyles/Regapps/Zero-length geometry/Empty text objects/Orphaned data/All]:
  1. Enter the names you want to purge. The wildcards * (any text) and ? (one character) and several patterns separated by commas are accepted; Enter purges all items of the type.
Enter name(s) to purge <*>:
  1. Say whether you want to confirm each item. With Yes, the program asks about each one; with No, it removes them all.
Verify each name to be purged? [Yes/No] <Y>:
Purge … "…"? <N>

Options

OptionType
Blocks (B)Blocks
LAyers (LA)Layers
LTypes (LT)Linetypes
textSTyles (ST)Text styles
SHapes (SH)Shapes
Dimstyles (D)Dimension styles
MUltileaderstyles (MU)Multileader styles
Tablestyles (T)Table styles
Mlinestyles (M)Multiline styles
Plotstyles (P)Plot styles
Regapps (R)Registered applications
Zero-length (Z)Zero-length geometry
Empty (E)Empty text objects
All (A)All named types

Notes

See also

PURGE · SCRIPT · -OVERKILL

-UNITS — Units (command line)

Sets the format of lengths and angles from the command line.

Sets the format and precision of lengths and angles from the command line, like UNITS without the dialog.

Usage

  1. Answer the six questions; Enter keeps the proposed value.
Enter choice, 1 to 5 <…>:
Enter number of digits to right of decimal point (0 to 8) <…>:
Enter number of fractional places for display of angles (0 to 8) <…>:
Enter direction for angle … <…>:
Measure angles clockwise? [Yes/No] <…>

Notes

See also

UNITS

AREA — Area

Calculates area and perimeter.

Calculates the area and perimeter of a boundary defined by points or of a closed object. With the Add area and Subtract area modes it keeps a running total, for example to subtract openings from a surface. The drawing does not change.

Usage

  1. Enter AREA (or AA) or click its button.
Specify first corner point or [Object/Add area/Subtract area] <Object>:
  1. To measure by points, specify the corners of the boundary one after another. The figure closes by itself: there is no need to go back to the first point.
Specify next point or [Arc/Length/Undo]:
Specify next point or [Arc/Length/Undo/Total] <Total>:
  1. Press Enter (or type T) to calculate. The command line shows the area and the perimeter.
  2. To measure an object, press Enter at the first prompt (or type O) and select the object with a click or with Last (the last one drawn), as in AutoCAD; other text says "Invalid selection".
Select objects:

Options

Specify first corner point or [Object/Subtract area]:
(ADD mode) Select objects:
Specify first corner point or [Object/Add area]:
(SUBTRACT mode) Select objects:

In add and subtract modes, Enter at the object prompt goes back to the mode prompt; Enter at the mode prompt ends the command and shows the total.

Notes

See also

MEASUREGEOM · DIST · LIST · HATCH · BOUNDARY

CAL — Calculator

Evaluates a mathematical expression.

Evaluates a mathematical expression typed on the command line and shows the result. It does not change the drawing.

Use

  1. Type CAL or click its button.
  2. Type the expression and press Enter.
>> Expression:
  1. The result appears on the command line with the drawing format (UNITS).

Expressions

Points and vectors

Notes

See also

DIST · AREA · ID · UNITS

RENAME — Rename

Changes the name of layers, blocks, styles and other named objects.

Changes the name of blocks, dimension styles, layers, linetypes, multileader, text, table and multiline styles, UCSs, views, viewport configurations and layouts. Everything that refers to them is updated: the inserts of a block, the entities of a layer or a style, the layers of a linetype and the current values of the drawing.

Usage

  1. Enter RENAME (or REN).
  2. In the Rename dialog, choose the type on the left and the item on the right (or type its name in Old name).
  3. Type the new name next to Rename to and click that button. You can rename several in a row; OK closes the dialog.

Notes

See also

-RENAME · LAYER · STYLE · DIMSTYLE · LAYOUT

COMPARE — Compare drawings

Compares the drawing with another DWG or DXF and highlights the differences.

Compares the open drawing with another DWG or DXF (for example, two revisions of the same sheet) and highlights the differences in model space.

Usage

  1. Type COMPARA or click Compare drawings.
  2. Enter the file to compare with (or press Enter to pick it in the browser).
Enter name of drawing to compare <.>:
  1. The current drawing is marked and a change summary is shown on the command line.
Markup: green = added, red = deleted, yellow = modified (UNDO to remove it).

How it matches

Notes

Differences from AutoCAD

See also

AUDIT · UNDO

QUICKCALC — QuickCalc

Opens the calculator palette (QuickCalc).

Opens the calculator palette (QuickCalc): a floating window to evaluate expressions without leaving the drawing.

Use

  1. Type QUICKCALC (or QC) or click its button.
  2. Type an expression and press Enter or the = button.
  3. The result appears below the expression. The "To command line" button sends it: - if a command is running and asks for a value (a distance, a number), that command receives it; - otherwise it is left on the command line.
  4. The history remembers the last expressions; click one to reuse it. The numeric keypad enters digits, operators, parentheses and decimals, and includes backspace, clear and = evaluation.

Expressions

The same as CAL: + - * / ^, parentheses, constants (pi, e) and functions (sin, cos, tang, sqrt, ln, log, abs…), with angles in degrees.

Variables, units and scientific functions

See also

CAL · DIST · UNITS

SELECT — Select

Selects objects and keeps them selected for the next command.

Selects objects and stores them as the previous selection, without leaving them selected. In the next command, answer Previous at "Select objects" to use them. It is the AutoCAD SELECT used by many scripts and AutoLISP routines.

Usage

  1. Enter SELECT (or DESIGNA).
Select objects:
  1. Select the objects (click, window, crossing or any of the selection options: Window, Fence, WPolygon, Previous...) and press Enter.
  2. Start the command that will use them (ERASE, MOVE, COPY…) and, when it asks "Select objects", answer Previous.

Notes

See also

QSELECT · SELECTSIMILAR · AI_SELALL · Selecting objects

DIST — Distance

Measures the distance and angle between two points.

Measures the distance between two points and writes it on the command line, together with the angle of the line that joins them in the XY plane and the X, Y and Z deltas. The drawing does not change.

Usage

  1. Enter DIST (or DI) or click its button.
  2. Specify the first point with a click, an object snap or by typing its coordinates.
Specify first point:
  1. Specify the second point. While you move the cursor, the line being measured is shown.
Specify second point or [Multiple points]:
  1. The result appears on the command line and the command ends.

Options

Specify next point or [Arc/Length/Undo/Total] <Total>:

Notes

See also

MEASUREGEOM · AREA · ID · LIST · UNITS

STATUS — Status

Displays the drawing status: limits, extents and current settings.

Displays the drawing status in the text window (F2): how many objects it has, its limits, the area used by the model, the insertion base, the snap and grid spacing, the current layer, color and linetype, the elevation, the status bar modes and the running object snaps.

Usage

  1. Enter STATUS. The report is shown on the command line and in the text window.

Notes

See also

LIMITS · TIME · DBLIST · SETVAR

PTYPE — Point Style

Sets how points are displayed and their size.

Chooses how point objects are drawn (the symbol) and their size. The change affects all the points in the drawing, including those created by DIVIDE and MEASURE.

Usage

  1. Enter PTYPE (or DDPTYPE) or click Point Style. The Point Style dialog box opens.
  2. Click one of the 20 symbols.
  3. Enter the Point Size and whether it is measured as a percentage of the screen size or in drawing units.
  4. Click OK. Cancel leaves the style as it was.

On the command line (for example, in a script) you can type the values of the variables:

Enter new value for PDMODE <…>:
Enter new value for PDSIZE <…>:

Notes

See also

POINT · DIVIDE · MEASURE · System variables

FILTER — Filter

Selects with a filter of types and properties.

Selects the objects that match a filter: a list of conditions on the object type and its properties (layer, color, linetype, lineweight, length, radius, text height…), which can be grouped with AND, OR, XOR and NOT. It is AutoCAD's Object Selection Filters dialog.

Usage

  1. Enter FILTER (or FI). If objects are selected, the filter applies to them; otherwise, to the whole current space.
  2. Choose an object type or, with “(property)”, a property, an operator and a value, and click Add to List. Each condition is added below the selected one.
  3. To combine conditions, enclose them in Begin OR … End OR (or AND, XOR, NOT).
  4. Click Apply: what matches the filter is selected. If a command is asking for objects, it receives them.

Conditions

Named filters

Enter a name and click Save As: the filter is stored in the filtros.nfl file of the LinceCAD configuration folder and works in any drawing. Choose it in the list to load it; Delete Current Filter List removes it.

Notes

See also

QSELECT · SELECTSIMILAR · Selecting objects

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 · Linux CAD with native DWG