Commands

ALIGNSPACE command in AutoCAD : Adjusts the pan and zoom factor of a view in a layout viewport based on the alignment points specified in model space and paper space

If you need to precisely position, pan, or zoom a layout viewport so that features from Model space line up with locations on your paper layout, the ALIGNSPACE command in AutoCAD is designed for that task. This guide explains what ALIGNSPACE does, gives a clear step‑by‑step workflow, shows alternatives, lists common problems and fixes, and offers practical tips for reliable results.


What is the ALIGNSPACE command?

ALIGNSPACE is an AutoCAD command that adjusts the pan and zoom of a layout viewport so that points in model space map to specified points in paper space. In practice you use it when you want a viewport’s view (position and scale) to place specific model features at exact locations on your sheet (for example to align a building corner with a frame or match two viewports across sheets).

Key points:

  • It works in a layout with one or more viewports.
  • It changes the viewport view center and zoom/scale — not the objects themselves.
  • It is most useful for precise placement using corresponding pairs of points.

How to use alignspace (step by step)

Note: If the command isn’t recognized, see the troubleshooting section below.

  1. Open the layout (paper space) that contains the viewport you want to adjust.
  2. Unlock the viewport if it is locked:
    • Right‑click the viewport border → Display Locked → No (or use Properties and set DisplayLocked = No).
  3. Start the command:
    • Type ALIGNSPACE at the command line and press Enter.
    • (If you prefer an alias, you can create one in acad.pgp, e.g., ASPACE → ALIGNSPACE.)
  4. Select the viewport to adjust:
    • Click the viewport boundary (don’t double‑click to enter model space — only select the viewport object).
  5. Specify the number of point pairs:
    • The command will prompt for one or more point pairs (usually 2 points is typical: establishes translation and scale; 3 points can also control rotation).
  6. For each point pair:
    • First pick the point in model space (use object snaps by hovering over the viewport and clicking the feature inside the viewport).
    • Then pick the corresponding point in paper space (click the paper space location on the layout where you want that model point to land).
  7. After specifying the required point pairs, press Enter. The viewport will be panned/zoomed so the model points map to the chosen paper‑space locations.
  8. If needed, repeat or fine‑tune:
    • If the result isn’t exact, undo (Ctrl+Z), and try again with more accurate picks (use OSNAP and zoom in when selecting points).
Read Also:  3DEDITBAR command in AutoCAD : Reshapes splines and NURBS surfaces, including their tangency properties

Example use case:

  • You want the centerline of a building to line up with a center mark on the title block. Select the viewport, pick a model-space point on the centerline, then pick the matching paper-space point on the title block. Repeat with a second point to control scale.

Common reasons ALIGNSPACE doesn’t work — and fixes

  • Command not found
    • Fix: AutoCAD LT does not include Express Tools; if ALIGNSPACE is part of Express Tools or a specific add-on, it will not be available in LT. In full AutoCAD, ensure your Express Tools are installed or check the Command alias. If necessary, search the Help for your AutoCAD version or load required support files.
  • Viewport is locked
    • Symptom: Selection appears to work but viewport does not change.
    • Fix: Unlock the viewport (right‑click → Display Locked → No).
  • Selected the wrong object (entered model space instead of selecting viewport)
    • Fix: Make sure you select the viewport boundary in paper space (do not double‑click to activate it).
  • Poor point selection (inaccurate snaps)
    • Symptom: View moves but not to the desired locations.
    • Fix: Turn on OSNAP, zoom in and pick exact points, or enter exact coordinates.
  • Annotation/Annotative scale issues
    • Symptom: Text or dimensions appear wrong after alignment.
    • Fix: Annotative objects scale with viewport scale. Ensure the viewport scale matches required annotation scale or use annotative settings appropriately.
  • UCS or rotation differences
    • Symptom: View rotates unexpectedly or points don’t align as expected.
    • Fix: Check the viewport’s UCS. If the viewport uses a rotated UCS, make sure your point picks account for rotation or reset the UCS.
  • Non‑visible layers or frozen layers
    • Symptom: Needed features are not selectable inside the viewport.
    • Fix: Turn on/thaw layers that contain alignment geometry.
  • Changes not visible until regen
    • Fix: Run REGEN or REGENALL after alignment.
Read Also:  AUTOCONSTRAIN command in AutoCAD : Applies geometric constraints to a selection set of objects based on orientation of the objects relative to one another

Alternative methods to align viewports

If ALIGNSPACE is not available or does not fit your workflow, try one of these alternatives:

  • named views
    • Create a named view in model space (VIEW → Named Views). In the layout, restore that named view into a viewport to get consistent placement/scale across sheets.
  • Manual Pan + Zoom
    • Double-click into the viewport, use ZOOM and PAN with object snaps and coordinate entry. Then lock the viewport.
  • Set viewport scale numerically
    • Use the viewport scale list or the Properties palette (Standard scales) to set exact scale, then pan to place features.
  • MVSETUP / MVIEW / VPORTS
    • Create matched viewports with the same scale and then use pan/zoom to align contents.
  • Align (object alignment)
    • The standard ALIGN command moves and rotates model objects, not viewports — use when you need to reposition model objects rather than views.
  • Custom LISP or scripts
    • Many offices use simple LISP routines to copy view center coordinates between viewports or to automate alignment. Consider a script if you repeat the same alignment frequently.

Practical tips and best practices

  • Always unlock the viewport before changing it and lock it again after confirming placement to avoid accidental shifts.
  • Use at least two separated points for better accuracy; a third point can control rotation.
  • Use object snaps (OSNAP) and temporary tracking to pick exact reference points.
  • For repeated alignments across drawings, create named views in model space and apply them to viewports.
  • If you need consistent annotation appearance, set the viewport scale to an exact value and use annotative text/objects.
  • Use REGENALL if view changes don’t display correctly.
  • For automated sheet setup, consider saving or exporting a viewport layout template (.dwt) or using sheet set Manager.
Read Also:  ATTIPEDIT command in AutoCAD : Changes the textual content of an attribute within a block

FAQ

Is ALIGNSPACE available in AutoCAD LT?

No. AutoCAD LT does not include many Express Tool commands and add‑ons. If ALIGNSPACE is part of an Express Tool or a third‑party utility, it will not be available in LT. Use manual pan/zoom, named views, or upgrade to full AutoCAD.

What should I do if ALIGNSPACE returns “Unknown command”?

Check whether the command belongs to Express Tools or a specific AutoCAD vertical. Confirm Express Tools are installed for your AutoCAD version. If you’re using LT, the command is likely unavailable. You can also search the Help for your AutoCAD release to confirm command availability.

Can I align multiple viewports at once?

ALIGNSPACE typically adjusts one viewport at a time. To align multiple viewports, repeat the process for each viewport, or use named views and restore the same named view to multiple viewports for consistent results.

Will ALIGNSPACE change my model geometry?

No. ALIGNSPACE only changes the viewport’s pan/zoom (view), not the model objects themselves.

My annotative text looks wrong after alignment — why?

Annotative objects are scaled by the viewport’s annotation scale. Ensure the viewport scale matches the annotation scale, or adjust annotative properties so they display correctly at the chosen scale.

How do I create a shortcut or alias for ALIGNSPACE?

Open your acad.pgp (command aliases) file and add a line such as:
ASPACE, *ALIGNSPACE
Save and reload the profile (or restart AutoCAD). This creates a quick alias ASPACE for the command.

Does ALIGNSPACE change viewport rotation?

If you supply three point pairs, you can control rotation as well as translation and scale. Use a third point to define rotation if needed.