draw.Drawing.insert
draw.Drawing: D = insert (D, NAME, POS)
draw.Drawing: D = insert (…, ROT, SCALE)
Place a defined block at a point.
D = insert (D, NAME, POS) places the block
NAME with its origin at POS. ROT rotates it, in
degrees counter-clockwise, and SCALE scales it; both default to
leaving it alone.
An insert is a reference, not a copy. Twenty-five identical bores are one definition and twenty-five references, which is what a draughtsman expects to receive and a fraction of the file that twenty-five copies would make.
The block must already be defined; inserting a name that is not raises, rather than leaving a reference that resolves to nothing when the file is opened.
See also: block, merge, transform
Source Code: draw.Drawing