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

AutoCAD Alias Editor

AutoCAD Alias EditorIf you're new to AutoCAD or even if you're not and you find it difficult to remember all the keyboard shortcuts to your favourite commands like L for Line and C for Circle or even 3DO for 3DOrbit, then you need to know about the AutoCAD Alias Editor.

Enter ALIASEDIT at the command line and AutoCAD will launch a tiny application window that lists all the shortcuts in alphabetical order. As this is a seperate application, you can keep it minimised on your taskbar until you need it for reference.

Essentially, this editor simply lists the contents of the acad.pgp file where all the command aliases are stored. Those of you who are a bit more adventurous, may even like to use the Alias Editor to create your own aliases or edit existing ones.

Today's tip is by Starkey

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.