A3 Sheet With Title Block
An A3 drawing sheet with zone references, a title block block filled through attributes, a revision table and a clouded, tagged change.
The frame has column numbers and row letters for grid references and centring marks on every side. The title block is drawn once with seven attribute definitions, made into the block TITLE-A3 and inserted with its values; a table lists revisions A to C, and the latest change is marked with a revision cloud and a triangle tag.
Steps
116 commandssteps:
- {"command": "grid", "params": {"on": false}}
- {"command": "lwdisplay", "params": {"on": true}}
- {"command": "limits", "params": {"min": [0, 0], "max": [420, 297]}}
- {"command": "layer.new", "params": {"name": "Frame", "color": "7", "lineweight": "0.70"}}
- {"command": "layer.new", "params": {"name": "Zones", "color": "7", "lineweight": "0.25"}}
- {"command": "layer.new", "params": {"name": "Title", "color": "7", "lineweight": "0.35"}}
- {"command": "layer.new", "params": {"name": "Text", "color": "7"}}
- {"command": "layer.new", "params": {"name": "Revisions", "color": "1"}}
- {"command": "tablestyle", "params": {"name": "Revisions", "textHeight": 2.5, "margin": 1, "current": true}}
- {"command": "layer.current", "params": {"name": "Zones"}}
- {"command": "rectang", "params": {"p1": [10, 10], "p2": [410, 287]}}
- {"command": "layer.current", "params": {"name": "Frame"}}
- {"command": "rectang", "params": {"p1": [20, 15], "p2": [405, 282]}}
- {"command": "layer.current", "params": {"name": "Zones"}}
- {"command": "line", "params": {"points": [[68.125, 10], [68.125, 15]]}}
- {"command": "line", "params": {"points": [[68.125, 282], [68.125, 287]]}}
- {"command": "line", "params": {"points": [[116.25, 10], [116.25, 15]]}}
- {"command": "line", "params": {"points": [[116.25, 282], [116.25, 287]]}}
- {"command": "line", "params": {"points": [[164.375, 10], [164.375, 15]]}}
- {"command": "line", "params": {"points": [[164.375, 282], [164.375, 287]]}}
- {"command": "line", "params": {"points": [[212.5, 10], [212.5, 15]]}}
- {"command": "line", "params": {"points": [[212.5, 282], [212.5, 287]]}}
- {"command": "line", "params": {"points": [[260.625, 10], [260.625, 15]]}}
- {"command": "line", "params": {"points": [[260.625, 282], [260.625, 287]]}}
- {"command": "line", "params": {"points": [[308.75, 10], [308.75, 15]]}}
- {"command": "line", "params": {"points": [[308.75, 282], [308.75, 287]]}}
- {"command": "line", "params": {"points": [[356.875, 10], [356.875, 15]]}}
- {"command": "line", "params": {"points": [[356.875, 282], [356.875, 287]]}}
- {"command": "text", "params": {"at": [44.0625, 12.5], "text": "1", "height": 3, "justify": "MC"}}
- {"command": "text", "params": {"at": [44.0625, 284.5], "text": "1", "height": 3, "justify": "MC"}}
- {"command": "text", "params": {"at": [92.1875, 12.5], "text": "2", "height": 3, "justify": "MC"}}
- {"command": "text", "params": {"at": [92.1875, 284.5], "text": "2", "height": 3, "justify": "MC"}}
- {"command": "text", "params": {"at": [140.3125, 12.5], "text": "3", "height": 3, "justify": "MC"}}
- {"command": "text", "params": {"at": [140.3125, 284.5], "text": "3", "height": 3, "justify": "MC"}}
- {"command": "text", "params": {"at": [188.4375, 12.5], "text": "4", "height": 3, "justify": "MC"}}
- {"command": "text", "params": {"at": [188.4375, 284.5], "text": "4", "height": 3, "justify": "MC"}}
- {"command": "text", "params": {"at": [236.5625, 12.5], "text": "5", "height": 3, "justify": "MC"}}
- {"command": "text", "params": {"at": [236.5625, 284.5], "text": "5", "height": 3, "justify": "MC"}}
- {"command": "text", "params": {"at": [284.6875, 12.5], "text": "6", "height": 3, "justify": "MC"}}
- {"command": "text", "params": {"at": [284.6875, 284.5], "text": "6", "height": 3, "justify": "MC"}}
- {"command": "text", "params": {"at": [332.8125, 12.5], "text": "7", "height": 3, "justify": "MC"}}
- {"command": "text", "params": {"at": [332.8125, 284.5], "text": "7", "height": 3, "justify": "MC"}}
- {"command": "text", "params": {"at": [380.9375, 12.5], "text": "8", "height": 3, "justify": "MC"}}
- {"command": "text", "params": {"at": [380.9375, 284.5], "text": "8", "height": 3, "justify": "MC"}}
- {"command": "line", "params": {"points": [[10, 59.5], [20, 59.5]]}}
- {"command": "line", "params": {"points": [[405, 59.5], [410, 59.5]]}}
- {"command": "line", "params": {"points": [[10, 104.0], [20, 104.0]]}}
- {"command": "line", "params": {"points": [[405, 104.0], [410, 104.0]]}}
- {"command": "line", "params": {"points": [[10, 148.5], [20, 148.5]]}}
- {"command": "line", "params": {"points": [[405, 148.5], [410, 148.5]]}}
- {"command": "line", "params": {"points": [[10, 193.0], [20, 193.0]]}}
- {"command": "line", "params": {"points": [[405, 193.0], [410, 193.0]]}}
- {"command": "line", "params": {"points": [[10, 237.5], [20, 237.5]]}}
- {"command": "line", "params": {"points": [[405, 237.5], [410, 237.5]]}}
- {"command": "text", "params": {"at": [15, 37.25], "text": "F", "height": 3, "justify": "MC"}}
- {"command": "text", "params": {"at": [407.5, 37.25], "text": "F", "height": 3, "justify": "MC"}}
- {"command": "text", "params": {"at": [15, 81.75], "text": "E", "height": 3, "justify": "MC"}}
- {"command": "text", "params": {"at": [407.5, 81.75], "text": "E", "height": 3, "justify": "MC"}}
- {"command": "text", "params": {"at": [15, 126.25], "text": "D", "height": 3, "justify": "MC"}}
- {"command": "text", "params": {"at": [407.5, 126.25], "text": "D", "height": 3, "justify": "MC"}}
- {"command": "text", "params": {"at": [15, 170.75], "text": "C", "height": 3, "justify": "MC"}}
- {"command": "text", "params": {"at": [407.5, 170.75], "text": "C", "height": 3, "justify": "MC"}}
- {"command": "text", "params": {"at": [15, 215.25], "text": "B", "height": 3, "justify": "MC"}}
- {"command": "text", "params": {"at": [407.5, 215.25], "text": "B", "height": 3, "justify": "MC"}}
- {"command": "text", "params": {"at": [15, 259.75], "text": "A", "height": 3, "justify": "MC"}}
- {"command": "text", "params": {"at": [407.5, 259.75], "text": "A", "height": 3, "justify": "MC"}}
- {"command": "layer.current", "params": {"name": "Frame"}}
- {"command": "line", "params": {"points": [[212.5, 10], [212.5, 20]]}}
- {"command": "line", "params": {"points": [[212.5, 277], [212.5, 287]]}}
- {"command": "line", "params": {"points": [[10, 148.5], [25, 148.5]]}}
- {"command": "line", "params": {"points": [[400, 148.5], [410, 148.5]]}}
- {"command": "layer.current", "params": {"name": "Title"}}
- {"command": "rectang", "params": {"p1": [0, 0], "p2": [180, 50]}, "as": "tb0"}
- {"command": "line", "params": {"points": [[0, 36], [180, 36]]}, "as": "tb1"}
- {"command": "line", "params": {"points": [[0, 24], [180, 24]]}, "as": "tb2"}
- {"command": "line", "params": {"points": [[0, 12], [180, 12]]}, "as": "tb3"}
- {"command": "line", "params": {"points": [[110, 0], [110, 24]]}, "as": "tb4"}
- {"command": "line", "params": {"points": [[145, 0], [145, 12]]}, "as": "tb5"}
- {"command": "line", "params": {"points": [[110, 12], [180, 12]]}, "as": "tb6"}
- {"command": "text", "params": {"at": [2, 46.5], "text": "PROJECT", "height": 2}, "as": "tb7"}
- {"command": "text", "params": {"at": [2, 33], "text": "TITLE", "height": 2}, "as": "tb8"}
- {"command": "text", "params": {"at": [2, 21], "text": "CLIENT", "height": 2}, "as": "tb9"}
- {"command": "text", "params": {"at": [2, 9], "text": "DRAWN", "height": 2}, "as": "tb10"}
- {"command": "text", "params": {"at": [112, 21], "text": "DRAWING No.", "height": 2}, "as": "tb11"}
- {"command": "text", "params": {"at": [112, 9], "text": "SCALE", "height": 2}, "as": "tb12"}
- {"command": "text", "params": {"at": [147, 9], "text": "REV", "height": 2}, "as": "tb13"}
- {"command": "attdef", "params": {"tag": "PROJECT", "prompt": "Project", "default": "-", "at": [22, 40], "height": 5}, "as": "at0"}
- {"command": "attdef", "params": {"tag": "TITLE", "prompt": "Drawing title", "default": "-", "at": [22, 27.5], "height": 5}, "as": "at1"}
- {"command": "attdef", "params": {"tag": "CLIENT", "prompt": "Client", "default": "-", "at": [22, 15.5], "height": 3.5}, "as": "at2"}
- {"command": "attdef", "params": {"tag": "DRAWN", "prompt": "Drawn by", "default": "-", "at": [22, 3.5], "height": 3.5}, "as": "at3"}
- {"command": "attdef", "params": {"tag": "DWGNO", "prompt": "Drawing number", "default": "-", "at": [112, 14.5], "height": 4}, "as": "at4"}
- {"command": "attdef", "params": {"tag": "SCALE", "prompt": "Scale", "default": "-", "at": [112, 2.5], "height": 4}, "as": "at5"}
- {"command": "attdef", "params": {"tag": "REV", "prompt": "Revision", "default": "-", "at": [160, 2.5], "height": 5}, "as": "at6"}
- {"command": "block", "params": {"name": "TITLE-A3", "base": [180, 0], "handles": ["$tb0.handle", "$tb1.handles.0", "$tb2.handles.0", "$tb3.handles.0", "$tb4.handles.0", "$tb5.handles.0", "$tb6.handles.0", "$tb7.handle", "$tb8.handle", "$tb9.handle", "$tb10.handle", "$tb11.handle", "$tb12.handle", "$tb13.handle", "$at0.handle", "$at1.handle", "$at2.handle", "$at3.handle", "$at4.handle", "$at5.handle", "$at6.handle"], "keep": "delete", "description": "A3 title block"}, "as": "blk"}
- {"command": "insert", "params": {"name": "TITLE-A3", "at": [405, 15], "attribs": {"PROJECT": "Harbour Library Extension", "TITLE": "Ground floor plan", "CLIENT": "City of Northport", "DRAWN": "R. Okafor", "DWGNO": "HLX-A-101", "SCALE": "1:100", "REV": "C"}}, "as": "tbref"}
- {"command": "layer.current", "params": {"name": "Revisions"}}
- {"command": "table", "params": {"at": [225, 96], "cols": 4, "rows": 3, "colWidth": 45, "rowHeight": 6, "header": ["REV", "DATE", "DESCRIPTION", "BY"], "cells": [["A", "2026-09-14", "First issue", "RO"], ["B", "2026-10-02", "Stair core moved", "RO"], ["C", "2026-11-06", "Fire exit added", "JL"]]}, "as": "revtable"}
- {"command": "revcloud", "params": {"p1": [120, 150], "p2": [200, 210], "arcLength": 8}, "as": "cloud"}
- {"command": "pline", "params": {"points": [[205, 215], [213, 215], [209, 222]], "closed": true}, "as": "tri"}
- {"command": "text", "params": {"at": [209, 217], "text": "C", "height": 3, "justify": "MC"}}
- {"command": "layer.current", "params": {"name": "Title"}}
- {"command": "line", "params": {"points": [[60, 185], [150, 185]]}}
- {"command": "line", "params": {"points": [[60, 180], [150, 180]]}}
- {"command": "line", "params": {"points": [[162, 185], [260, 185]]}}
- {"command": "line", "params": {"points": [[162, 180], [260, 180]]}}
- {"command": "line", "params": {"points": [[150, 180], [150, 185]]}}
- {"command": "line", "params": {"points": [[162, 180], [162, 185]]}}
- {"command": "line", "params": {"points": [[150, 180], [150, 168]]}}
- {"command": "arc", "params": {"center": [150, 180], "radius": 12, "start": 270, "end": 360}}
- {"command": "layer.current", "params": {"name": "Text"}}
- {"command": "text", "params": {"at": [160, 160], "text": "NEW FIRE EXIT", "height": 3, "justify": "MC"}}
- {"command": "text", "params": {"at": [30, 268], "text": "GENERAL NOTES", "height": 3.5}}
- {"command": "text", "params": {"at": [30, 261], "text": "1. Do not scale from this drawing.", "height": 2.5}}
- {"command": "text", "params": {"at": [30, 256], "text": "2. All dimensions are in millimetres unless noted.", "height": 2.5}}
- {"command": "text", "params": {"at": [30, 251], "text": "3. Revision C changes are clouded and tagged.", "height": 2.5}}
- {"command": "drawing.inspect", "params": {}, "as": "di"}Checks
5 checks on every buildinspect.layers= {"any":{"name":"Revisions"}}results.di.blocks= ["TITLE-A3"]results.di.counts= {"Block Reference":1,"Table":1}- Diagnostics: none, the kit's own check finds nothing wrong
- The saved document opens again, and its thumbnail matches
thumb.pngwithin the render tolerance
Related
More CAD samplesDimensioned Mounting Plate
One plate dimensioned seven ways - ordinate, baseline, aligned, angular, radius, diameter and linear - with centre marks and multileader notes.
Garden House Site Plan
A 1:200 site plan with the plot boundary, a hatched house, drive and terrace, trees drawn as revision clouds, contours, a lawn, north arrow and scale bar.
House Lighting Circuit Diagram
A single-line diagram of a house's lighting and socket circuits, drawn from four symbol blocks with attribute labels.
Spur Gear Profile
An involute spur gear, module 4 with 24 teeth, drawn as one closed polyline with a keyed bore, pitch circle and a gear data table.