Batch insert (spreadsheet to drawing)

Plans: Free CAD Tools · partial Geo Tools · partial Urban Highways Aero On the plans marked partial only part of the commands on this page are available. Compare plans
Command: CAPCAD_BATCH_BLOCK_GRID, CAPCAD_BATCH_DEVICE, CAPCAD_BATCH_SIGN, CAPCAD_BATCH_BLOCK, CAPCAD_BATCH_MARKING Updated 2026-11-19 Also in: Español Português
Ask about this page
Answers from this page only. General assistant
Commands CAPCAD_BATCH_BLOCK_GRID (blocks by coordinate) · CAPCAD_BATCH_DEVICE (road items along an alignment) · CAPCAD_BATCH_SIGN (traffic signs) · CAPCAD_BATCH_MARKING (marking lines) · CAPCAD_BATCH_BLOCK (a whole folder onto a grid)
Shortcuts none. There is no alias in CapCad's acad.pgp for any of the five
Ribbon CapCad tab › CAD Utilities panel › Tools split button › Block Batch Insert (CAPCAD_BATCH_BLOCK_GRID); Roadway panel › Library split button › Alignment Item Batch Insert (CAPCAD_BATCH_DEVICE); Road Signing panel › Signs split button › Sign Batch Insert (CAPCAD_BATCH_SIGN); Traffic Control panel › Markings split button › Road Lines Batch Insert (CAPCAD_BATCH_MARKING). CAPCAD_BATCH_BLOCK has no button
Category NEW (CAPCAD_BATCH_BLOCK_GRID, CAPCAD_BATCH_BLOCK) · Horizontal: tools (CAPCAD_BATCH_DEVICE, CAPCAD_BATCH_MARKING) · Vertical (CAPCAD_BATCH_SIGN)
Forms BatchBlockInsertForm — Block Batch Insert · BatchAlignmentItemsForm — Linear Item Batch Insert · VerticalBatchForm — Signage Batch Insert · BatchHorizontalForm — Horizontal Batch Insert · BlocksUtilitiesForm — Blocks Utilities, Insert tab. All modeless
Hosts AutoCAD, BricsCAD, GstarCAD, ZWCAD and ARES Commander
Also opened by the Options/Utils tab of the Road Library, whose Block batch insert and Block batch alignment insert buttons run CAPCAD_BATCH_BLOCK_GRID and CAPCAD_BATCH_DEVICE; and CAPCAD_BLOCK_TOOLS, which opens the same form as CAPCAD_BATCH_BLOCK on the Export tab

A survey becomes a drawing without a single insertion click. The spreadsheet that came from the GPS, the asset register or the field report is pasted into the form, each column is given a role, and CapCad inserts one entity per row, in the right place, at the right rotation, with the attributes already filled in.

  • The spreadsheet is the source. Paste straight out of Excel; the columns become A, B, C… and you say which is which, in the fields or in the selector above each column.
  • Three input geometries. Projected coordinates, latitude/longitude converted by the project's coordinate system, or station + offset measured along an alignment.
  • Attributes filled at insertion. A tag → column table writes each cell's value into the block's matching attribute; dynamic blocks get properties too.
  • Rehearse before you insert. The test-points button draws only the points, on the check layer, and offers to zoom to them: that is how you find a swapped LAT/LON before scattering hundreds of blocks.
  • A row-by-row report, and one undo. Each row comes out as OK or FAIL with its original text, the whole run is one undo step, and on AutoCAD a Reset link erases the last run.
  • Signs read by AI. For traffic signs, an AI reads the customer's own spreadsheet and says which column is the code, the station, the side and the post, before anything is inserted.

What it does

There are five batch-insert commands, each with its own form.

Command What it inserts Where
CAPCAD_BATCH_BLOCK_GRID one block per row, resolved by the project's library the row's point (X/Y or Lat/Lon)
CAPCAD_BATCH_DEVICE one block or image per row a station along an alignment, or coordinates, with an offset from the alignment
CAPCAD_BATCH_SIGN one traffic sign per row, with its post the active alignment (linear chainage) or coordinates
CAPCAD_BATCH_MARKING one marking line per row the stretch of the alignment between two stations or two points
CAPCAD_BATCH_BLOCK every file in a folder, one per file a regular grid from the drawing origin

The first four share a model: one spreadsheet row is one entity, and one column is one role. You point at the column that carries the block name, at the X, at the Y, at the station, at the angle, and at those that feed attributes. What you do not point at is simply not used.

CAPCAD_BATCH_BLOCK is different: there is no spreadsheet. It sweeps a folder and lays out what it finds on a grid, so you can look at a whole library at once.

Where the blocks come from

CAPCAD_BATCH_BLOCK_GRID and CAPCAD_BATCH_DEVICE resolve the block name through the same loader the Road Library uses, in this order: a definition already in the drawing → the Support/Dwg folder installed with CapCad → the project's pavement-inscription folder (and its viario sub-folder) → the project's library folder (and its viario sub-folder) → every sub-folder of the pavement-inscription folder, except those whose name starts with _ → the immediate sub-folders of the library. The .dwg found is imported as a block definition, with the units locked to metres. CAPCAD_BATCH_DEVICE also accepts a full file path in the cell, for a .dwg or an image.

CAPCAD_BATCH_SIGN does not use that loader: every row goes through the same sign insertion as Insert Vertical, which resolves the sign code, assembles the post and applies the action.

Workflow

  1. Build the spreadsheet with one row per entity and one column per piece of information. Leave the header out: every row is treated as data.
  2. Run the command and paste the spreadsheet into the form (the paste button, or Ctrl+V in the grid).
  3. Point at the columns: the block (or a fixed name), the X and the Y, or the station, the offset and the side.
  4. Build the attribute table, one row per block tag.
  5. Click Test points and check in the drawing where the points landed. Swapped coordinates show up here.
  6. Click Insert. At the end, read the report: each row appears as OK or FAIL, with its original text beside it.
  7. Not what you wanted? Ctrl+Z undoes the whole run, or, on AutoCAD, the orange Reset link erases what the last run drew.

How the columns are read

The grid's columns are lettered A, B, C… as in Excel, and the role fields hold the letter. Above each grid column there is a role selector, and the column header shows the roles it carries: choosing a role there is the same as choosing the letter in the field at the side, and vice versa.

  • On the CAPCAD_BATCH_BLOCK_GRID, CAPCAD_BATCH_DEVICE and CAPCAD_BATCH_SIGN forms only the first character of a role field counts: AA is read as column A, and SIMPLES as column S.
  • The CAPCAD_BATCH_MARKING form reads the full letter (AA is the 27th column).
  • Numbers are read with a dot or a comma decimal separator; anything else is worth zero.
  • A row with no tab is ignored. Pasting a single column inserts nothing.

CAPCAD_BATCH_BLOCK_GRID — blocks by coordinate

Block Batch Insert

The grid opens empty with four columns; pasting creates whatever is missing.

Data

# Control What it does
1 paste form clipboard Replaces every row of the grid with the clipboard's contents (cells separated by tabs, rows by line breaks). It says how many rows came in and keeps the spreadsheet for the next session. Ctrl+V inside the grid does the same, but appends instead of replacing.
2 video icon Opens the command's video. In an interface other than Portuguese the video is not available in this version.
9 data grid The spreadsheet. Columns are A, B, C… and can be typed by hand. Only rows with at least one filled cell are considered.

The Block frame

# Control What it does
3 Column The block name comes from the column chosen in 4, row by row.
4 block column The letter of the column holding the block name.
5 Fixed The same block for every row, typed in 6.
6 fixed block name The name used when 5 is ticked.
7 Point Not available in this version. Selecting it clears 3 and 5, but the insertion still reads the block name from the column in 4.
8 Folder... Opens the project's library folder in Explorer, so you can check whether the .dwg you are after is there.

The Insertion and Coords frames

# Control What it does
10 Long / X The longitude column (or the X). The label changes with 12/13.
11 Lat / Y The latitude column (or the Y).
12 LAT, LON Both columns are geographic and go through the project coordinate system's converter. With no coordinate system set, the run stops with a "coordinate system not found, needed for this option" message.
13 E, N The columns are already in the drawing's system and go in as they are.

The Current coord sys: label shows the project's coordinate system, read when the form opened. In LAT, LON mode the two labels read Lat and Long; in E, N mode they read Y and X.

Angle, scale and running

# Control What it does
14 Angle The column carrying each block's rotation. The cell value goes raw into the rotation, in radians: see the notes. Empty: rotation zero.
15 Scale The column carrying each block's scale, applied in X, Y and Z. A cell worth zero becomes 1 and, at the end of the run, a warning appears that there were invalid scale values.
16 Insert items Runs. The form hides, a progress bar follows the rows, and at the end the Block insert report: appears with one OK or FAIL line per row. A block the library cannot find opens a three-way question: Continue (records the row as FAIL and goes on), Cancel (ends the run there) and Folders… (opens the project's library folder in Explorer and ends).
18 Test points Inserts no blocks: it resolves every row's point, draws a POINT at each on the layer catalogue's test-point layer, sets PDMODE to 3 and asks whether you want to zoom to them. With no point resolved, it says the points could not be defined.
19 Include polyline Only applies in test-point mode: as well as the points, it draws a polyline joining them in row order. Useful for seeing whether the spreadsheet is out of order.
20 Save each time Saves the drawing after every block inserted. A drawing that has never been named is never saved this way, and a row whose block was not found does not trigger a save.

Attributes

# Control What it does
17 Block attributes (if present): One row per attribute: the Attribute and the Column letter that feeds it. A column can feed an attribute and be the X or the Y at the same time: that is what the label sample does.
23 Block dynamic attributes (if present): The same for dynamic block properties: the property name and the column. Read-only properties are skipped.

A column with more than one role shows <varies> in its selector. The main roles (X, Y, Block, Angle, Scale) are exclusive: giving a column a role that already belonged to another takes the role off the previous one.

Samples

# Control What it does
21 Sample fixed block Loads a benchmark spreadsheet (index, N, E, level, name), ticks Fixed with block BM, points X = C and Y = B in E, N mode and builds the attributes COTA = D and BM = E.
22 Sample dynamic att Loads a barrier-terminal spreadsheet, ticks Column with the block in C, points Lat = A and Lon = B in LAT, LON mode, the attribute DEF_TRAMO = E and the dynamic property Terminal = D.
24 Sample label Loads a notable-points spreadsheet, ticks Fixed with block INFO, points Lat = A and Lon = B in E, N mode and feeds INFO_ITEM = C, INFO_LAT = A and INFO_LON = B.

All three samples replace the grid's contents and both attribute tables. Load them in a scratch drawing.

CAPCAD_BATCH_DEVICE — road items along an alignment

Places one block, or one image, per row, either at a station along an alignment or at a coordinate, with an offset from the alignment and the block turned to it. The form is modeless: it hides while it works and comes back at the end.

Linear Item Batch Insert

The grid opens with the spreadsheet of the last run, when there is one.

Data

# Control What it does
1 paste Replaces the grid with the clipboard's contents and says how many rows came in.
2 Presets Benchmarks opens a sample drawing with an alignment and fills the form with a benchmark spreadsheet (fixed block BM, attributes COTA and BM).
3, 4 Tab, CSV How pasted text is split into cells: by tab (the default, what Excel copies) or by comma.
12 data grid The spreadsheet, columns A, B, C…

The Insertion frame

# Control What it does
5 Coordinates Each row's point comes from columns 6 and 7.
6 Long / X The longitude column, or the X.
7 Lat / Y The latitude column, or the Y.
8 LAT, LON The columns are geographic and go through the project's coordinate system. With no coordinate system set, the run stops with a message.
9 E, N The columns are already in the drawing's system.
10 Linear extension Each row's point is the station in column 11, read along the alignment's chainage (station equations and kilometre posts included).
11 station column The column with each row's station.

The alignment

The rows are placed against the project's active alignment, taken when the form opens. Select alignment (29) hides the form and asks you to select the lines, arcs and polylines to use instead; an empty selection keeps the previous one. The samples load the sample alignment when the project has none.

The Block frame

# Control What it does
15 Column The block name comes from the column chosen in 16, row by row.
16 block column The letter of that column.
17 ? Explains how names are read: a full path with its extension, or a plain name found in the folders registered in the project. .dwg files and images are accepted.
18 Fixed The same block for every row, typed in 19.
19 fixed block name The name used when 18 is ticked.
20 Point Not available in this version: the block name is read from the column in 16.
21 Folder... Explains where blocks can come from and opens the project's library folder in Explorer.

Before inserting anything, the command checks every row's name: a full path that exists, a definition in the drawing, or a file in the library. One name that cannot be found stops the whole run with a message naming it; images given by full path pass.

The Alignment offset frame

# Control What it does
22 Detect entities The offset is measured from the alignment out to the entities drawn beside it at that point.
23 Keep point and use alignment rotation angle The item stays on the row's own point and only takes the angle of the alignment's tangent there.
24 Column The offset comes from the column chosen in 25, in metres.
25 offset column The letter of that column. Choosing a letter ticks 24.
26 Fixed The same offset for every row, typed in 27.
27 fixed offset Typing a value ticks 26.
28 If point in alignment not found, use given point In coordinate mode, a point with no alignment within reach is inserted where it is, with no offset, and the report says so (Point in alignment not found, initial point was used). Unticked, such a row is a FAIL (Point in alignment could not be found).
33 Alignment side The column with the side. Accepted values: LE (left), LD (right), CRESCENTE (increasing direction) and DECRESCENTE (decreasing direction). In coordinate mode, a row with no side gets it from the side of the alignment its point falls on.
34 ? Explains the side rules.

In coordinate mode, unless Keep point is ticked, the point is first carried onto the alignment and the offset is then applied to its side. The item is turned to the alignment.

Running

# Control What it does
13 Test points Inserts nothing: resolves every row's point, draws a POINT at each on the test-point layer, sets PDMODE to 3 and asks whether to zoom to them.
30 Include polyline In test-point mode, also draws a polyline joining the points in row order.
14 Insert items Runs, with a progress bar that has Cancel. At the end a Report: window lists one line per row: number, OK, FAIL, OK (IMAGE) or FAIL (IMAGE), the original row and the reason.
37 Scale image The size of the images inserted. Default 10; zero is read as 10. Blocks are always inserted at scale 1.
41 Save each time Saves the drawing after every item inserted (never a drawing that has not been named yet).

Attributes

# Control What it does
35 Block attributes (if present): One row per attribute: the Attribute and the Column that feeds it.
31, 38 Add, Del Add asks for the spreadsheet column and then the attribute name; Del removes the selected row.
36 Block dynamic attributes (if present): The same for dynamic block properties.
32, 39 Add, Del The same, for the dynamic table.

Learn

# Control What it does
40 Learn Opens and closes a strip with six samples and the tutorial link. Each sample loads a spreadsheet and sets the options it shows, highlighted in blue: by station with the offset detected (1a) or fixed (1b), by coordinates with the offset from a column (2a), detected (2b) or keeping the point with images and blocks (2c), and against a selected alignment (3), which offers to draw the sample alignment in a new drawing.

If the previous run did not finish, the form opens by showing that run's report.

CAPCAD_BATCH_SIGN — signs in batch

Signage Batch Insert

The role selectors above the grid carry no number.

Data

# Control What it does
1 From clipboard Replaces the grid with the clipboard's contents, says how many rows came in and keeps the spreadsheet for the next session.
37 Read a sign spreadsheet or text (AI) Opens a window where you open an Excel sheet (any tab) or paste rows. An AI says which column plays each role (code, station, side, coordinates, action, post, extra, area…), translates the spreadsheet's own words for side, action and post into the ones the batch accepts, and maps columns to sign attributes. You review it all (one selector per role, the word for each value, the attribute columns, the AI's notes, uncertain rows highlighted) and Load writes a compact table into the grid and sets the roles, the options and the attribute rows. Only the first 14 rows and each column's distinct values are sent to the AI.
6 To Excel Opens the grid's spreadsheet in Excel, with no header.
14 data grid The spreadsheet, columns A, B, C…, with a role selector above each column. The line under the grid counts the rows and columns.

The Method frame

# Control What it does
3 Alignment The signs are placed against the project's active alignment: each sign goes to the foot of the perpendicular from its point, takes the alignment's angle there, its side from the side the point falls on (or from the side column), and its station and coordinates from that foot. With no alignment set, the run stops saying so.
4 Insert sign if no alignment found A row whose point has no alignment within reach is inserted where it is, as a standalone sign, instead of failing.
5 Loose The signs rest on no alignment: each one sits on its own point, with no offset. Ticking it forces Coordinates (7), disables the station column, the side and the offset frame, and enables the angle (15).

The Insertion frame

# Control What it does
7 Coordinates Each sign's point comes from columns 8 and 9. A point of 0, 0, or a latitude/longitude that cannot be converted, makes the row fail.
8 Lat / Y The latitude column (or the Y). Default: B.
9 Long / X The longitude column (or the X). Default: C.
10 LAT, LON The columns are geographic and go through the project's coordinate system.
11 E, N The columns are already in the drawing's system.
12 Alignment chainage The point comes from column 13, read along the active alignment's chainage, with station equations and kilometre posts applied. It is the only mode in which the side column (16) is read.
13 chainage column The column with the chainage. Default: B.

The Lat/Long and Y/X labels swap name and position with 10 and 11.

Content columns

# Control What it does
2 Sign The column with the sign code. Default: A. A cell containing a comma is read as code, set.
15 Angle single The rotation, in degrees, of loose signs: a column letter or one of the fixed values 0 and 90. Not used in the Alignment method. 90° is subtracted from the value: see the notes.
16 Side <detect> (the default) or a column letter. With <detect> the side comes from the geometry, whatever the cell says. With a column, a cell LE, or starting with E, L, I or DECR, is the left side; LD, or starting with D, R or CRES, is the right. Read only with Alignment + Alignment chainage. On a profile that drives on the left, the side is mirrored.
17 Action The sign's action: a column letter, or one of the words in the list (Keep, New, Remove) as a default for every row. A cell starting with I or N is new, with M, K or E is keep, with R is remove; empty is new. See the trap in the notes.
18 Extra The column with the sign's extra text (the variable legend).
19 Area The column with the sign's area. For a conventional sign of the profile's catalogue the value is written in the catalogue's format; a sign that is not conventional ignores it; an empty cell clears the sign's area and dimension attributes.
38, 39 ? Explain the accepted side values and action values.

The Support (post) frame

# Control What it does
24 Appearance The column with the post's appearance. A cell starting with SI or equal to 1 is a single post; with D or 2, double; with T or 3, triple; a state name of the post block (for example COLUNA SIMPLES) is used as written, and Sem inserts no post. A cell naming a block of the library (a gantry, for instance) also inserts that block, square to the alignment, or on the row's point for a loose sign.
40 ? Lists the accepted appearance values.
25 Code The column with the post's code, written into the post.
26 Action The column with the post's action. It moves the post to the layer of that action, and is written into the post when the project is set to fill the post action.

The Offset from the alignment frame

Used only in the Alignment method.

# Control What it does
30 Detect entities The offset is measured from the foot on the alignment out to the first entities drawn beside it (9 when none is found).
31 Keep the point using the alignment's angle The default. The sign stays on the row's own point and only takes the alignment's angle.
32 Column The offset comes from the column chosen in 33, in metres.
33 offset column Default: X.
34 Fixed The offset is the value typed in 35, the same for every row.
35 fixed offset value Default 9.

Attributes and running

# Control What it does
29 Sign attributes The Attribute → Column list: each row writes that column's cell into the sign's attribute of that name.
27 Add Asks for the Excel column and then for the attribute name, in that order, and adds the row.
28 Del Removes the selected row.
41 ? Explains the attribute list with an example.
20 Check & Insert Signs Runs. The form hides, a progress bar with Cancel follows the rows, each row becomes a sign (with its post), and at the end a report window opens with one line per record: LINE, STATUS (OK/FAIL), INFO, ID SIGN, ID POST and the original row. Clicking an ID SIGN or ID POST cell zooms to that entity and selects it.
22 Check before inserting (recommended) Changes button 20's caption between Check & Insert Signs and Insert Signs. Ticked, a check runs first: for every row it finds the sign file, checks the post value against the accepted list, measures the sign's area from its file, shows the path and warns when the same code sits in more than one folder. Answering No ends the command before anything is inserted.
23 Include and validate dxf's A sign code found only as a .dxf file is validated and saved as .dwg before it is inserted.
21 Test points Only resolves the points and draws a POINT at each, on the test-point layer, then offers to zoom to them. It works without an alignment when the points come from coordinates. It changes the point style to a cross only when points would otherwise be invisible.
36 Samples Opens and closes a strip with five samples (sample coords, sample km/offset, sample no alignment, sample km R-19s and sample MQs/atribs) and the tutorial link.

CAPCAD_BATCH_MARKING — marking lines in batch

Draws one marking line per row: the stretch of the project's alignment between two stations or two points, offset when the row asks, on the layer of the row's marking code and action. The command needs an alignment in the project: without one it says the alignments are not valid and does not open.

Horizontal Batch Insert

The grid's headers show the role of each column, for example "A — Line".

Data

# Control What it does
5 data grid The spreadsheet, columns A to F at least. The counter under it says how many rows it holds.
21 Paste from clipboard Replaces the grid with the clipboard's contents.
22 Km example Loads a sample spreadsheet by station, set out for the active country profile, and points the columns at it.
23 Coordinates example The same with latitude and longitude.
24 video icon Opens the tutorial video. In an interface other than Portuguese the video is not available in this version.

The System frame

# Control What it does
1 Km (in metres) Each row's two ends are stations on the alignment, in metres (columns 8 and 9).
2 Coordinate Each row's two ends are coordinate pairs (columns 10 to 13). A row with any coordinate at zero is skipped.
3 LAT, LON The coordinates are geographic and go through the project's coordinate system; with no system set, the run stops with a message.
4 E, N The coordinates are already in the drawing's system.

The Current coordinate system: line shows the project's coordinate system.

The Insertion — columns frame

# Control What it does
6 Line The column with the marking code, which names the layer the line goes to.
7 Offset The column with the offset from the alignment: positive, negative, or 0 for none, as the hint below says.
8, 9 Km start, Km end The stations of the two ends. Enabled in Km mode.
10, 11 Lat start, Long start The first end's coordinates (Y start, X start in E, N mode).
12, 13 Lat end, Long end The second end's coordinates.
14 Action A column letter, or one of the words Implantar (new), Manter (keep), Remover (remove) and Revitalizar (refresh) as the action of every row. The action is added to the layer name; new adds nothing.
15 ? Explains how actions mark the layers.

A column letter beyond what a row holds stops the whole run with a message.

The Drawing frame

# Control What it does
16 Line width The constant width every line is drawn with.
17 LFO-3 as 3 lines A row with the LFO-3 code draws its two parallel lines (and, when the layer has a stud cadence, the central stud line) instead of one line.
18 Double-line distance The distance from the centre to each parallel of those rows. Default 0.3.
19 Alignment's increasing direction Orders each row's two ends the way the alignment runs before drawing.
20 CONTRAN layers Opens the marking-layer composer, to see and create the valid marking layers.

Running

# Control What it does
25 Review points Draws nothing but the two ends of every usable row, as POINTs on the test-point layer, and offers to zoom to them.
26 Insert lines Draws the lines, with a progress bar that has Cancel. The line under the grid reports how many lines were drawn and how many failed. Rows that could not be drawn (a station off the alignment, a coordinate that could not be converted) are listed in an Errors found: window, with the line, the reason and the row's content.

The whole run is one undo step. If the previous run did not finish, the form opens by showing that run's report.

CAPCAD_BATCH_BLOCK — a whole folder onto a grid

Opens the Blocks Utilities form already on the Insert tab. It is the same form as CAPCAD_BLOCK_TOOLS, which opens it on the Export tab; the other tabs belong to those other commands and are covered in Blocks, attributes and relative placement.

Blocks Utilities, Insert tab

The "Insert" tab: no spreadsheet and no insertion point, just the folder and the grid pitch.

# Control What it does
1 X spacing Distance between one item and the next, horizontally. Default 4. Zero or negative stops with an invalid-data message.
2 Y spacing Distance between one grid row and the next. Default 4.
3 X distance to break line The grid's width: once that X is reached, the command goes back to the start and drops one Y spacing. Default 30.
4 Path The folder to sweep. First level only: sub-folders are not visited. An empty or non-existent path asks for a valid one.
5 Add text below On by default: writes the file name under each item, in text of a fixed height of 0.15 (not editable).
6 Ok Runs and says how many files came in.
7 Dwg Inserts only the .dwg files, each one as a block definition of the same name. The default.
8 Png Attaches only the .png files, as raster images forced square at 0.9 × the X spacing.
9 Both Does both in the same sweep.

The grid starts at the drawing origin (0,0) and grows to the right and downwards. There is no insertion point: run it in a scratch drawing, or move the result afterwards.

Remembered between sessions

  • CAPCAD_BATCH_BLOCK_GRID stores the block, latitude and longitude columns, the LAT/LON × E,N choice and both attribute tables, as well as the radio buttons of the Block, Insertion and Coords frames. The last spreadsheet comes back on the next open.
  • CAPCAD_BATCH_DEVICE stores the block, coordinate, station and side columns, the station × coordinates choice and, when you insert, the LAT/LON × E,N choice, the offset option, both attribute tables and the Block and Alignment offset frames. The last spreadsheet comes back on the next open.
  • CAPCAD_BATCH_SIGN stores every role column (including the post columns), the radio buttons and checkboxes, the attribute table and the km × coordinates choice, and brings back the last spreadsheet. The preferences are written when you insert and when you close the form, not when you test points.
  • CAPCAD_BATCH_MARKING stores every role column, the action, the km × coordinates and LAT/LON × E,N choices, the line width, the double-line distance and the two drawing boxes, and brings back the last spreadsheet.
  • CAPCAD_BATCH_BLOCK stores nothing.

Notes

  • CAPCAD_BATCH_BLOCK_GRID's angle is in radians. The cell value goes raw into the block's rotation, with no conversion from degrees. A spreadsheet holding 90 turns the block 90 radians (≈ 5157°). For 90° write 1.5708. A non-numeric cell in that column aborts the whole run with a format error.
  • The point and the block name carry over between rows. In CAPCAD_BATCH_BLOCK_GRID, a row whose X and Y cells are zero (or are not numbers) reuses the previous row's point, and a row with no block name reuses the previous name. The result is a block on top of the previous one, counted as OK. Check the spreadsheet with Test points before inserting.
  • A zero in either coordinate is enough. The carry-over test requires X and Y to be non-zero, so a legitimate point with X = 0 or Y = 0 cannot be expressed in CAPCAD_BATCH_BLOCK_GRID; CAPCAD_BATCH_DEVICE and CAPCAD_BATCH_SIGN skip or fail such a row.
  • An empty role field means column A. In CAPCAD_BATCH_BLOCK_GRID and CAPCAD_BATCH_DEVICE, leaving the block, X or Y fields empty does not switch the role off: they fall to column A. In CAPCAD_BATCH_BLOCK_GRID only Angle and Scale accept empty as "no column".
  • Coordinate columns beyond the row stop everything. In CAPCAD_BATCH_BLOCK_GRID, if a row has fewer columns than the letter pointed at in X or Y, the run stops with an invalid-coordinate-columns message and, on the insert path, the form does not come back: it stays hidden until you run the command again. Rows already inserted stay in the drawing. CAPCAD_BATCH_DEVICE stops the same way, with its form shown again.
  • CAPCAD_BATCH_DEVICE's side field reads its first letter too. The side field opens on Detect, which is read as column D. When column D holds no side value, coordinate rows get their side from the geometry; to be sure, point the field at the column that really holds the side, or at an empty one.
  • CAPCAD_BATCH_SIGN's action list mixes words and letters. Because only the first character is read, choosing Keep points at column K, New at column N and Remove at column R. The word only works as a default when the row has fewer columns than that letter; otherwise the command reads that column. To fix an action safely, point at a column of your own carrying the action on every row.
  • Loose signs lose 90°. In the Loose method the command subtracts 90° from the angle on every row. In the Alignment method the angle comes from the alignment and the field is not read.
  • After one sign falls back to standalone, every later OK row carries the "inserted standalone" reason in the report, even the ones that went in normally over the alignment.
  • On the other CADs, CAPCAD_BATCH_BLOCK_GRID is a reduced version. BricsCAD, GstarCAD, ZWCAD and ARES Commander open the same form, but they do not reproduce the point and name carry-over between rows.
  • CAPCAD_BATCH_BLOCK's grid reuses existing definitions. If the drawing already has a block with the file's name, it is the drawing's definition that is inserted, not the file's. Run it in a new drawing when you want to see the folder's real contents.
  • Some texts stay in English or Portuguese. The Block insert report: window and the report headers of CAPCAD_BATCH_SIGN (LINE, STATUS, INFO, ID SIGN, ID POST, LINE DEFINITION) are English in every language; the action words of CAPCAD_BATCH_MARKING are Portuguese in every language.

See also