CADTutor

Learn AutoCAD with our Free Tutorials

Welcome to CADTutor

CADTutor provides the best free tutorials and articles for AutoCAD, 3ds Max and associated applications along with a friendly community forum. If you need to learn AutoCAD, or you want to be more productive, you're in the right place. See our tip of the day to start learning right now!

Free Tutorials and More…

The Tutorials section provides over 100 original tutorials for AutoCAD, 3ds Max and other design applications. Michael’s Corner is an archive of productivity articles that brings you the best AutoCAD tips and tricks. Our Forum is a lively community where AutoCAD users can ask questions and get answers. The Downloads area provides free AutoCAD blocks, free AutoLISP routines and free images.

Tutorials of the Moment

Recently viewed tutorials

CADTutor Tutorials

Our tutorials are comprehensive but straightforward introductions to AutoCAD and related software. They are designed to help beginners get to grips with design workflows as quickly as possible. There are over 100 to choose from, some text/image based and others in video format. Whatever stage you are at in your learning, you should find a tutorial to help.

Forum Latest

Currently Active Topics

This Week's Hot Topics

CADTutor Forums

Our forum is a vibrant community of experts and beginners. The main focus is helping beginners get to grips with AutoCAD and to help more advanced users become more productive. The AutoLISP forum is one of the busiest out there, providing expert advice for busy professionals.

AutoCAD Productivity

“Best of” Basics: Irregular Viewport

by Michael Beall

From: AutoCAD Productivity Articles #145
Originally published: April 2016

When you need a viewport shape other than a rectangle, the first order of business is to be able to view the objects in Model Space at the desired scale. From there, you can create a polyline to essentially ‘crop’ the objects in Model space, then turn it into a viewport.

Setting the scaleThe best drawing for testing this is in the path

C:\Program Files\Autodesk\AutoCAD 20xx\Sample\Database Connectivity

If you have AutoCAD 2014 or prior, the drawing name is db_samp.DWG

If you have AutoCAD 2015 or later, the drawing name is Floor Plan Sample.DWG

Sample drawing with polyline

How to Create an Irregular Shaped Viewport

  1. Right-click on a layout tab and make a new layout with a large viewport.

  2. Double-click in the viewport, then set the desired scale from the scale list on the Status bar. You may want to start with 1/64″ = 1′-0″ so you can see all of it.

  3. Return to Paper space and create any closed polyline, spline or circle to be the viewport.

    Note: If you are creating a Polyline, you must use the Close option if it is to be converted into a viewport. If you did not use the Close option, use Pedit and select the polyline, then use the Close option.

    In this illustration, I created a polyline around the perimeter of the floorplan. (Ideally, this would be on a dedicated layer on which you typically create your viewports).

  4. ClipOn the Layout tab, click Clip.

  5. When prompted to select the ‘viewport to clip’, select the rectangular viewport.

  6. When prompted to select the ‘clipping object’, select the polyline (or whatever object you created in Step 3, above).

Sample drawing with irregular viewport

AutoCAD will convert the polyline into a viewport and erase the original rectangular viewport!

See all the articles published in April 2016

Michael's Corner

Between 2003 and 2016, Michael Beall (and one or two guests) wrote almost 600 articles for CADTutor. The focus of these articles is AutoCAD productivity, and although some of them are now more than a few years old, most remain relevant to current versions of AutoCAD. The article above is just one example. Check out Michael's Corner for a full listing.

Tip of the Day

Shift for fillet radius zero

Do you get fed up having to set your Fillet alternately to a radius value and then to 0 to get a right angle?

You don't have to! Just fillet your lines while holding down Shift and the current default fillet radius value will be ignored.

Today's tip is by dbroada

Missed a Tip?

Did you miss yesterday's tip? Maybe you forgot to drop by or maybe you don't visit over the weekend. If so, you can now see all the tips published during the past week. Also, if you have a tip you'd like to share with us, you can post it on our forum and if we like it, we'll publish it here.