# PLANESURF Command
[GstarCAD 2022](Help%20System/GSTARCAD/2022/Index.md) → [Commands](Help%20System/GSTARCAD/2022/Commands/(Commands).md) → [P](Help%20System/GSTARCAD/2022/Commands/P/(P).md)
## Function Description:
This command is used to create a planar surface by selecting closed objects or
by specifying the opposite corners of a rectangular surface. When the corners of
the surface are specified by the command, you can create a surface parallel to
the work plane. The SURFU and SURFV system variables control the number of lines
displayed on the surface.
## Command Access:
> **Icon:**
> 
> **Menu:** Draw \> Modeling \> Surfaces \> Planar
> **Ribbon:** Surface \> Create \> Plan
> **Toolbar:** Modeling \> Planar Surface
> **Command:** PLANESURF
> **Alias:** /
## Command Prompts:
Specify first corner or \[Object\]
\<Object\>:
## Specify first corner/other corner
Specifies a first and second point to define the
rectangular planar surface.
## Object
Creates a planar or trimmed surface by object selection.
You can select one closed object or multiple objects that form a closed area.
Valid objects include: lines, circles, arcs, ellipses,
elliptical arcs, 2D polylines, planar 3D polylines and 2D splines.
The DELOBJ system variable controls whether the objects
that you select are automatically deleted when the surface is created.