Documentation › Using PlateDesignTools

Operations

Every action PlateDesignTools can perform, what it expects as input, and what it produces.

How operations work

PlateDesignTools sits next to AutoCAD and drives it over COM. Most operations follow the same four-step pattern:

  1. Prepare the input — either select the objects in AutoCAD, or select a cell range in Excel (whichever the action needs).
  2. Click the action in the PlateDesignTools window.
  3. Answer any prompt in AutoCAD's command line — some actions ask for a size, "select objects", a Y/N, an angle, etc. Type the answer in AutoCAD, not in the PlateDesignTools window.
  4. Watch the status strip at the bottom — it shows progress (… N/M) and then the result (✓ …) or an error (✗ …).

Only one operation runs at a time; the other sections are disabled while one is in progress. Default sizes, layer names and Excel column aliases all come from the active settings profile.

Cancelling an operation

Click Cancel in the status strip — the operation stops at its next progress step. If it's waiting for you in AutoCAD (e.g. "Select objects:" or a value prompt), press ESC in AutoCAD; that's treated as a cancellation, not an error. Clicking Cancel a second time force-quits the operation as a last resort (this can leave the AutoCAD COM connection in an odd state — re-check with afterwards).

Hole conversion (circle ↔ rectangle)

In the Holes section, the buttons follow the pattern X → Y where X is what you pick (in AutoCAD or Excel).

Default rectangle width/height and the hole layer are configured under Settings → Holes and Settings → Layers. Pin-number labels can be added either at Excel-import time (see below) or implicitly when exporting with CAD → CSV.

Holes & objects from Excel

Excel data format

Select the data with the header row included. Header names are matched case-insensitively against the aliases in Settings → Excel columns (defaults shown below). Recognised columns:

Logical columnDefault header namesUsed for
x, yx / cx, y / cyposition (required)
rr / radiuscircle radius
w, hw / width, h / heightrectangle size
pin no.pin no. / nooptional pin-number label
layerlayer / loptional per-row layer

Provide either r (→ circles) or w + h (→ rectangles). Example (circles with pin numbers):

xyrpin no.
0.00.00.031
0.50.00.032

Clearance / minimum-spacing check (DRC)

Open the Clearance (DRC) section, select the objects to check in AutoCAD, enter the minimum clearance (in drawing units), and click Check. Every pair of objects closer than that distance is found; the violations are highlighted with polylines on the clearanceChecked layer (name configurable). The status strip reports the number of collisions.

Arcs, bulged polylines and circles are polygonised at the resolutions set in Settings → Clearance (DRC); that tab also has the highlight line width and the candidate-region tuning (expand factor, debug-DXF settings).

DUT array generation

Builds a grid ("mask") of DUT cells. In the DUT Array section, fill in:

Preview mask draws just the array outline so you can position it; Generate creates the full array. Tick Use Excel data to take each DUT's contents from a selected Excel range instead of the current AutoCAD selection — the range uses the same format as Excel → Holes (x, y + r for circles or w, h for rectangles, header row included); each row is one item, repeated in every DUT cell. Generated rectangles go on the DUT-mask layer (see Settings → Layers); defaults are in Settings → DUT Array.

µm ↔ mm conversion

Useful when a pad map arrives in µm but the drawing works in mm (or vice versa). Both positions and sizes are scaled; the operation is destructive — undo with AutoCAD's U command if needed.

Rotation about center

Rotate objects — pick polylines / rectangles; the command line asks for an angle (counter-clockwise, degrees). Each object is rotated about its own center, not about a shared pivot.

Pin numbering

A pin-number label is text placed at the hole's center, on the pin-number layer (Settings → Layers), with height = (hole size) × the ratio in Settings → Holes.

CAD → CSV (hole info export)

Hole info → CSV — pick holes (circles or closed polylines) in AutoCAD; their centers and sizes are written to a CSV (you choose the file). Columns are Pin No., x, y, r for circles or Pin No., x, y, w, h for rectangles. The pin-number column name and the CSV encoding are in Settings → Output.

The export coordinate transform from Settings → Output is applied first: scale → mirror → offset (sizes are only scaled). For example, set scale = 1000 to write µm from a mm drawing, or mirror x = true for a backside view. Defaults are identity (no change).

← All documentation   Next: Settings profiles →