How-to guide · how to wblock selected objects to a new file
How to WBLOCK selected objects to a new file
By Sumana Kumar · Published 30 Jan 2022 · Updated 20 Sept 2025
Sometimes you do not want the whole drawing — you want just a part of it saved as its own file. Maybe it is a detail you will reuse, a symbol you want in your library, or a clean copy of one component to send to a colleague. WBLOCK (Write Block) is the command for exactly this: it writes selected objects, or a defined block, or the entire drawing, out to a brand-new DWG on disk.
WBLOCK is one of the most useful housekeeping commands in AutoCAD precisely because the new file is genuinely clean — it carries only the objects you chose plus the layers and styles they need, not the host drawing's accumulated clutter. This guide walks through writing a selection to a new file, setting the all-important base point, and the differences between exporting a selection, a block and the whole drawing. It is the natural way to harvest reusable symbols — a north arrow, a title block, a detail — into a tidy library.
Step 1 — Run the WBLOCK command
Type WBLOCK (or W) and press Enter. The Write Block dialog opens. At the top, the Source section asks what you want to write out, with three choices: Block (an existing block definition in the drawing), Entire drawing (everything), or Objects (a selection you make on the canvas). For writing out part of a drawing, choose Objects.
The dialog stays open while you make your choices, so you can read every option before committing. Nothing is written until you click OK at the bottom, so take your time with the base point and selection — they determine how usable the resulting file is.
Step 2 — Pick the objects to export
With Objects selected as the source, go to the Objects area of the dialog and click 'Select objects'. The dialog temporarily hides, you select the geometry you want on the canvas, and press Enter to return. The dialog shows how many objects you picked.
Beneath the selection button are three radio buttons that decide what happens to the originals: Retain keeps them in place, Convert to block replaces them in the current drawing with a block reference, and Delete from drawing removes them after writing. For harvesting a symbol into a library, Retain is usually right — you keep your drawing intact and get a separate file as well.
Step 3 — Set the base point
The base point is the single most important and most overlooked setting. It defines the insertion point of the new file — the spot that will land on your cursor when the DWG is later inserted into another drawing. Click 'Pick point' in the Base Point area and snap to a sensible reference: the corner of a detail, the centre of a symbol, the origin of a title block.
If you skip this, the base point defaults to 0,0,0, which is often far from the geometry and makes the block awkward to place later. A few seconds picking a meaningful base point is the difference between a block that inserts neatly under the cursor and one that floats off into space when someone reuses it.
Step 4 — Name the file and write it
In the Destination area, type a filename and choose a folder — ideally a dedicated library folder if you are building a reusable collection. Set the insert units to match your drawing (millimetres for a metric template) so the block scales correctly when inserted elsewhere; this writes the right INSUNITS value into the new file.
Click OK. AutoCAD writes the new DWG to disk containing only the objects you selected, the layers and styles they reference, and nothing else. Open the new file to confirm it holds exactly what you expected — it should be small, clean, and centred on the base point you picked.
WBLOCK source types compared
The three sources serve different needs. 'Objects' is for writing a freehand selection to a new file — the workflow above. 'Block' writes an existing block definition out to its own DWG, useful for extracting a block from one drawing to share or reuse. 'Entire drawing' writes everything, and it has a quiet superpower: writing the whole drawing through WBLOCK strips unused, unreferenced data, so it often produces a smaller, cleaner file than the original.
That last point makes WBLOCK a file-cleaning tool as well as an export tool. When a drawing has bloated with orphaned definitions that purge alone will not shift, wblocking the entire drawing to a fresh file can shed the dead weight in one move.
Building a clean block library with WBLOCK
WBLOCK is how professionals build reusable symbol libraries. Draw a symbol once — a north arrow, a section mark, a door — clean it up, then wblock it to a named DWG in a library folder with a deliberate base point and correct units. Repeat, and you accumulate a folder of single-purpose blocks that each insert cleanly.
Keep each library file lean: write out only the symbol and the layers it needs, audit and purge before wblocking, and name files predictably so you can find them. A well-built library of wblocked symbols inserts the same way every time and never drags a host drawing's clutter along with it — which is exactly why downloaded blocks built this way drop into your drawings so cleanly.
Free download
Browse the full library — DWG & DXF, no signup.
Questions
Frequently asked
What does the WBLOCK command do?+
WBLOCK writes objects out to a brand-new DWG file on disk. You can write a selection of objects, an existing block definition, or the entire drawing. The new file contains only the chosen content plus the layers and styles it needs, making it clean and reusable.
Why does setting the base point matter in WBLOCK?+
The base point becomes the new file's insertion point — the spot that lands on the cursor when the DWG is inserted elsewhere. Pick a meaningful point (a corner, a centre, an origin). If you leave it at the default 0,0,0, the block may float far from the cursor when reused.
What is the difference between WBLOCK and BLOCK?+
BLOCK creates a block definition inside the current drawing. WBLOCK writes content out to a separate DWG file on disk. Use BLOCK for blocks used within one drawing; use WBLOCK to export a symbol or detail as its own reusable file.
Can WBLOCK make my file smaller?+
Yes. Choosing 'Entire drawing' as the source writes a fresh DWG that drops unreferenced, orphaned data the original accumulated. When PURGE alone cannot shrink a bloated file, wblocking the whole drawing to a new file often clears the dead weight.
Related downloads
Blocks for this guide
Popular blocks to download
Related categories
Related guides
How-to guide
How to Create a Block in AutoCAD (BLOCK & WBLOCK)
Learn how to create a block in AutoCAD with the BLOCK and WBLOCK commands — pick a base point, choose objects, set units, and save a reusable DWG block library.
How-to guide
How to Convert DWG to DXF in AutoCAD
Convert a DWG to DXF in AutoCAD with SAVEAS — choose the right DXF version, set precision, and export clean geometry for laser cutters, CNC and other CAD apps.
How-to guide
How to Convert DXF to DWG (3 Ways)
Convert a DXF to DWG three ways — in AutoCAD with SAVEAS, free with the ODA File Converter, or in DraftSight. Pick the right DWG version and keep layers intact.
