GstarCAD command

PDFCLIP command

Crop the visible area of a PDF underlay using a rectangular, polygonal or polyline clipping boundary without modifying the original PDF.

Command
PDFCLIP
Alias
—
Tool group
Insert
Level
Beginner

What does PDFCLIP do?

PDFCLIP crops the visible portion of a PDF underlay using a specified boundary. Content outside the clipping area is hidden without modifying or deleting anything from the original PDF file.

The command is useful when an attached PDF contains a large drawing but you only need to display one detail, floor-plan area or other selected portion inside the GstarCAD drawing.

How to use the command

  1. Attach the required PDF using PDFATTACH.
  2. Type PDFCLIP, then press Enter.
  3. Select the PDF underlay that you want to clip.
  4. Choose New boundary.
  5. Select a rectangular, polygonal or suitable polyline boundary.
  6. Specify the required boundary points to complete the clipping area.
Command: PDFCLIP ↵
Select PDF to clip: select PDF underlay
Enter PDF clipping option [ON/OFF/Delete/New boundary] <New boundary>: New boundary
Enter clipping type [Polygonal/Rectangular]: Rectangular
Specify first corner: pick first corner
Specify opposite corner: pick opposite corner

Key PDFCLIP options

The clipping options let you create, disable, restore or remove the boundary applied to the PDF underlay.

ON
Activates an existing clipping boundary and displays only the clipped portion of the PDF.
OFF
Temporarily disables clipping and displays the complete PDF underlay without deleting the saved boundary.
Delete
Removes the existing clipping boundary and restores the complete PDF underlay.
New boundary
Creates a new clipping boundary for the selected PDF underlay.
Rectangular
Creates a rectangular clipping area using two opposite corner points.
Polygonal
Creates an irregular clipping boundary using three or more specified vertices.
Select polyline
Uses suitable existing polyline geometry as the clipping boundary.
Invert clip
Reverses which side of the boundary is hidden, allowing the inside or outside area to be clipped.

Practical example: display one detail from a PDF plan

Suppose an attached PDF contains an entire building plan, but your drawing only requires one room measuring approximately 6000 × 4500 mm.

Run PDFCLIP, select the PDF and create a Rectangular boundary around the required room. GstarCAD hides the rest of the PDF while leaving the selected area visible. Use OFF whenever you temporarily need to see the complete PDF again.

Tip

Clipping does not modify the source PDF. You can disable or delete the boundary at any time. The more general CLIP command can also clip PDF and DGN underlays, images, external references, blocks and viewports.

All commands Updated 20 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.