Utilities and Inquiry (2 of 2)
HYPERLINK — Hyperlink
Attaches a file or a URL to objects of the drawing.
- Command:
HYPERLINK· Global name:_HYPERLINK - Ribbon: Home › Utilities
Attaches a file, a web page, a view of this drawing or an e-mail address to the selected objects, as in AutoCAD, or removes the link they have. The link is stored in each object's PE_URL extended data, so other programs can read it.
Usage
- Enter HYPERLINK or click its button.
- Select the objects and press Enter. The Insert Hyperlink dialog box opens; if the first selected object already has a link, the dialog box starts from it.
- In Link to: choose the target and fill in its boxes (see Options). Text to display: is the description that goes with the link (it can be left empty).
- Below, Link: shows the link as it will be saved. Click OK to attach it to all the selected objects; the command line says to how many.
In scripts, SCRIPT and AutoLISP there is no dialog box: everything is asked on the command line, as in -HYPERLINK.
Options
- File or web page: File or web address: (a path or a
https://…URL; the … button picks a file) and, optionally, Target in file:: a view, layout or bookmark of that file, saved after#. - View of this drawing: choose one of the drawing's saved views in View:; it is saved as
#view. - E-mail address: E-mail address:; it is saved as
mailto:address. - Remove Link: removes the link from the selected objects and closes the dialog box.
Opening a link
With no command running, hovering over an object with a link shows its description (or the address) and "Ctrl+click to follow link"; holding Ctrl turns the cursor into a hand. Ctrl+click opens the link: a #view is restored in this drawing; a DWG or DXF is opened in LinceCAD (relative paths are relative to the drawing folder); a web page, an e-mail or any other file, with the system program. The view after # in another drawing is not restored yet, and the hyperlink base (HYPERLINKBASE) is not used.
Web pages (http, https) and e-mails open directly; any other file or kind of link asks for confirmation in the Open this link? dialog box, with the full target and Cancel as the default, and if it is a program or a script (.exe, .bat, .ps1, .js, javascript:…) it also warns of the danger.
Notes
- OK is only enabled when the target has an address (or a view, in View of this drawing). It is not checked that the target exists.
- An object has one link only: inserting another replaces the previous one. At most 255 characters are saved.
- The change can be undone with UNDO.
See also
-HYPERLINK · DWGPROPS · PROPERTIES · VIEW
ID — ID Point
Displays the coordinates of a point.
- Command:
ID· Global name:_ID - Ribbon: Home › Utilities
- Menu: Tools
Shows the coordinates of a point on the command line. Use it to check where a vertex, a center or any point of the drawing is. The drawing does not change.
Usage
- Enter ID or click its button.
- Specify the point, usually with an object snap (Endpoint, Center, Intersection…).
Specify point:
- The X, Y and Z coordinates appear on the command line and the command ends.
Notes
- Coordinates are written with the format and precision of the drawing (UNITS). Z is always 0.
- The coordinates are those of the drawing's world coordinate system.
- The status bar also shows the coordinates of the cursor while it moves.
- The point becomes the last point (LASTPOINT): at the first prompt of the next command,
@is that point and@5,0is 5 units to its right, as in AutoCAD. ID can be used inside another command ('ID) and keeps the selected objects selected.
See also
DIST · LIST · Coordinates and input · Object snaps and precision
LIMITS — Limits
Sets the drawing limits and their checking.
- Command:
LIMITS· Global name:_LIMITS - Ribbon: Home › Utilities
Sets the model space limits, a rectangle that marks the working area (for instance, the sheet size), and whether drawing outside it is checked.
Usage
- Enter LIMITS.
Reset Model space limits:
- Specify the lower left corner (Enter keeps the current one).
Specify lower left corner or [ON/OFF] <…>:
- Specify the upper right corner.
Specify upper right corner <…>:
Options
- ON: turns limits checking on (LIMCHECK = 1).
- OFF: turns it off (LIMCHECK = 0).
Notes
- The limits are saved in the drawing (variables LIMMIN and LIMMAX). A new drawing has those of acadiso.dwt: from 0,0 to 420,297.
- The upper right corner must be above and to the right of the lower left one.
Invalid limits.
See also
PURGE — Purge
Removes unused items from the drawing: blocks, layers, linetypes, styles…
- Command:
PURGE· Global name:_PURGE· Alias:PU - Ribbon: Manage › Drawing
- Menu: File
Removes from the drawing what is not used: block definitions, layers, linetypes and styles that nothing refers to, plus zero-length geometry and empty text objects. It makes the file lighter and keeps the layer and style lists tidy.
Usage
- Enter PURGE (or PU) or click its button. The Purge dialog box opens with the Purgeable items: list, grouped by type and with the number of items in each group.
- Expand the groups and check what you want to remove.
- Click Purge Checked Items, or Purge All to remove everything in the list. The command line says how many items were purged.
Options
- Show items you cannot purge: Items that other objects still use; they are not purged.
- Purge nested items (checked by default): Also removes what becomes unused when the selected items are removed (for example, layers only used by a purged block).
What can be purged
Blocks, Layers, Linetypes, Text styles, Shapes, Dimension styles, Multileader styles, Table styles, Multiline styles, Plot styles, Registered applications, Zero-length geometry and Empty text objects.
Notes
- An item is only removed if nothing uses it: no object (including those inside blocks), no other table and not the drawing header. Layer 0, the Standard styles and other default items, the current ones and those of external references are never purged.
- Purging is undone with UNDO.
- To purge from the command line or in a script, use -PURGE.
See also
LIST — List
Displays property data for selected objects.
- Command:
LIST· Global name:_LIST· Alias:LI,LS,SHOWMAT - Ribbon: Home › Utilities
- Menu: Tools
Shows the data of the selected objects: type, layer, space, handle and geometry. The listing is written on the command line and the text window (F2) opens so you can read all of it. The drawing does not change.
Usage
- Enter LIST (or LI) or click its button. If objects are already selected, they are listed at once.
- Select the objects and press Enter.
Select objects:
- Read the listing in the text window. Press F2 to close it or open it again.
What is listed
- For every object: type, layer, model or paper space and handle; and the color and linetype when they are not ByLayer.
- Line: start and end points, length, angle and deltas.
- Circle and arc: center, radius, circumference and area, or start and end angles and length.
- Polyline: open or closed, constant width, area, perimeter or length, and every vertex (with the center, radius and angles of the curved segments).
- Ellipse, point, text, multiline text, spline, hatch (pattern and area) and dimension (measurement and text).
- Block reference: name, insertion point, scales, rotation and attributes.
Notes
- Other types (tables, images, solids…) only show the common data.
- Measurements are written with the units of the drawing (UNITS).
See also
PROPERTIES · DIST · AREA · ID
DBLIST — List All
Displays the data of every object in the drawing.
- Command:
DBLIST· Global name:_DBLIST - Ribbon: Home › Utilities
Displays the data of every object in the drawing, one after another, as if all were selected with LIST: type, layer, space, handle and geometry.
Usage
- Enter DBLIST. The list is shown on the command line and in the text window (F2).
Notes
- The objects of model space and of the layouts are listed, in drawing order; those inside blocks are not.
- In a large drawing the list is very long: for a few objects, use LIST.
See also
MEASUREGEOM — Measure
Measures distances, radii and areas.
- Command:
MEASUREGEOM· Global name:_MEASUREGEOM· Alias:MEA - Ribbon: Home › Utilities
- Menu: Tools
Brings the most common measurements together in one command: distance between two points, radius of an arc or circle, angle, area, volume and quick measurement of objects. Each option works like the equivalent command and writes the result on the command line.
Usage
- Enter MEASUREGEOM (or MEA) or click its button.
Enter an option [Distance/Radius/Angle/ARea/Volume/Quick/Mode/eXit] <…>:
- Choose the option. Enter, or specifying a point straight away, starts measuring a distance.
- Follow the prompts of the chosen option. The command ends after the measurement.
Options
- Distance (D): distance, angle and deltas between two points, like DIST.
- Radius (R): select an arc or a circle; shows its radius and diameter.
Select arc or circle:
- ARea (AR): area and perimeter by points or of an object, with the add and subtract modes, like AREA.
- Angle (AN): select an arc (its angle), a circle (pick two points on it), a line and then another (the angle between them, depending on where you pick them) or Vertex (V, Enter): vertex and two endpoints.
Select arc, circle, line, or <Specify vertex>:
- Volume (V): base by points (Enter calculates the area) or Object (a solid, or a closed curve that is given a height) and, for a flat base, the height.
Specify first corner point of the base or [Object] <Object>:
- Quick (Q): select objects and their measurements are shown (length and angle of a line, radius and diameter of an arc or circle, area and perimeter of a closed object) until you press Enter; it also switches to the other options.
Select an object or [Distance/Radius/Angle/ARea/Volume/eXit] <eXit>:
Notes
- Quick does not follow the cursor as in AutoCAD: you click the object. There is no separate QUICKMEASURE command, and AutoCAD 2027 has none either.
- Results are written with the units and precision of the drawing (UNITS).
See also
MASSPROP — Mass Properties
Calculates the mass properties of regions and solids.
- Command:
MASSPROP· Global name:_MASSPROP - Ribbon: Home › Utilities
Calculates the mass properties of the selected regions and 3D solids, with AutoCAD's density of 1, and writes them in the text window (F2).
Usage
- Enter MASSPROP.
Select objects:
- Select regions or solids and press Enter. The report is shown: - regions: Area:, Perimeter:, Bounding box:, Centroid:, Moments of inertia:, Product of inertia:, Radii of gyration: and the principal moments with their directions; - solids: Mass:, Volume:, Bounding box:, Centroid:, Moments of inertia:, Products of inertia:, Radii of gyration: and the principal moments.
- Say whether to save the analysis to a text file (.mpr).
Write analysis to a file? [Yes/No] <N>:
Notes
- Several regions are measured together, as one; holes subtract. Arcs are measured with very fine polygons.
- Solids are measured by their mesh: exact with planar faces, very close with curved ones.
- Moments and products of inertia are about the origin; the principal ones, about the centroid.
See also
AREA · REGION · LIST · MEASUREGEOM
DWGPROPS — Drawing Properties
Title, subject, author, keywords and other properties of the drawing.
- Command:
DWGPROPS· Global name:_DWGPROPS - Ribbon: Home › Utilities
Opens the Drawing Properties dialog box, with the data that describe the drawing, as in AutoCAD.
Usage
- Enter DWGPROPS.
- Choose the tab: - General: file name, location and size. - Summary: Title:, Subject:, Author:, Keywords:, Comments: and Hyperlink base:. - Statistics: creation and modification dates, who saved it and the editing time. - Custom: custom properties, with their name and value (Add, Delete).
- Click OK to keep the changes in the drawing or Cancel to discard them.
Notes
- Summary and Custom are saved in the DWG (SummaryInfo section) and AutoCAD reads them the same; the fields of the Document category (Author, Title…) use them.
- Changes are undone with UNDO.
See also
QSELECT — Quick Select
Selects objects by type and by the value of a property.
- Command:
QSELECT· Global name:_QSELECT - Ribbon: Home › Utilities
- Menu: Tools
Selects the objects that meet a condition on their type and the value of a property: all lines on a layer, circles with a radius greater than 5, texts of a certain height… The selection can then be edited with any command or with the Properties palette.
Usage
- Enter QSELECT or click its button. The Quick Select dialog box opens.
- Fill in the condition:
- Apply to: Entire drawing or, if objects were selected, Current selection.
- Object type: Multiple (all types) or one of the types present, with its number of objects.
- Properties: the general ones (layer, color, linetype…) and, once a type is chosen, its own (length, radius, height…): the same as in the Properties palette.
- Operator: = Equals, <> Not Equal, > Greater than, < Less than, * Wildcard Match or Select All.
- Value: the value to compare with. For the layer it is chosen from a list.
- Under How to apply: choose Include in new selection set or Exclude from new selection set, and check Append to current selection set to add the result to what was already selected. With that box checked the filter applies to the whole drawing and Apply to: stays on Entire drawing, as in AutoCAD.
- Click OK. The objects are selected.
Notes
- Numbers are compared as numbers, in the drawing units; texts, ignoring case. With the wildcard operator,
*(any text) and?(one character) can be used. - The objects of the current space (model or the open layout) are searched.
See also
TIME — Time
Displays the dates and editing time of the drawing.
- Command:
TIME· Global name:_TIME - Ribbon: Home › Utilities
Displays the dates and times of the drawing: the current time, when it was created and last saved, the total editing time and the user elapsed timer.
Usage
- Enter TIME. The report is written on the command line:
Times for this drawing:
- Choose an option or press Enter to finish.
Enter option [Display/ON/OFF/Reset]:
Options
- Display (D): writes the report again with the current time.
- ON / OFF: starts or stops the user elapsed timer (the USRTIMER variable of the drawing).
- Reset (R): resets the timer to zero.
Notes
- The dates are saved in the drawing (TDCREATE and TDUPDATE). The creation date is that of the first save in AutoCAD or LinceCAD; the last update changes when you save.
- The editing time adds the previous sessions and this one.
See also
UNITS — Units
Sets the drawing units and precision.
- Command:
UNITS· Global name:_UNITS· Alias:UN,DDUNITS - Ribbon: Manage › Drawing
- Menu: Format
Sets how the lengths and angles of the drawing are written and the unit used to scale inserted content. The choice is saved in the drawing and used by the command line, the status bar, the Properties palette and the inquiry commands (DIST, AREA, LIST…).
Usage
- Enter UNITS (or UN) or click its button. The Drawing Units dialog box opens.
- Choose the formats. The Sample Output box shows how a coordinate and an angle will look.
- Click OK. The change can be undone with UNDO.
The dialog box
- Length: Type: (Architectural, Decimal, Engineering, Fractional or Scientific) and Precision:, from 0 to 8 decimal places (or the smallest fraction).
- Angle: Type: (Decimal Degrees, Deg/Min/Sec, Grads, Radians or Surveyor's Units), Precision: and the Clockwise check box.
- Insertion scale: Units to scale inserted content: millimeters, meters, inches, feet and the rest of AutoCAD's units, or Unitless.
- Lighting: International (lux), American (foot-candles) or Generic (the LIGHTINGUNITS variable, saved in the drawing). It cannot be changed if the drawing already has lights.
- Base angle direction (degrees): 0 = East, 90 = North, 180 = West, 270 = South.
Notes
- They correspond to the system variables LUNITS, LUPREC, AUNITS, AUPREC, ANGDIR, ANGBASE and INSUNITS, which can also be changed with SETVAR.
- The decimal separator (comma or point) belongs to the application, not to the drawing: choose it in OPTIONS.
- Changing the units does not change the size of anything: only how the numbers are written.
See also
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