Tips & Tricks

REDRAW vs REGEN: What’s the Difference and When Should You Use Each?

Learn the difference between REDRAW, REGEN, REDRAWALL and REGENALL and know which command to use when your CAD display looks wrong.

Level
Beginner
Best for
Display problems, large drawings and viewport refresh
Topic
Productivity

You are working in a drawing and suddenly the screen does not look quite right. Part of an erased object still appears, temporary graphics remain visible, a curve looks strange or zooming no longer behaves as expected. Should you use REDRAW or REGEN? Both commands refresh what you see, but they work at very different levels. Knowing the difference helps you fix display problems quickly without running a more expensive regeneration every time.

What is the difference between REDRAW and REGEN?

The simplest explanation is that REDRAW refreshes the screen, while REGEN rebuilds the drawing display from its underlying drawing data.

CommandWhat it doesBest use
REDRAWRefreshes the current viewport displayQuickly cleaning temporary display artefacts
REDRAWALLRefreshes all viewportsRefreshing several active viewports at once
REGENRegenerates the drawing in the current viewport and recalculates screen coordinatesMore complete display recalculation
REGENALLRegenerates the drawing in all viewportsLayouts or drawings with several viewports

A useful rule is: try REDRAW first for a simple screen refresh; use REGEN when the drawing itself needs to be recalculated for display.

What does REDRAW actually do?

REDRAW is the lighter and faster operation. It refreshes the display in the current viewport and can remove temporary graphics or visual remnants left by previous operations.

Command: REDRAW ↵

It does not rebuild all object display information from the drawing database. This makes it a good first choice when the problem appears to be purely visual.

For example, after several editing operations you may see temporary marks or a part of the screen that has not refreshed correctly. Running REDRAW tells GstarCAD to repaint the current viewport.

Tip

If the geometry itself is correct and you only want to refresh what is currently displayed, try REDRAW before using REGEN.

When should you use REDRAWALL?

REDRAWALL performs the same type of refresh but applies it to all active viewports rather than only the current one.

This is useful when working with multiple tiled viewports or layouts where several views need to be refreshed at the same time.

Command: REDRAWALL ↵

If only one viewport looks wrong, REDRAW is normally enough. If several views show the same display issue, REDRAWALL is the more convenient choice.

What makes REGEN different?

REGEN performs a deeper operation. GstarCAD stores drawing entities using precise numerical data, but those entities must be converted into screen coordinates before they can be displayed.

When you run REGEN, GstarCAD regenerates the drawing for the current viewport, recalculates the screen coordinates of the objects and rebuilds information used for efficient display and object selection.

Command: REGEN ↵

This is why regeneration can take longer than a simple redraw, especially in very large drawings.

When is REGEN the better choice?

Use REGEN when a simple refresh is not enough. Typical situations include:

  • the display still looks incorrect after REDRAW,
  • you have zoomed or panned extensively and the view needs recalculation,
  • curves or other geometry are not being displayed as expected,
  • the current viewport needs a complete display rebuild,
  • zoom behaviour has reached a display limit and regeneration is required before continuing.

Because REGEN recalculates more information, it is better viewed as a drawing-display rebuild rather than just a screen refresh.

Watch out

REGEN is not a drawing repair command. If the DWG contains database errors or damaged objects, use tools such as AUDIT. REGEN recalculates how valid drawing data is displayed; it does not repair corrupted drawing content.

What does REGENALL do?

REGENALL applies regeneration to all viewports. This is particularly useful in drawings containing multiple model-space views or layouts where several viewports need to be recalculated.

Command: REGENALL ↵

Because it processes more than one viewport, it may take noticeably longer than REGEN in a complex drawing. There is little reason to regenerate every viewport if the problem exists only in the active one.

What is REGENAUTO?

Normally GstarCAD performs required regenerations automatically. REGENAUTO controls this behaviour.

When automatic regeneration is enabled, GstarCAD can regenerate the drawing whenever an operation requires it. If automatic regeneration is disabled, required regeneration may be postponed until you manually run REGEN or REGENALL.

For most users, leaving automatic regeneration enabled is the most convenient choice. Manual REGEN remains useful when you specifically want to force a recalculation.

Practical example: the drawing looks wrong after editing

Suppose you are working on a large architectural floor plan. After deleting and moving several objects, part of the screen appears to contain leftover graphics.

First run REDRAW. If the problem was simply a temporary display artefact, the viewport refreshes immediately and you can continue working.

If the display still appears incorrect, run REGEN. GstarCAD then recalculates the drawing display from the underlying object data instead of simply repainting the current screen.

If the project contains several viewports and all of them require the same treatment, use REDRAWALL or REGENALL depending on whether you need a simple refresh or complete regeneration.

Which command should you use?

Think of the commands as two levels of refresh. Use REDRAW when your thought is: “Just refresh what I see.” Use REGEN when it is: “Recalculate how this drawing should be displayed.”

The same distinction applies to their ALL versions: REDRAWALL refreshes all viewports, while REGENALL regenerates all of them.

The practical workflow is simple: REDRAW first for minor visual problems, REGEN when a deeper recalculation is required, and use the ALL versions only when multiple viewports need the same operation.

All tips Updated 6 October 2026
Continue learning
View all tips

Ready to switch to GstarCAD?

Get personalized advice on licensing, migration, and deployment for your business.

Contact us Buy now

No obligation — reply within 24h

Your Cart

Subtotal

Price does not include local taxes or duties.

Proceed to Checkout

Cookie preferences

Choose which cookies you want to allow. Essential and payment cookies cannot be disabled as they are required for the site to function.

Essential

Required

Core functionality including authentication, shopping cart, and language preferences.

Payment

Required

Required for processing payments securely through Stripe and PayPal.

Analytics

Help us understand how visitors interact with our site to improve the experience.

Marketing

Used to deliver relevant advertisements and measure campaign performance.

Functional

Order attribution and traffic source tracking to help us understand how customers find our store.