GstarCAD command

FLATTEN command

Convert 3D geometry to a 2D representation and reset the elevation and thickness of selected objects to zero.

Command
FLATTEN
Alias
—
Tool group
Modify
Level
Beginner

What does FLATTEN do?

FLATTEN converts selected 3D geometry into a 2D representation. It can also be used to correct drawing objects that have unwanted Z coordinates by forcing their elevation and thickness values to 0.

The command is particularly useful for drawings imported from other applications or files where lines, arcs and polylines appear to be 2D but actually lie at different elevations.

How to use the command

  1. Set the drawing to the required view before flattening the geometry.
  2. Type FLATTEN, then press Enter.
  3. Select the objects that you want to convert to 2D.
  4. Press Enter to complete the selection.
  5. GstarCAD creates the flattened representation and sets the relevant elevation and thickness values to 0.
Command: FLATTEN ↵
Select objects to convert to 2d...
Select object: select objects ↵

Key FLATTEN results

FLATTEN is a straightforward Express Tool whose main purpose is to remove unwanted depth from selected drawing geometry.

2D representation
Converts selected 3D geometry into a flattened 2D representation.
Zero elevation
Forces the elevation of applicable selected objects to 0.
Zero thickness
Removes non-zero thickness from applicable objects so the resulting geometry lies flat.
Selected objects
Applies the conversion only to the geometry included in the selection set.

Practical example: correct lines with different elevations

Suppose an imported floor plan contains lines and polylines that should all lie on the same 2D plane, but some objects have Z coordinates of 15, -5 or 30 mm. This can make object snaps and normal 2D editing more difficult.

Run FLATTEN, select the affected geometry and complete the command. GstarCAD converts the selected objects to a 2D representation and resets their elevation and thickness to 0, placing the geometry on a common flat plane.

Tip

Use FLATTEN to repair unwanted Z values in a 2D drawing. Use FLATSHOT instead when you want to create a separate 2D projected view of a 3D model.

All commands Updated 12 October 2026
Continue learning
View all commands

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.